Merge pull request #12200 from Ghommie/Ghommie-cit738

nutrition adjustment wrapper procs from tg.
This commit is contained in:
kevinz000
2020-05-12 12:28:02 -07:00
committed by GitHub
40 changed files with 94 additions and 95 deletions
@@ -117,7 +117,7 @@
if(food <= 0)
dat += "<br>You ran out of food and starved."
if(obj_flags & EMAGGED)
user.nutrition = 0 //yeah you pretty hongry
user.set_nutrition(0) //yeah you pretty hongry
to_chat(user, "<span class='userdanger'>Your body instantly contracts to that of one who has not eaten in months. Agonizing cramps seize you as you fall to the floor.</span>")
if(fuel <= 0)
dat += "<br>You ran out of fuel, and drift, slowly, into a star."