mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-20 04:06:57 +01:00
## 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>
23 lines
510 B
Plaintext
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]"
|