Allow specifying a custom number of industries in map generation window

This commit is contained in:
Jonathan G Rennison
2021-12-08 17:33:32 +00:00
parent b807f0d50e
commit b69521ea87
4 changed files with 48 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ var = difficulty.industry_density
type = SLE_UINT8
from = SLV_97
flags = SF_GUI_DROPDOWN
def = ID_END - 1
def = ID_HIGH
min = 0
max = ID_END - 1
interval = 1
@@ -3709,6 +3709,15 @@ min = 1
max = 5000
cat = SC_BASIC
[SDT_VAR]
var = game_creation.custom_industry_number
type = SLE_UINT16
def = 1
min = 1
max = 64000
cat = SC_BASIC
patxname = ""game_creation.custom_industry_number""
[SDT_VAR]
var = construction.extra_tree_placement
type = SLE_UINT8