Tested and working.
Scales added to sensible locations on Meta, Box, Delta and Pubby
This commit is contained in:
SomeGuyEatingPie
2022-08-11 16:42:57 +01:00
parent 5481cf4ba7
commit da54b466da
9 changed files with 97 additions and 49 deletions

View File

@@ -2476,7 +2476,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
//GS13 fatness
if("fatness")
var/new_fatness = input(user, "Choose your amount of fat at start :\n(0-2000), Fat changes appearance and move speed. \nThresholds are 100, 350, 650, 950 and 1671. Fair warning : being too fat will make you immobile", "Character Preference") as num|null
var/new_fatness = input(user, "Choose your amount of fat at start :\n(0-2000), Fat changes appearance and move speed. \nThresholds are 90, 150, 350, 500 and 900. Warning : If using the 'weak legs' trait, bieng too fat will make you immobile and unable to leave the shuttle without a wheelchair or help", "Character Preference") as num|null
if (new_fatness)
starting_weight = max(min( round(text2num(new_fatness)), 2000),0)

View File

@@ -1332,7 +1332,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
if (H.nutrition > NUTRITION_LEVEL_FULL)
var/fatConversionRate = 100 //GS13 what percentage of the excess nutrition should go to fat (total nutrition to transfer can't be under 1)
var/fatConversionRate = 40 //GS13 what percentage of the excess nutrition should go to fat (total nutrition to transfer can't be under 1)
var/nutritionThatBecomesFat = max((H.nutrition - NUTRITION_LEVEL_FULL)*(fatConversionRate / 100),1)
H.nutrition -= nutritionThatBecomesFat
H.fatness += nutritionThatBecomesFat