mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Removes life check and adds qdel stuff
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
|
||||
/mob/living/carbon/human/Destroy()
|
||||
QDEL_LIST(bodyparts)
|
||||
QDEL_LIST(splinted_limbs)
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/human/dummy
|
||||
|
||||
@@ -21,11 +21,6 @@
|
||||
for(var/obj/item/organ/external/Ex in bodyparts)
|
||||
bad_external_organs |= Ex
|
||||
|
||||
if(splinted_limbs.len) //clean up the splinted limbs list
|
||||
for(var/obj/item/organ/external/splinted in splinted_limbs)
|
||||
if(!(splinted.status & ORGAN_SPLINTED))
|
||||
splinted_limbs -= splinted
|
||||
|
||||
//processing internal organs is pretty cheap, do that first.
|
||||
for(var/obj/item/organ/internal/I in internal_organs)
|
||||
I.process()
|
||||
|
||||
@@ -688,6 +688,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
|
||||
/obj/item/organ/external/proc/update_splints()
|
||||
if(!(status & ORGAN_SPLINTED))
|
||||
owner.splinted_limbs -= src
|
||||
return
|
||||
if(owner.step_count >= splinted_count + SPLINT_LIFE)
|
||||
status &= ~ORGAN_SPLINTED //oh no, we actually need surgery now!
|
||||
|
||||
Reference in New Issue
Block a user