TechnologyUnit :: struct Example code
| count optional | :: uint64 | How many units are needed. [...] |
How many units are needed. [...] | ||
| count_formula optional | :: MathExpression | Formula that specifies how many units are needed per level of the technology. [...] |
Formula that specifies how many units are needed per level of the technology. [...] | ||
| time | :: double | How much time one unit takes to research. [...] |
How much time one unit takes to research. [...] | ||
| ingredients | :: array[ResearchIngredient] | List of ingredients needed for one unit of research. [...] |
List of ingredients needed for one unit of research. [...] | ||
Properties
count :: uint64 optional 
count_formula :: MathExpression optional 
Example
count_formula = "2500*(L - 3)"
time :: double
ingredients :: array[ResearchIngredient] 
Example 
unit =
{
count_formula = "2^(L-6)*1000",
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1},
{"production-science-pack", 1},
{"utility-science-pack", 1},
{"space-science-pack", 1}
},
time = 60
}

