diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-06-18 10:05:35 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-06-18 10:05:35 -0400 |
commit | 0b6a0f47788c99bdb872367c450142ce435e10df (patch) | |
tree | 7dfc464380fcf3236fc4abf0ef19dc5385242a32 /tools/config.py | |
parent | 778015665ad5880410244d13b8a2062e44eee2be (diff) | |
download | tmwa-0b6a0f47788c99bdb872367c450142ce435e10df.tar.gz tmwa-0b6a0f47788c99bdb872367c450142ce435e10df.tar.bz2 tmwa-0b6a0f47788c99bdb872367c450142ce435e10df.tar.xz tmwa-0b6a0f47788c99bdb872367c450142ce435e10df.zip |
move hardcoded settings in char server to config file
Diffstat (limited to 'tools/config.py')
-rwxr-xr-x | tools/config.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/config.py b/tools/config.py index 126b40d..cedaa3a 100755 --- a/tools/config.py +++ b/tools/config.py @@ -552,6 +552,13 @@ def build_config(): char_conf.opt('online_html_filename', RString, lit('online.html')) char_conf.opt('online_gm_display_min_level', GmLevel, 'GmLevel::from(20_u32)', {udl_h}) char_conf.opt('online_refresh_html', u32, '20', min=1) + char_conf.opt('max_hair_style', u16, '20', min=1) + char_conf.opt('max_hair_color', u16, '11', min=1) + char_conf.opt('min_stat_value', u16, '1') + char_conf.opt('max_stat_value', u16, '9', min=2) + char_conf.opt('total_stat_sum', u16, '30', min=7) + char_conf.opt('min_name_length', u16, '4', min=1) + char_conf.opt('char_slots', u16, '9', min=1) char_conf.opt('anti_freeze_enable', bool, 'false') char_conf.opt('anti_freeze_interval', seconds, '6_s', min='5_s') |