diff options
author | Patric Stout <truebrain@openttd.org> | 2021-03-24 16:38:36 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-03-26 12:22:32 +0100 |
commit | 70bc55cfd6e14f710427012b03aa211a0d85ca0f (patch) | |
tree | b61c6c7e26f799afe542000d77f7cd3811d252d4 /src/table | |
parent | cafe4eed6e482149eefe75393ad3a13e0f6e7ffe (diff) | |
download | openttd-70bc55cfd6e14f710427012b03aa211a0d85ca0f.tar.xz |
Feature: setting to indicate desert coverage for tropic climate
This is an indication value; the game tries to get as close as it
can, but due to the complex tropic rules, that is unlikely to be
exact.
In the end, it picks a height-level to base the desert/tropic
line on. This is strictly seen not needed, as we can convert any
tile to either. But it is the simplest way to get started with
this without redoing all related functions.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index 1a7eb12e3..55518ef76 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -1433,6 +1433,21 @@ strhelp = STR_CONFIG_SETTING_SNOW_COVERAGE_HELPTEXT strval = STR_CONFIG_SETTING_SNOW_COVERAGE_VALUE cat = SC_BASIC +[SDT_VAR] +base = GameSettings +var = game_creation.desert_coverage +type = SLE_UINT8 +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +guiflags = SGF_NEWGAME_ONLY +def = DEF_DESERT_COVERAGE +min = 0 +max = 100 +interval = 10 +str = STR_CONFIG_SETTING_DESERT_COVERAGE +strhelp = STR_CONFIG_SETTING_DESERT_COVERAGE_HELPTEXT +strval = STR_CONFIG_SETTING_DESERT_COVERAGE_VALUE +cat = SC_BASIC + [SDT_NULL] length = 4 to = SLV_144 |