diff options
author | Patric Stout <truebrain@openttd.org> | 2021-03-24 23:25:51 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-03-26 12:22:32 +0100 |
commit | f05e2e0d408cfd018d9875855bd28383569481a9 (patch) | |
tree | 2f08a052703d6c745935e0abed5e7bb259c94287 /src/table/settings.ini | |
parent | 45c2c29c35afeb4116ff8fb3393ddc67ea1708da (diff) | |
download | openttd-f05e2e0d408cfd018d9875855bd28383569481a9.tar.xz |
Feature: allow setting a custom terrain type to define highest peak
At least, TGP will try to reach it. It heavily depends on the map
if it is reachable at all. But for sure it will do its atmost to
get there!
Diffstat (limited to 'src/table/settings.ini')
-rw-r--r-- | src/table/settings.ini | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index 694268e76..9f5a9b212 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -266,7 +266,7 @@ from = SLV_97 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY def = 1 min = 0 -max = 4 +max = 5 interval = 1 str = STR_CONFIG_SETTING_TERRAIN_TYPE strhelp = STR_CONFIG_SETTING_TERRAIN_TYPE_HELPTEXT @@ -2465,6 +2465,17 @@ cat = SC_BASIC [SDT_VAR] base = GameSettings +var = game_creation.custom_terrain_type +type = SLE_UINT8 +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +guiflags = SGF_NEWGAME_ONLY +def = MAP_HEIGHT_LIMIT_AUTO_MINIMUM +min = MIN_CUSTOM_TERRAIN_TYPE +max = MAX_MAP_HEIGHT_LIMIT +interval = 1 + +[SDT_VAR] +base = GameSettings var = game_creation.custom_sea_level type = SLE_UINT8 from = SLV_149 |