Urist's damage and health thing. (#10)

* Add prototype for temperature testing entity.

* Add Damageable, Destructible, Temperature. Add a prototype based on those.

* Works and cleaned up.

* Nerf
This commit is contained in:
Pieter-Jan Briers
2017-10-07 15:15:29 +02:00
committed by GitHub
parent 7597cd9172
commit 6f89d0672d
16 changed files with 618 additions and 34 deletions

View File

@@ -0,0 +1,23 @@
- type: entity
id: thing_that_heats_up_on_its_own_and_dies
name: Thing that heats up on its own and dies
components:
- type: Transform
- type: Clickable
- type: Sprite
sprites:
- shoes
- type: Icon
icon: shoes
- type: Damageable
resistanceset: Standard
- type: Destructible
thresholdtype: Total
thresholdvalue: 100
- type: Temperature
firedamagethreshold: 200
firedamagecoefficient: 20