Newton cradle (#22914)
* comit * comit2 * little more range * review --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
license: "CC-BY-3.0"
|
||||
copyright: "User jzdnvdoosj on freesound.org. Converted to ogg by mirrorcult"
|
||||
source: "https://freesound.org/people/jzdnvdoosj/sounds/626262/"
|
||||
|
||||
|
||||
- files: ["candle_blowing.ogg"]
|
||||
license: "CC-BY-NC-3.0"
|
||||
copyright: "Created by Bee09, converted to OGG, cropped and converted to mono by TheShuEd"
|
||||
@@ -82,13 +82,18 @@
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "Taken from /tg/station"
|
||||
source: "https://github.com/tgstation/tgstation/commit/c61c452d78425d89920b41ed5f95fd190e733a3c"
|
||||
|
||||
|
||||
- files: ["scissors.ogg"]
|
||||
license: "CC0-1.0"
|
||||
copyright: "User Hanbaal on freesound.org. Converted to ogg by TheShuEd"
|
||||
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"]
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "Taken from tgstation, modified by themias (github) for ss14"
|
||||
source: "https://github.com/tgstation/tgstation/tree/85a0925051bb00e7a950ee66cb7f87982cd22439/sound/effects/shovel_dig.ogg"
|
||||
source: "https://github.com/tgstation/tgstation/tree/85a0925051bb00e7a950ee66cb7f87982cd22439/sound/effects/shovel_dig.ogg"
|
||||
|
||||
BIN
Resources/Audio/Items/newton_cradle.ogg
Normal file
BIN
Resources/Audio/Items/newton_cradle.ogg
Normal file
Binary file not shown.
@@ -1210,4 +1210,33 @@
|
||||
path: /Audio/Voice/Human/malescream_3.ogg
|
||||
- type: MeleeWeapon
|
||||
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