Change: [Script] replace easy/medium/hard values with default value (#11959)
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
; and in the savegame PATS chunk.
|
||||
|
||||
[pre-amble]
|
||||
static constexpr std::initializer_list<const char*> _settings_profiles{"easy", "medium", "hard"};
|
||||
|
||||
static const SettingVariant _script_settings_table[] = {
|
||||
[post-amble]
|
||||
@@ -41,20 +40,6 @@ extra = 0
|
||||
startup = false
|
||||
|
||||
|
||||
[SDT_OMANY]
|
||||
var = script.settings_profile
|
||||
type = SLE_UINT8
|
||||
from = SLV_178
|
||||
flags = SF_GUI_DROPDOWN
|
||||
def = SP_EASY
|
||||
min = SP_EASY
|
||||
max = SP_HARD
|
||||
full = _settings_profiles
|
||||
str = STR_CONFIG_SETTING_AI_PROFILE
|
||||
strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
|
||||
strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDT_VAR]
|
||||
var = script.script_max_opcode_till_suspend
|
||||
type = SLE_UINT32
|
||||
|
Reference in New Issue
Block a user