no random toxdamage vomit for robots
Title. Organics sometimes vomit at high toxdamage, robots get the fun of the handle_corruption() system instead
This commit is contained in:
@@ -268,9 +268,9 @@
|
||||
return round(thermal_protection/max_protection, 0.001)
|
||||
|
||||
/mob/living/carbon/human/handle_random_events()
|
||||
//Puke if toxloss is too high
|
||||
//Puke if toxloss is too high and we aren't a robot, because those have advanced toxins (corruption) handling
|
||||
if(!stat)
|
||||
if(getToxLoss() >= 45 && nutrition > 20)
|
||||
if(getToxLoss() >= 45 && nutrition > 20 && !HAS_TRAIT(src, TRAIT_ROBOTIC_ORGANISM))
|
||||
lastpuke += prob(50)
|
||||
if(lastpuke >= 50) // about 25 second delay I guess
|
||||
vomit(20, toxic = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user