Cell charger tweaks (#12514)

This commit is contained in:
Alex Evgrashin
2022-11-14 15:57:59 +01:00
committed by GitHub
parent 5db3ad5dc7
commit 77a150d6c8

View File

@@ -22,6 +22,21 @@
- type: Pullable
- type: Clickable
- type: InteractionOutline
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:EmptyAllContainersBehaviour
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- type: Physics
bodyType: Static
- type: Fixtures
@@ -31,9 +46,7 @@
bounds: "-0.10,-0.10,0.10,0.10"
density: 500
mask:
- MachineMask
layer:
- HighImpassable
- TabletopMachineMask
- type: ItemSlots
slots:
charger_slot: