|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
#include <economyconfig.h>
Public Attributes | |
| struct { | |
| double base_price_deviation = 0.75 | |
| double shortage_level = 0.8 | |
| double default_market_access = 0.8 | |
| } | market_config |
| struct { | |
| double profit_multiplier = 0.001 | |
| double max_factory_delta = 0.01 | |
| double factory_min_utilization = 0.05 | |
| } | production_config |
A struct for all the configs that we want to configure for the economy
| double cqsp::core::systems::EconomyConfig::base_price_deviation = 0.75 |
Fraction that the price of a good can deviate from the base price.
| double cqsp::core::systems::EconomyConfig::default_market_access = 0.8 |
What to initialize our market access with.
| double cqsp::core::systems::EconomyConfig::factory_min_utilization = 0.05 |
| struct { ... } cqsp::core::systems::EconomyConfig::market_config |
| double cqsp::core::systems::EconomyConfig::max_factory_delta = 0.01 |
| struct { ... } cqsp::core::systems::EconomyConfig::production_config |
| double cqsp::core::systems::EconomyConfig::profit_multiplier = 0.001 |
| double cqsp::core::systems::EconomyConfig::shortage_level = 0.8 |
How much of a deficit we have ((demand - supply) / demand) to be considered a shortage.