Add config options

This commit is contained in:
r4d6
2019-12-23 12:41:52 -05:00
parent b909f54ba5
commit 01a8fe1cd6
3 changed files with 4 additions and 3 deletions

View File

@@ -168,8 +168,9 @@
var/key_value = null
if(key_pos || value_mode == VALUE_MODE_FLAG)
key_name = copytext(str_val, 1, key_pos)
if(lowercase)
key_name = lowertext(copytext(str_val, 1, key_pos))
key_name = lowertext(key_name)
key_value = copytext(str_val, key_pos + 1)
var/new_key
var/new_value

View File

@@ -382,6 +382,6 @@
/datum/config_entry/keyed_list/box_random_engine
key_mode = KEY_MODE_TEXT
value_mode = VALUE_MODE_TEXT
value_mode = VALUE_MODE_FLAG
lowercase = FALSE
splitter = "-"

View File

@@ -575,7 +575,7 @@ MONKEYCAP 64
#Replaces standard extended/secret dichotomy with extended and calm/chaotic votes for dynamic.
DYNAMIC_VOTING
## Choose which Engine to start the round with
## Choose which Engine to start the round with, comment to remove an Engine from the rotation
BOX_RANDOM_ENGINE Engine SM
BOX_RANDOM_ENGINE Engine Tesla
BOX_RANDOM_ENGINE Engine Singulo