Allows configuring the height at which rainforests start, which by default was controlled by dividing the map maxheight by 4 in landscape.cpp. Default setting is 8 which matches and should provide default behavior in new map creation.

This commit is contained in:
reldred
2021-03-20 20:53:22 +10:30
parent 4386da53ee
commit 07397783f8
7 changed files with 23 additions and 1 deletions

View File

@@ -2217,6 +2217,20 @@ strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
strval = STR_JUST_COMMA
cat = SC_BASIC
[SDT_VAR]
base = GameSettings
var = game_creation.rainforest_line_height
type = SLE_UINT8
guiflags = SGF_NO_NETWORK
def = 8
min = 1
max = 255
interval = 1
str = STR_CONFIG_SETTING_RAINFORESTLINE_HEIGHT
strhelp = STR_CONFIG_SETTING_RAINFORESTLINE_HEIGHT_HELPTEXT
strval = STR_JUST_COMMA
cat = SC_BASIC
;;game_creation.desert_amount
[SDT_NULL]
length = 1