Add settings for town/industry cargo production scaling modes

This commit is contained in:
Jonathan G Rennison
2024-01-16 19:12:10 +00:00
parent 53d29852e4
commit 3ab31f5518
8 changed files with 103 additions and 3 deletions

View File

@@ -765,6 +765,8 @@ struct EconomySettings {
bool infrastructure_maintenance; ///< enable monthly maintenance fee for owner infrastructure
uint16_t town_cargo_scale; ///< scale cargo production of towns by this percentage.
uint16_t industry_cargo_scale; ///< scale cargo production of industries by this percentage.
CargoScalingMode town_cargo_scale_mode; ///< scaling mode for town cargo.
CargoScalingMode industry_cargo_scale_mode; ///< industry mode for town cargo.
uint8_t day_length_factor; ///< factor which the length of day is multiplied
uint16_t random_road_reconstruction; ///< chance out of 1000 per tile loop for towns to start random road re-construction
bool disable_inflation_newgrf_flag; ///< Disable NewGRF inflation flag