Adds FlammableComponent, humans can now catch on fire. (#2115)

This commit is contained in:
Víctor Aguilera Puerto
2020-09-22 15:40:04 +02:00
committed by GitHub
parent 4c34a12c67
commit 31e0dfc10c
33 changed files with 457 additions and 54 deletions

View File

@@ -116,6 +116,10 @@
sprite: Effects/creampie.rsi
state: creampie_human
visible: false
- map: ["enum.FireVisualLayers.Fire"]
sprite: Mobs/Effects/onfire.rsi
state: Generic_mob_burning
visible: false
- type: Icon
sprite: Mobs/Species/Human/parts.rsi
state: full
@@ -133,6 +137,9 @@
- Opaque
- MobImpassable
- type: AtmosExposed
- type: Flammable
fireSpread: true
canResistFire: true
- type: Temperature
heatDamageThreshold: 360
coldDamageThreshold: 260
@@ -163,6 +170,10 @@
visuals:
- type: RotationVisualizer
- type: BuckleVisualizer
- type: FireVisualizer
normalState: Generic_mob_burning
alternateState: Standing
fireStackAlternateState: 3
- type: CreamPiedVisualizer
- type: CombatMode
- type: Climbing