From c5b7a74919ee741aa694e25b486122a2f6a26af8 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 28 Dec 2023 19:59:23 -0500 Subject: [PATCH] Fix toy sword (#23137) --- .../Prototypes/Entities/Objects/Fun/toys.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -- 2.52.0