From: themias <89101928+themias@users.noreply.github.com> Date: Fri, 29 Dec 2023 00:59:23 +0000 (-0500) Subject: Fix toy sword (#23137) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c5b7a74919ee741aa694e25b486122a2f6a26af8;p=space-station-14.git Fix toy sword (#23137) --- diff --git a/Resources/Prototypes/Entities/Objects/Fun/toys.yml b/Resources/Prototypes/Entities/Objects/Fun/toys.yml index d6d79edcef..b2ba859d06 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/toys.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/toys.yml @@ -852,6 +852,14 @@ isSharp: false colorOptions: - DodgerBlue + - type: ItemToggle + soundActivate: + path: /Audio/Weapons/ebladeon.ogg + soundDeactivate: + path: /Audio/Weapons/ebladeoff.ogg + - type: ItemToggleActiveSound + activeSound: + path: /Audio/Weapons/ebladehum.ogg - type: Sprite sprite: Objects/Fun/toy_sword.rsi layers: @@ -890,6 +898,19 @@ damage: types: Blunt: 0 + - type: ItemToggleMeleeWeapon + activatedSoundOnHit: + path: /Audio/Weapons/eblade1.ogg + params: + variation: 0.250 + activatedSoundOnHitNoDamage: + path: /Audio/Weapons/eblade1.ogg + params: + variation: 0.250 + activatedSoundOnSwing: + path: /Audio/Weapons/eblademiss.ogg + params: + variation: 0.125 - type: entity parent: BasePlushie