STR_CONFIG_SETTING_MONEY_CHEAT_MULTIPLAYER_HELPTEXT :If enabled, non-admin multiplayer clients can use the money cheat. The money cheat is always available in single-player mode, and to the multiplayer server admin.
STR_CONFIG_SETTING_RENAME_TOWNS_MULTIPLAYER :Allow multiplayer clients to rename towns: {STRING2}
STR_CONFIG_SETTING_RENAME_TOWNS_MULTIPLAYER_HELPTEXT :If enabled, non-admin multiplayer clients which are not spectating can rename towns. Renaming towns is always available in single-player mode, and to the multiplayer server admin.
STR_CONFIG_SETTING_OVERRIDE_TOWN_SETTINGS_MULTIPLAYER :Allow multiplayer clients to override town settings: {STRING2}
STR_CONFIG_SETTING_OVERRIDE_TOWN_SETTINGS_MULTIPLAYER_HELPTEXT :If enabled, non-admin multiplayer clients which are not spectating can override town settings, on a per-town basis. Overriding individual town settings is always available in single-player mode, and to the multiplayer server admin.
STR_CONFIG_SETTING_MAP_HEIGHT_LIMIT_HELPTEXT :Set the maximum height of the map terrain. With "(auto)" a good value will be picked after terrain generation
STR_LOCAL_AUTHORITY_ACTION_TOOLTIP_EXCLUSIVE_TRANSPORT :{YELLOW}Buy 1 year's exclusive transport rights in town.{}Town authority will not allow passengers and cargo to use your competitors' stations.{}Cost: {CURRENCY_LONG}
STR_LOCAL_AUTHORITY_ACTION_TOOLTIP_BRIBE :{YELLOW}Bribe the local authority to increase your rating, at the risk of a severe penalty if caught.{}Cost: {CURRENCY_LONG}
###length 4
STR_LOCAL_AUTHORITY_SETTING_OVERRIDE_ALLOW_ROADS :Allowed to build roads
STR_LOCAL_AUTHORITY_SETTING_OVERRIDE_ALLOW_LEVEL_CROSSINGS :Allowed to level crossings
STR_LOCAL_AUTHORITY_SETTING_OVERRIDE_TUNNELS :Allowed to build tunnels
STR_LOCAL_AUTHORITY_SETTING_OVERRIDE_MAX_ROAD_SLOPE :Limit building continuous inclined roads
BuildingCounts<uint16>building_counts;///< The number of each type of building in the town
};
/** Town setting override flags */
enumTownSettingOverrideFlags{
TSOF_OVERRIDE_BUILD_ROADS=0,
TSOF_OVERRIDE_BUILD_LEVEL_CROSSINGS=1,
TSOF_OVERRIDE_BUILD_TUNNELS=2,
TSOF_OVERRIDE_BUILD_INCLINED_ROADS=3,
};
/** Town data structure. */
structTown:TownPool::PoolItem<&_town_pool>{
TileIndexxy;///< town center tile
@ -73,6 +81,12 @@ struct Town : TownPool::PoolItem<&_town_pool> {
mutablestd::stringcached_name;///< NOSAVE: Cache of the resolved name of the town, if not using a custom town name
byteflags;///< See #TownFlags.
byteoverride_flags;///< Bitmask of enabled flag overrides. See #TownSettingOverrideFlags.
byteoverride_values;///< Bitmask of flag override values. See #TownSettingOverrideFlags.
TownTunnelModebuild_tunnels;///< If/when towns are allowed to build road tunnels (if TSOF_OVERRIDE_BUILD_TUNNELS set in override_flags)
uint8max_road_slope;///< Maximum number of consecutive sloped road tiles which towns are allowed to build (if TSOF_OVERRIDE_BUILD_INCLINED_ROADS set in override_flags)
uint16church_count;///< Number of church buildings in the town.
uint16stadium_count;///< Number of stadium buildings in the town.
@ -173,6 +187,26 @@ struct Town : TownPool::PoolItem<&_town_pool> {