diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-04-22 13:54:32 -0400 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-06-10 23:26:16 +0200 |
commit | d09210e1c6a446ec5a97de4e171aa101d047765a (patch) | |
tree | d45a31e2b65f3399888e14524b805b15ef94a90f /src/table | |
parent | c2db408d5d947cd4f3df42754a598226818c519f (diff) | |
download | openttd-d09210e1c6a446ec5a97de4e171aa101d047765a.tar.xz |
Feature: Configurable subsidy duration
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings/settings.ini | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/table/settings/settings.ini b/src/table/settings/settings.ini index f9f1cb87b..17a4b3025 100644 --- a/src/table/settings/settings.ini +++ b/src/table/settings/settings.ini @@ -232,6 +232,19 @@ strhelp = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER_HELPTEXT strval = STR_SUBSIDY_X1_5 [SDT_VAR] +var = difficulty.subsidy_duration +type = SLE_UINT16 +from = SLV_CUSTOM_SUBSIDY_DURATION +flags = SF_GUI_0_IS_SPECIAL +def = 1 +min = 0 +max = 5000 +interval = 1 +str = STR_CONFIG_SETTING_SUBSIDY_DURATION +strhelp = STR_CONFIG_SETTING_SUBSIDY_DURATION_HELPTEXT +strval = STR_CONFIG_SETTING_SUBSIDY_DURATION_VALUE + +[SDT_VAR] var = difficulty.construction_cost type = SLE_UINT8 from = SLV_97 |