From b700b371b1753130b0b6abe0d01328ece8eb290d Mon Sep 17 00:00:00 2001 From: vanx <61917534+Vaaankas@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:37:13 +0700 Subject: [PATCH] Added toy nuke sound on use/interact (#15325) Co-authored-by: vanx --- Resources/Prototypes/Entities/Objects/Fun/toys.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Fun/toys.yml b/Resources/Prototypes/Entities/Objects/Fun/toys.yml index f08d59f44a..d6de39b922 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/toys.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/toys.yml @@ -397,6 +397,20 @@ components: - type: Sprite state: nuketoy + - type: UseDelay + delay: 180.0 + - type: EmitSoundOnUse + sound: + path: /Audio/Machines/Nuke/nuke_alarm.ogg + params: + volume: -5 + maxdistance: 10 + - type: EmitSoundOnActivate + sound: + path: /Audio/Machines/Nuke/nuke_alarm.ogg + params: + volume: -5 + maxdistance: 10 - type: entity parent: BaseFigurine -- 2.51.2