summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorJack Baron <jackmbaron@gmail.com>2019-10-18 01:47:29 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-10-19 20:31:44 +0100
commit7c9dedb94f3b3ebca222f544f7d7502f22d03bb7 (patch)
tree774c0a7e71ef1db71f3618987d5ccede2c810e28 /src/table
parent53f8d0b815a7be57fb6489d95e67b9002ade14d7 (diff)
downloadopenttd-7c9dedb94f3b3ebca222f544f7d7502f22d03bb7.tar.xz
Feature: Configure minimum share trading years
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 714a8c86c..6e39f239b 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -1426,6 +1426,19 @@ proc = InvalidateCompanyWindow
[SDT_VAR]
base = GameSettings
+var = economy.min_years_for_shares
+type = SLE_UINT8
+def = 6
+min = 0
+max = 255
+interval = 1
+str = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES
+strhelp = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES_HELPTEXT
+strval = STR_JUST_INT
+cat = SC_EXPERT
+
+[SDT_VAR]
+base = GameSettings
var = economy.feeder_payment_share
type = SLE_UINT8
from = SLV_134