mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-18 19:39:53 +01:00
bone stuff
This commit is contained in:
@@ -300,6 +300,13 @@ SLIME SCANNER
|
||||
msg += "<span class='info'>\tDamage: <span class='info'><font color='red'>Brute</font></span>-<font color='#FF8000'>Burn</font>-<font color='green'>Toxin</font>-<font color='blue'>Suffocation</font>\n\t\tSpecifics: <font color='red'>[brute_loss]</font>-<font color='#FF8000'>[fire_loss]</font>-<font color='green'>[tox_loss]</font>-<font color='blue'>[oxy_loss]</font></span>\n"
|
||||
for(var/obj/item/bodypart/org in damaged)
|
||||
msg += "\t\t<span class='info'>[capitalize(org.name)]: [(org.brute_dam > 0) ? "<font color='red'>[org.brute_dam]</font></span>" : "<font color='red'>0</font>"]-[(org.burn_dam > 0) ? "<font color='#FF8000'>[org.burn_dam]</font>" : "<font color='#FF8000'>0</font>"]\n"
|
||||
// List broken bones!
|
||||
if(iscarbon(M) && mode == 1)
|
||||
var/mob/living/carbon/C = M
|
||||
var/list/broken = C.bodyparts
|
||||
for(var/obj/item/bodypart/org in broken)
|
||||
if(org.broken)
|
||||
msg += "\t<span class='alert'>Subjects [LB.name] is broken.</span>\n"
|
||||
|
||||
//Organ damages report
|
||||
if(ishuman(M))
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
if(burn_dam > DAMAGE_PRECISION)
|
||||
to_chat(user, "<span class='warning'>This limb has [burn_dam > 30 ? "severe" : "minor"] burns.</span>")
|
||||
if(broken == TRUE)
|
||||
to_chat(user, "<span class='warning'>This limb is broken.</span>")
|
||||
to_chat(user, "<span class='warning'>This limb is fractured.</span>")
|
||||
|
||||
/obj/item/bodypart/blob_act()
|
||||
take_damage(max_damage)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 47 KiB |
Reference in New Issue
Block a user