This should be the one!

This commit is contained in:
Thalpy
2019-11-21 18:55:43 +00:00
parent 00bffba7ea
commit bd07ff4bf7
4 changed files with 52 additions and 38 deletions
@@ -283,6 +283,12 @@
var/has_liver = (!(NOLIVER in dna.species.species_traits))
var/has_stomach = (!(NOSTOMACH in dna.species.species_traits))
for(var/obj/item/organ/O in internal_organs)
if(O.organ_flags & ORGAN_FAILING)
O.setOrganDamage(0)
if(only_one)
return TRUE
if(has_liver && !getorganslot(ORGAN_SLOT_LIVER))
var/obj/item/organ/liver/LI
@@ -373,6 +379,7 @@
if(only_one)
return TRUE
/obj/item/organ/random
name = "Illegal organ"
desc = "Something hecked up"