Jugs are destructible (#24719)

* destructible jug

* destruction

* Update Resources/Prototypes/Entities/Objects/Specific/chemical-containers.yml

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
liltenhead
2024-01-30 00:11:43 -08:00
committed by GitHub
parent 5da590e0f8
commit 31f7acf223

View File

@@ -47,6 +47,34 @@
inHandsFillBaseName: -fill- inHandsFillBaseName: -fill-
- type: StaticPrice - type: StaticPrice
price: 60 price: 60
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
params:
volume: -4
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
SheetPlastic1:
min: 0
max: 1
transferForensics: true
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Label - type: Label
originalName: jug originalName: jug
- type: Tag - type: Tag