mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Fixes splinting and broken limb dropping
Splints will now work again, on arms/hands/legs/feet, and health analyzers will warn about unsplinted limbs. Having a broken left arm will no longer cause you to drop what's in your right hand.
This commit is contained in:
@@ -220,10 +220,10 @@ REAGENT SCANNER
|
||||
continue
|
||||
var/limb = e.name
|
||||
if(e.status & ORGAN_BROKEN)
|
||||
if(((e.name == "l_arm") || (e.name == "r_arm") || (e.name == "l_leg") || (e.name == "r_leg")) && (!(e.status & ORGAN_SPLINTED)))
|
||||
user << "\red Unsecured fracture in subject [limb]. Splinting recommended for transport."
|
||||
if((e.limb_name in list("l_arm", "r_arm", "l_hand", "r_hand", "l_leg", "r_leg", "l_foot", "r_foot")) && !(e.status & ORGAN_SPLINTED))
|
||||
user.show_message("\red Unsecured fracture in subject [limb]. Splinting recommended for transport.")
|
||||
if(e.has_infected_wound())
|
||||
user << "\red Infected wound detected in subject [limb]. Disinfection recommended."
|
||||
user.show_message("\red Infected wound detected in subject [limb]. Disinfection recommended.")
|
||||
|
||||
for(var/name in H.organs_by_name)
|
||||
var/obj/item/organ/external/e = H.organs_by_name[name]
|
||||
|
||||
Reference in New Issue
Block a user