Add ability to burn papers +Flammable tweaks. (#18955)

This commit is contained in:
mhamster
2023-08-15 02:45:55 +07:00
committed by GitHub
parent da62b05f4b
commit 5ce47fbb03
3 changed files with 74 additions and 7 deletions

View File

@@ -30,6 +30,32 @@
- Trash
- type: Appearance
- type: PaperVisuals
- type: Flammable
fireSpread: true
canResistFire: false
alwaysCombustible: true
canExtinguish: false # Mwahaha! Let the world burn because of one piece of paper!
damage:
types:
Heat: 1
- type: FireVisuals
sprite: Effects/fire.rsi
normalState: fire
- type: Damageable
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
Ash:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
name: office paper