Add setting to control if and how land purchasing is permitted

This commit is contained in:
Jonathan G Rennison
2018-11-26 18:25:17 +00:00
parent c9c3e6f574
commit e3207a77fb
6 changed files with 43 additions and 1 deletions

View File

@@ -1524,6 +1524,20 @@ str = STR_CONFIG_SETTING_ALLOW_STATIONS_UNDER_BRIDGES
strhelp = STR_CONFIG_SETTING_ALLOW_STATIONS_UNDER_BRIDGES_HELPTEXT
patxname = ""allow_stations_under_bridges.construction.allow_stations_under_bridges""
[SDT_VAR]
base = GameSettings
var = construction.purchase_land_permitted
type = SLE_UINT8
guiflags = SGF_MULTISTRING
def = 1
min = 0
max = 2
interval = 1
str = STR_CONFIG_SETTING_PURCHASE_LAND_PERMITTED
strhelp = STR_CONFIG_SETTING_PURCHASE_LAND_PERMITTED_HELPTEXT
strval = STR_PURCHASE_LAND_PERMITTED_NO
patxname = ""purchase_land_permitted.construction.purchase_land_permitted""
[SDT_BOOL]
base = GameSettings
var = station.adjacent_stations