mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Races with NOHUNGER won't vomit (#20711)
* NOHUNGER means no vomit * Whoops * Double whoops * fixed * That is easier actually * Missed a tab * Make it right
This commit is contained in:
@@ -440,6 +440,9 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/proc/vomit(var/lost_nutrition = 10, var/blood = 0, var/stun = 1, var/distance = 0, var/message = 1, var/toxic = 0)
|
||||
if(dna && dna.species && NOHUNGER in dna.species.specflags)
|
||||
return 1
|
||||
|
||||
if(nutrition < 100 && !blood)
|
||||
if(message)
|
||||
visible_message("<span class='warning'>[src] dry heaves!</span>", \
|
||||
|
||||
Reference in New Issue
Block a user