From 385f738b00ea52010d8cb1d5b0403d3f10e391a2 Mon Sep 17 00:00:00 2001
From: SeepingVisage <160535199+SeepingVisage@users.noreply.github.com>
Date: Mon, 19 Feb 2024 14:03:53 -0500
Subject: [PATCH] Add additional weight to taur characters
Adds additional weight to taur characters when they go on scales. It's 2.5x for taur characters, meaning at 0 fatness a taur character will report a weight of 350 pounds while a non-taur character will report a weight of 140 pounds.
Math was based on the assumption of a taur body adding at least 200 or so pounds, then making it multiplicative to imply the tauric half was also gaining weight.
---
GainStation13/code/obj/structure/scale.dm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/GainStation13/code/obj/structure/scale.dm b/GainStation13/code/obj/structure/scale.dm
index 431209c0..214f28e6 100644
--- a/GainStation13/code/obj/structure/scale.dm
+++ b/GainStation13/code/obj/structure/scale.dm
@@ -50,14 +50,14 @@
//The appearance of the numbers changes with the fat level of the character
if (HAS_TRAIT(fatty, TRAIT_BLOB))
to_chat(fatty, "[round(src.lastreading/2000, 0.01)]TONS!!!")
-
+
else if (HAS_TRAIT(fatty, TRAIT_IMMOBILE))
to_chat(fatty, "[src.lastreading]Lbs!")
else if(HAS_TRAIT(fatty, TRAIT_OBESE) || HAS_TRAIT(fatty, TRAIT_MORBIDLYOBESE))
to_chat(fatty, "[src.lastreading]Lbs!")
- else
+ else
to_chat(fatty, "[src.lastreading]Lbs.")
@@ -70,7 +70,7 @@
weighperson(HM)
/obj/structure/scale/proc/weighperson(mob/living/carbon/human/fatty)
- src.lastreading = round((140 + (fatty.fatness*src.fatnessToWeight))*(fatty.size_multiplier**2))
+ src.lastreading = round((140 + (fatty.fatness*src.fatnessToWeight))*(fatty.size_multiplier**2)*((fatty.dna.features["taur"] != "None") ? 2.5: 1))
weighEffect(fatty)
visible_message("[fatty] weighs themselves.")
visible_message("The numbers on the screen settle on: [src.lastreading]Lbs.")