Add pen clicking sound (#30531)

* Add pen clicking sound

* switch to OnUse and reduce distance a little
This commit is contained in:
themias
2024-07-31 13:57:41 -04:00
committed by GitHub
parent 5eb6425c42
commit 2575e44ec3
3 changed files with 13 additions and 0 deletions

View File

@@ -134,3 +134,8 @@
license: "CC-BY-SA-3.0"
copyright: "Taken from tgstation."
source: "https://github.com/tgstation/tgstation/blob/a7f525bce9a359ab5282fc754078cd4b5678a006/sound/items"
- files: ["pen_click.ogg"]
license: "CC0-1.0"
copyright: "Created by dslrguide, converted to ogg and mono by Themias"
source: "https://freesound.org/people/dslrguide/sounds/321484"

Binary file not shown.

View File

@@ -18,6 +18,14 @@
- type: PhysicalComposition
materialComposition:
Steel: 25
- type: EmitSoundOnUse
sound:
path: /Audio/Items/pen_click.ogg
params:
volume: -4
maxDistance: 2
- type: UseDelay
delay: 1.5
- type: entity
parent: Pen