mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
if amputated full arm or leg, make hand or foot amputated too
This commit is contained in:
@@ -959,6 +959,7 @@ proc/spread_germs_to_organ(datum/organ/external/E, mob/living/carbon/human/user)
|
|||||||
"\blue You have finished adjusting the area around [target]'s [affected.display_name] with \the [tool].")
|
"\blue You have finished adjusting the area around [target]'s [affected.display_name] with \the [tool].")
|
||||||
affected.status |= ORGAN_ATTACHABLE
|
affected.status |= ORGAN_ATTACHABLE
|
||||||
affected.amputated = 1
|
affected.amputated = 1
|
||||||
|
affected.setAmputatedTree()
|
||||||
affected.open = 0
|
affected.open = 0
|
||||||
|
|
||||||
fail_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
|
fail_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
|
||||||
|
|||||||
@@ -322,6 +322,7 @@
|
|||||||
for(var/datum/organ/external/O in owner.organs)
|
for(var/datum/organ/external/O in owner.organs)
|
||||||
if(O.parent == src)
|
if(O.parent == src)
|
||||||
O.amputated=amputated
|
O.amputated=amputated
|
||||||
|
O.setAmputatedTree()
|
||||||
|
|
||||||
proc/droplimb(var/override = 0,var/no_explode = 0)
|
proc/droplimb(var/override = 0,var/no_explode = 0)
|
||||||
if(destspawn) return
|
if(destspawn) return
|
||||||
|
|||||||
Reference in New Issue
Block a user