mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-05 04:08:21 +02:00
added a settings to disable the balancing (will enable the cheat mode)
This commit is contained in:
parent
ba4980e0b9
commit
23149d30da
5 changed files with 22 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
"TRACK_TEXT_HIGHLIGHT_END": "bmg_color_raw('off')",
|
||||
|
||||
"SETTINGS_MODE": "mod_config.specific_settings['mode'].value",
|
||||
"SETTINGS_BALANCING": "mod_config.specific_settings['balancing'].value",
|
||||
|
||||
"IF_NO_WARNING": "if getattr(track, 'warning', 0) == 0 else ''"
|
||||
}
|
|
@ -41,6 +41,18 @@
|
|||
"type": "string",
|
||||
"default": "'v' + getattr(track, 'since_version', '') == mod_config.version",
|
||||
"preview": "track_selecting"
|
||||
},
|
||||
"balancing": {
|
||||
"text": {
|
||||
"en": "Balancing *",
|
||||
"fr": "Équilibrage *"
|
||||
},
|
||||
"type": "choices",
|
||||
"choices": [
|
||||
"Enabled",
|
||||
"Disabled"
|
||||
],
|
||||
"default": "Enabled"
|
||||
}
|
||||
},
|
||||
"lpar_template": "{{ mode if (mode := ## SETTINGS_MODE ##) is not None else 'normal' }}.lpar",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"base": "files/Race/Common.d/balancing.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"if": "## SETTINGS_BALANCING ## == 'Enabled'"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"base": "files/Race/Common.d/balancing.json"
|
||||
}
|
Loading…
Reference in a new issue