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.
Classes | Public Attributes | List of all members
cqsp::core::systems::EconomyConfig Struct Reference

#include <economyconfig.h>

Classes

struct  ProductionConfig
 

Public Attributes

struct {
   double   base_price_deviation = 0.75
 
   double   shortage_level = 0.8
 
   double   default_market_access = 0.8
 
} market_config
 
struct cqsp::core::systems::EconomyConfig::ProductionConfig production_config
 

Detailed Description

A struct for all the configs that we want to configure for the economy

Member Data Documentation

◆ base_price_deviation

double cqsp::core::systems::EconomyConfig::base_price_deviation = 0.75

Fraction that the price of a good can deviate from the base price.

◆ default_market_access

double cqsp::core::systems::EconomyConfig::default_market_access = 0.8

What to initialize our market access with.

◆ 

struct { ... } cqsp::core::systems::EconomyConfig::market_config

◆ production_config

struct cqsp::core::systems::EconomyConfig::ProductionConfig cqsp::core::systems::EconomyConfig::production_config

◆ shortage_level

double cqsp::core::systems::EconomyConfig::shortage_level = 0.8

How much of a deficit we have ((demand - supply) / demand) to be considered a shortage.


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