nutrition adjustment wrapper procs.

This commit is contained in:
Ghommie
2020-05-10 21:41:50 +02:00
parent 602154abe8
commit 667c12d413
40 changed files with 94 additions and 95 deletions
+2 -4
View File
@@ -249,10 +249,8 @@
/obj/item/book/granter/spell/smoke/recoil(mob/user)
..()
to_chat(user,"<span class='caution'>Your stomach rumbles...</span>")
if(user.nutrition)
user.nutrition = 200
if(user.nutrition <= 0)
user.nutrition = 0
if(user.nutrition > NUTRITION_LEVEL_STARVING + 50)
user.set_nutrition(NUTRITION_LEVEL_STARVING + 50)
/obj/item/book/granter/spell/blind
spell = /obj/effect/proc_holder/spell/targeted/trigger/blind