Nutrition purge balance (#7259)

This commit is contained in:
Kashargul
2023-11-23 11:51:59 +01:00
committed by GitHub
parent badbdfd683
commit a537847f6a
@@ -1,10 +1,10 @@
/mob/living/silicon/robot/verb/purge_nutrition()
set name = "Purge Nutrition"
set category = "IC"
set desc = "Allows you to clear out your nutrition if needed."
set desc = "Allows you to clear out most of your nutrition if needed."
if (stat != CONSCIOUS)
if (stat != CONSCIOUS || nutrition <= 1000)
return
nutrition = 0
to_chat(src, "<span class='warning'>You have purged the nutrition lingering in your systems.</span>")
nutrition = 1000
to_chat(src, "<span class='warning'>You have purged most of the nutrition lingering in your systems.</span>")
return TRUE