summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPeter Nelson <peter1138@openttd.org>2019-02-14 23:12:26 +0000
committerMichael Lutz <michi@icosahedron.de>2019-03-08 16:52:08 +0100
commitb8a0107ad157e946c46a4e65cb3f63bec1812670 (patch)
tree9985a413faa7bad1c59fe9fb0bbc86df323450e7 /src/table
parenta69eb5f516963f6f7a39f90d959cdff61e8e70b2 (diff)
downloadopenttd-b8a0107ad157e946c46a4e65cb3f63bec1812670.tar.xz
Change: Add configurable curve penalty for ships.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index c2faa43ca..bb8769c4c 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -2163,6 +2163,26 @@ min = 0
max = 1000000
cat = SC_EXPERT
+[SDT_VAR]
+base = GameSettings
+var = pf.yapf.ship_curve45_penalty
+type = SLE_UINT
+from = SLV_SHIP_CURVE_PENALTY
+def = 1 * YAPF_TILE_LENGTH
+min = 0
+max = 1000000
+cat = SC_EXPERT
+
+[SDT_VAR]
+base = GameSettings
+var = pf.yapf.ship_curve90_penalty
+type = SLE_UINT
+from = SLV_SHIP_CURVE_PENALTY
+def = 6 * YAPF_TILE_LENGTH
+min = 0
+max = 1000000
+cat = SC_EXPERT
+
##
[SDT_VAR]
base = GameSettings