FBPs should no longer scream when they collapse

This commit is contained in:
Anewbe
2017-03-27 17:50:42 -05:00
parent d2078e86d6
commit ff21e5d786
+7 -1
View File
@@ -373,4 +373,10 @@ var/list/organ_cache = list()
return
/obj/item/organ/proc/can_feel_pain()
return !(robotic >= (ORGAN_ROBOT|ORGAN_DESTROYED)) && !(species.flags & NO_PAIN)
if(species.flags & NO_PAIN)
return 0
if(status & ORGAN_DESTROYED)
return 0
if(robotic && robotic < ORGAN_LIFELIKE) //Super fancy humanlike robotics probably have sensors, or something?
return 0
return 1