Add setting to limit length of continuous inclined roads built by towns

Default to max 4 tiles
This commit is contained in:
Jonathan G Rennison
2022-10-10 18:14:09 +01:00
parent 1e4912cf78
commit 846cd7e228
6 changed files with 52 additions and 2 deletions

View File

@@ -689,6 +689,7 @@ struct EconomySettings {
bool sharing_payment_in_debt; ///< allow fee payment for companies with more loan than money (switch off to prevent MP exploits)
bool allow_town_level_crossings; ///< towns are allowed to build level crossings
TownTunnelMode town_build_tunnels; ///< if/when towns are allowed to build road tunnels
uint8 town_max_road_slope; ///< maximum number of consecutive sloped road tiles which towns are allowed to build
int8 old_town_cargo_factor; ///< old power-of-two multiplier for town (passenger, mail) generation. May be negative.
int16 town_cargo_scale_factor; ///< scaled power-of-two multiplier for town (passenger, mail) generation. May be negative.
int16 industry_cargo_scale_factor; ///< scaled power-of-two multiplier for primary industry generation. May be negative.