Medscan lung rescue fix (#13371)

This commit is contained in:
VisVirific
2022-03-11 14:07:55 -03:00
committed by GitHub
parent ecbbcd157e
commit e94347b9b8
5 changed files with 37 additions and 15 deletions

View File

@@ -1257,6 +1257,11 @@
custom_pain("You feel a stabbing pain in your chest!", 50)
L.bruise()
/mob/living/carbon/human/proc/is_lung_rescued()
var/species_organ = species.breathing_organ
var/obj/item/organ/internal/lungs/L = internal_organs_by_name[species_organ]
return L && L.rescued
//returns 1 if made bloody, returns 0 otherwise
/mob/living/carbon/human/add_blood(mob/living/carbon/C as mob)
if (!..())