]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make mime stamp silent (#23221)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sat, 30 Dec 2023 23:15:02 +0000 (00:15 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 23:15:02 +0000 (18:15 -0500)
* good commit

* Revert "good commit"

This reverts commit 2559a9ad8b642827446e151adc90057d667be60d.

* EVEN BETTER PR

* even more better

Content.Shared/Paper/StampComponent.cs
Resources/Prototypes/Entities/Objects/Misc/rubber_stamp.yml

index 615009a81ea9342b1ff5bde551b0583b88859fb1..04e2410df7cc24c37eee755e94a577ce84d9a003 100644 (file)
@@ -49,8 +49,5 @@ public sealed partial class StampComponent : Component
     /// The sound when stamp stamped
     /// </summary>
     [DataField("sound")]
-    public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Items/Stamp/thick_stamp_sub.ogg")
-    {
-        Params = AudioParams.Default.WithVolume(-2f).WithMaxDistance(5f)
-    };
+    public SoundSpecifier? Sound = null;
 }
index cbd2a2c99c3dce7587b467d45366e3ac3d67fa3f..662b0dd629e9e7e61a3b8164de4383c3e6adf197 100644 (file)
     stampedName: stamp-component-stamped-name-mime
     stampedColor: "#777777"
     stampState: "paper_stamp-mime"
-    # TODO remove sound from mime's rubber stamp
+    sound: null
   - type: Sprite
     state: stamp-mime