Create life_vr.dm

This commit is contained in:
Cameron653
2016-08-17 17:51:58 -04:00
committed by GitHub
parent 9b148f52d5
commit a574e69ed2
@@ -0,0 +1,7 @@
/mob/living/carbon/human/proc/weightgain()
if (nutrition > 0 && stat != 2)
if (nutrition > 450 && weight < 500 && weight_gain)
weight += metabolism*(0.01*weight_gain)
else if (nutrition <= 50 && stat != 2 && weight > 70 && weight_loss)
weight -= metabolism*(0.01*weight_loss) // starvation weight loss