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

27 lines
625 B
Plaintext

/obj/structure/blob/shield
name = "thick blob"
base_name = "thick"
icon = 'icons/mob/blob.dmi'
icon_state = "blob_shield"
desc = "A solid wall of slightly twitching tendrils."
integrity_max = 100
point_return = 4
CanAtmosPass = ATMOS_PASS_AIR_BLOCKED
/obj/structure/blob/shield/core
point_return = 0
/obj/structure/blob/shield/update_icon()
..()
if(integrity <= 75)
icon_state = "blob_shield_damaged"
desc = "A wall of twitching tendrils."
else
icon_state = initial(icon_state)
desc = initial(desc)
if(overmind)
name = "[base_name] [overmind.blob_type.name]"
else
name = "inert [base_name] blob"