mirror of
https://github.com/KabKebab/GS13.git
synced 2026-04-01 00:51:16 +01:00
Finished
Tested and working. Scales added to sensible locations on Meta, Box, Delta and Pubby
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user