OpenTTD Source  20241120-master-g6d3adc6169
DifficultySettings Struct Reference

Settings related to the difficulty of the game. More...

#include <settings_type.h>

Data Fields

uint8_t competitor_start_time
 Unused value, used to load old savegames.
 
uint8_t competitor_intelligence
 Unused value, used to load old savegames.
 
uint8_t max_no_competitors
 the number of competitors (AIs)
 
uint16_t competitors_interval
 the interval (in minutes) between adding competitors
 
uint8_t number_towns
 the amount of towns
 
uint8_t industry_density
 The industry density. More...
 
uint32_t max_loan
 the maximum initial loan
 
uint8_t initial_interest
 amount of interest (to pay over the loan)
 
uint8_t vehicle_costs
 amount of money spent on vehicle running cost
 
uint8_t competitor_speed
 the speed at which the AI builds
 
uint8_t vehicle_breakdowns
 likelihood of vehicles breaking down
 
uint8_t subsidy_multiplier
 payment multiplier for subsidized deliveries
 
uint16_t subsidy_duration
 duration of subsidies
 
uint8_t construction_cost
 how expensive is building
 
uint8_t terrain_type
 the mountainousness of the landscape
 
uint8_t quantity_sea_lakes
 the amount of seas/lakes
 
bool economy
 how volatile is the economy
 
bool line_reverse_mode
 reversing at stations or not
 
bool disasters
 are disasters enabled
 
uint8_t town_council_tolerance
 minimum required town ratings to be allowed to demolish stuff
 
bool infinite_money
 whether spending money despite negative balance is allowed
 

Detailed Description

Settings related to the difficulty of the game.

Definition at line 95 of file settings_type.h.

Field Documentation

◆ industry_density

uint8_t DifficultySettings::industry_density

The industry density.

See also
IndustryDensity

Definition at line 102 of file settings_type.h.

Referenced by IndustryBuildData::EconomyMonthlyLoop().


The documentation for this struct was generated from the following file: