Newton cradle (#22914)
* comit * comit2 * little more range * review --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -88,6 +88,11 @@
|
|||||||
copyright: "User Hanbaal on freesound.org. Converted to ogg by TheShuEd"
|
copyright: "User Hanbaal on freesound.org. Converted to ogg by TheShuEd"
|
||||||
source: "https://freesound.org/people/Hanbaal/sounds/178669/"
|
source: "https://freesound.org/people/Hanbaal/sounds/178669/"
|
||||||
|
|
||||||
|
- files: ["newton_cradle.ogg"]
|
||||||
|
license: "CC-BY-4.0"
|
||||||
|
copyright: "User LoafDV on freesound.org. Converted to ogg end edited by lzk228"
|
||||||
|
source: "https://freesound.org/people/LoafDV/sounds/131596/"
|
||||||
|
|
||||||
- files: ["shovel_dig.ogg"]
|
- files: ["shovel_dig.ogg"]
|
||||||
license: "CC-BY-SA-3.0"
|
license: "CC-BY-SA-3.0"
|
||||||
copyright: "Taken from tgstation, modified by themias (github) for ss14"
|
copyright: "Taken from tgstation, modified by themias (github) for ss14"
|
||||||
|
|||||||
BIN
Resources/Audio/Items/newton_cradle.ogg
Normal file
BIN
Resources/Audio/Items/newton_cradle.ogg
Normal file
Binary file not shown.
@@ -1211,3 +1211,32 @@
|
|||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
soundHit:
|
soundHit:
|
||||||
path: /Audio/Voice/Human/malescream_4.ogg
|
path: /Audio/Voice/Human/malescream_4.ogg
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: BaseItem
|
||||||
|
id: NewtonCradle
|
||||||
|
name: newton cradle
|
||||||
|
description: A device bored paper pushers use to remind themselves that time did not stop yet. Contains gravity.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Fun/newton_cradle.rsi
|
||||||
|
state: icon-off
|
||||||
|
- type: Item
|
||||||
|
sprite: Objects/Fun/newton_cradle.rsi
|
||||||
|
storedRotation: -90
|
||||||
|
- type: Appearance
|
||||||
|
- type: GenericVisualizer
|
||||||
|
visuals:
|
||||||
|
enum.ToggleVisuals.Toggled:
|
||||||
|
enum.ToggleVisuals.Layer:
|
||||||
|
True: { state: icon }
|
||||||
|
False: { state: icon-off }
|
||||||
|
- type: ItemToggle
|
||||||
|
- type: ItemToggleActiveSound
|
||||||
|
activeSound:
|
||||||
|
path: /Audio/Items/newton_cradle.ogg
|
||||||
|
params:
|
||||||
|
volume: -7
|
||||||
|
range: 5
|
||||||
|
sound:
|
||||||
|
path: /Audio/Items/newton_cradle.ogg
|
||||||
|
|||||||
BIN
Resources/Textures/Objects/Fun/newton_cradle.rsi/icon-off.png
Normal file
BIN
Resources/Textures/Objects/Fun/newton_cradle.rsi/icon-off.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Resources/Textures/Objects/Fun/newton_cradle.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Fun/newton_cradle.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 602 B |
25
Resources/Textures/Objects/Fun/newton_cradle.rsi/meta.json
Normal file
25
Resources/Textures/Objects/Fun/newton_cradle.rsi/meta.json
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from https://github.com/ParadiseSS13/Paradise/commit/aa7a7b3cee09b313705343a6859658b928a3da03",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon-off"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "icon",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.3,
|
||||||
|
0.1,
|
||||||
|
0.3,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user