Vaurca Self-Healing & ORGAN_ADV_ROBOT flag

Added a new flag for advanced synthetic organs. They're meant to be immune to EMP, mimmic most fleshy organ features, but lack the ability to heal themselves (while still accepting fleshy organ medicine).

This also fixes the Vaurca automatically healing themselves.
This commit is contained in:
skull132
2016-01-10 17:05:44 +02:00
parent ef18c51e27
commit e859991c31
3 changed files with 39 additions and 28 deletions
@@ -146,6 +146,10 @@
I.mechanize()
if(flags & IS_BUG)
for (var/datum/organ/external/E in H.organs)
if ((E.status & ORGAN_CUT_AWAY) || (E.status & ORGAN_DESTROYED))
continue
E.status |= ORGAN_ADV_ROBOT
for(var/datum/organ/internal/I in H.internal_organs)
I.mechanize()