mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 14:16:58 +01:00
Nutrition purge balance (#7259)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user