Files
f00535983e [MDB IGNORE] [IDB IGNORE] atom damage (#5235)
## About The Pull Request

adds generic system for atom health / integrity / damage

everything that isn't flagged with not-bludgeonable can, well, now be
bludgeoned.

## Why It's Good For The Game

more interactive game world through the means of making people able to
break Everything.

## Changelog

🆑
add: atom damage - (almost) everything is now breakable.
refactor: new /atom level materials system
refactor: a lot of the combat system / click code
refactor: melee attack styles
/🆑

---------

Co-authored-by: silicons <no@you.cat>
2023-11-11 17:33:57 -07:00

23 lines
510 B
Plaintext

/obj/structure/blob/normal
name = "normal blob"
base_name = "blob"
icon_state = "blob"
light_range = 0
integrity = 21 //doesn't start at full health
integrity_max = 25
health_regen = 1
/obj/structure/blob/normal/update_icon()
..()
if(integrity <= 15)
icon_state = "blob_damaged"
desc = "A thin lattice of slightly twitching tendrils."
else
icon_state = "blob"
desc = "A thick wall of writhing tendrils."
if(overmind)
name = "[overmind.blob_type.name]"
else
name = "inert [base_name]"