Merge pull request #9882 from FestiveBall/Fersi

[READY] Allows addition of reagents to sleepers for injection and detection of failed organs (minor GUI tweak.)
This commit is contained in:
kevinz000
2020-10-13 01:26:13 -03:00
committed by Dip
parent e0d9a3b354
commit 8408c6669f
8 changed files with 268 additions and 22 deletions
@@ -157,6 +157,11 @@
O.applyOrganDamage(amount, maximum)
O.onDamage(amount, maximum)
/mob/living/carbon/proc/getFailingOrgans()
.=list()
for(var/obj/item/organ/O in internal_organs)
if(O.organ_flags & ORGAN_FAILING)
.+=O
////////////////////////////////////////////