Carpets can now be damaged and destroyed.

This commit is contained in:
Vera Aguilera Puerto
2021-02-14 13:24:49 +01:00
parent a4db94cf03
commit 8185a4b4d3

View File

@@ -20,6 +20,15 @@
- !type:PhysShapeAabb
bounds: "-0.5, -0.5, 0.5, 0.5"
layer: [ Passable ]
- type: Damageable
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: Carpet