fix mousetraps (#35486)

fix mousetrap
This commit is contained in:
slarticodefast
2025-02-25 04:52:05 +01:00
committed by GitHub
parent 1e435822c7
commit 920df98f76

View File

@@ -22,6 +22,7 @@
Blunt: 2 # base damage, scales based on mass Blunt: 2 # base damage, scales based on mass
- type: EmitSoundOnUse - type: EmitSoundOnUse
sound: "/Audio/Items/Handcuffs/cuff_end.ogg" sound: "/Audio/Items/Handcuffs/cuff_end.ogg"
handle: false
- type: EmitSoundOnTrigger - type: EmitSoundOnTrigger
sound: "/Audio/Items/snap.ogg" sound: "/Audio/Items/snap.ogg"
- type: Item - type: Item
@@ -62,5 +63,9 @@
id: MousetrapArmed id: MousetrapArmed
description: Useful for catching rodents sneaking into your kitchen. description: Useful for catching rodents sneaking into your kitchen.
components: components:
- type: Mousetrap - type: Sprite
isActive: true layers:
- state: mousetraparmed
map: ["base"]
- type: Mousetrap
isActive: true