Fix toy sword (#23137)

This commit is contained in:
themias
2023-12-28 19:59:23 -05:00
committed by GitHub
parent 93391f3e57
commit c5b7a74919

View File

@@ -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