mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-15 09:57:49 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user