mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 08:27:24 +01:00
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.
This commit is contained in:
@@ -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, "<span class='userdanger'><span class='big'>[round(src.lastreading/2000, 0.01)]TONS!!!</span></span>")
|
||||
|
||||
|
||||
else if (HAS_TRAIT(fatty, TRAIT_IMMOBILE))
|
||||
to_chat(fatty, "<span class='boldannounce'>[src.lastreading]Lbs!</span>")
|
||||
|
||||
else if(HAS_TRAIT(fatty, TRAIT_OBESE) || HAS_TRAIT(fatty, TRAIT_MORBIDLYOBESE))
|
||||
to_chat(fatty, "<span class='alert'>[src.lastreading]Lbs!</span>")
|
||||
|
||||
else
|
||||
else
|
||||
to_chat(fatty, "<span class='notice'>[src.lastreading]Lbs.</span>")
|
||||
|
||||
|
||||
@@ -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("<span class='notice'>[fatty] weighs themselves.</span>")
|
||||
visible_message("<span class='notice'>The numbers on the screen settle on: [src.lastreading]Lbs.</span>")
|
||||
|
||||
Reference in New Issue
Block a user