diff --git a/code/modules/mob/living/carbon/human/life_vr.dm b/code/modules/mob/living/carbon/human/life_vr.dm new file mode 100644 index 00000000000..eae5ed72100 --- /dev/null +++ b/code/modules/mob/living/carbon/human/life_vr.dm @@ -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