From: vanx <61917534+Vaaankas@users.noreply.github.com> Date: Sat, 29 Apr 2023 11:37:13 +0000 (+0700) Subject: Added toy nuke sound on use/interact (#15325) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b700b371b1753130b0b6abe0d01328ece8eb290d;p=space-station-14.git Added toy nuke sound on use/interact (#15325) Co-authored-by: vanx --- 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