Feature: Set a custom number of industries in map generation window (#10340)

This commit is contained in:
Tyler Trahan
2023-01-14 05:12:29 -05:00
committed by GitHub
parent 5c64cdcb79
commit 2206c73156
5 changed files with 47 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ var = difficulty.industry_density
type = SLE_UINT8
from = SLV_97
flags = SF_GUI_DROPDOWN
def = ID_END - 1
def = ID_NORMAL
min = 0
max = ID_END - 1
interval = 1

View File

@@ -271,6 +271,13 @@ min = 1
max = 5000
cat = SC_BASIC
[SDT_VAR]
var = game_creation.custom_industry_number
type = SLE_UINT16
def = 1
min = 1
max = 64000
[SDT_VAR]
var = game_creation.custom_terrain_type
type = SLE_UINT8