]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Turnstiles lower volume + access reader (#36900)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Thu, 24 Apr 2025 22:14:47 +0000 (00:14 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 22:14:47 +0000 (00:14 +0200)
fixes

Content.Shared/Doors/Components/TurnstileComponent.cs
Resources/Prototypes/Entities/Structures/Doors/turnstile.yml

index 3d7273fffa39544b16eb06b629c16c5f7e1419a9..087cc3b13deb407b32a6b6ed3be01d34305e65d7 100644 (file)
@@ -55,7 +55,7 @@ public sealed partial class TurnstileComponent : Component
     /// Sound to play when the turnstile admits a mob through.
     /// </summary>
     [DataField]
-    public SoundSpecifier? TurnSound = new SoundPathSpecifier("/Audio/Items/ratchet.ogg");
+    public SoundSpecifier? TurnSound = new SoundPathSpecifier("/Audio/Items/ratchet.ogg", AudioParams.Default.WithVolume(-6));
 
     /// <summary>
     /// Sound to play when the turnstile denies entry
index 9434c9a892f2e28fbe6ff18f651f10f6a417cd21..2fde8a1a283f0f68131eaa9c0fc0b93c15636c8d 100644 (file)
@@ -55,6 +55,7 @@
       behaviors:
       - !type:DoActsBehavior
         acts: ["Destruction"]
+  - type: AccessReader
   - type: Construction
     graph: Turnstile
     node: turnstile