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
2019-11-26 16:02:42 -07:00
committed by GitHub
10 changed files with 233 additions and 18 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
////////////////////////////////////////////