config values

This commit is contained in:
Timothy Teakettle
2020-10-26 20:27:02 +00:00
parent 38313fa362
commit 2b00f2bb2f
3 changed files with 6 additions and 5 deletions

View File

@@ -2246,7 +2246,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("body_size")
var/new_body_size = input(user, "Choose your desired sprite size: (90-125%)\nWarning: This may make your character look distorted. Additionally, any size under 100% takes a 10% maximum health penalty", "Character Preference", features["body_size"]*100) as num|null
if(new_body_size)
body_size = clamp(new_body_size * 0.01, 90, 125)
body_size = clamp(new_body_size * 0.01, CONFIG_GET(number/body_size_min), CONFIG_GET(number/body_size_max))
if("tongue")
var/selected_custom_tongue = input(user, "Choose your desired tongue (none means your species tongue)", "Character Preference") as null|anything in GLOB.roundstart_tongues