summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPavel Stupnikov <dp@dpointer.org>2020-12-15 01:35:07 +0300
committerGitHub <noreply@github.com>2020-12-14 23:35:07 +0100
commitc9fd85528a804060473364c54248149e96da0508 (patch)
tree0e37667e888e77d11ee51daa5a0c69e4d03e671e /src/table
parent68f9925cd4c8b29dbdac301e86bd9fc6f5a7fb27 (diff)
downloadopenttd-c9fd85528a804060473364c54248149e96da0508.tar.xz
Add: new economy "frozen" that stops production changes and industry closures (#8282)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index c7dbd2128..bba7d61e8 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -1429,12 +1429,17 @@ strhelp = STR_CONFIG_SETTING_ENDING_YEAR_HELPTEXT
strval = STR_CONFIG_SETTING_ENDING_YEAR_VALUE
cat = SC_ADVANCED
-[SDT_BOOL]
+[SDT_VAR]
base = GameSettings
-var = economy.smooth_economy
-def = true
-str = STR_CONFIG_SETTING_SMOOTH_ECONOMY
-strhelp = STR_CONFIG_SETTING_SMOOTH_ECONOMY_HELPTEXT
+var = economy.type
+type = SLE_UINT8
+guiflags = SGF_MULTISTRING
+def = ET_SMOOTH
+min = ET_BEGIN
+max = ET_END - 1
+str = STR_CONFIG_SETTING_ECONOMY_TYPE
+strhelp = STR_CONFIG_SETTING_ECONOMY_TYPE_HELPTEXT
+strval = STR_CONFIG_SETTING_ECONOMY_TYPE_ORIGINAL
proc = InvalidateIndustryViewWindow
cat = SC_BASIC