TGUI Input Framework

This commit is contained in:
ItsSelis
2022-06-18 22:17:36 +02:00
parent 081b1ba3d3
commit a3b02b1bce
30 changed files with 1516 additions and 926 deletions
@@ -87,7 +87,7 @@
return TOPIC_REFRESH
else if(href_list["weight_gain"])
var/weight_gain_rate = tgui_input_num(user, "Choose your character's rate of weight gain between 100% \
var/weight_gain_rate = tgui_input_number(user, "Choose your character's rate of weight gain between 100% \
(full realism body fat gain) and 0% (no body fat gain).\n\
(If you want to disable weight gain, set this to 0.01 to round it to 0%.)\
([WEIGHT_CHANGE_MIN]-[WEIGHT_CHANGE_MAX])", "Character Preference", pref.weight_gain)
@@ -96,7 +96,7 @@
return TOPIC_REFRESH
else if(href_list["weight_loss"])
var/weight_loss_rate = tgui_input_num(user, "Choose your character's rate of weight loss between 100% \
var/weight_loss_rate = tgui_input_number(user, "Choose your character's rate of weight loss between 100% \
(full realism body fat loss) and 0% (no body fat loss).\n\
(If you want to disable weight loss, set this to 0.01 round it to 0%.)\
([WEIGHT_CHANGE_MIN]-[WEIGHT_CHANGE_MAX])", "Character Preference", pref.weight_loss)