Fatness Hiding System and Bluespace Belt

Applied changes to fatness.dm to allow the creation of objects, events and such that hide a character's actual fatness level to display and treat it as another.
Fixes to other files to support said change.
Added bluespace belt, an item that hides a character's current weight and treats it as if were 0. (Belt has currently no way to be created/accessed besides admin spawns. Haven't tested ALL things that interact with weight yet)
This commit is contained in:
Alphas00
2023-12-26 00:20:37 +01:00
parent ce8d25cc9c
commit b40aad939b
9 changed files with 60 additions and 8 deletions
@@ -112,8 +112,8 @@
var/mob/living/carbon/gainer = owner
if(iscarbon(gainer) && owner?.client?.prefs?.weight_gain_food)
var/mob/living/carbon/prey = M
if(iscarbon(prey) && prey.fatness)
var/fatness_to_add = (prey.fatness * 0.75)
if(iscarbon(prey) && prey.realfatness)
var/fatness_to_add = (prey.realfatness * 0.75)
gainer.adjust_fatness(fatness_to_add, FATTENING_TYPE_FOOD)
//GS13 edit end