Resources
Calculation
By Building - byBuilding
byBuildingIf True the building's production will be calculated by the building instead. If False the building production/consume will be done by each tile.
Attribute Type: Boolean (default: False).
As example, if you have a building of 3x3, the production would be 9x what you specified in case this value is not defined or set as False.
This also apply to how it's seen by other building, they'll count it as only 1 tile when doing their requirements calculations.
Counts Itself - countsItself
countsItselfThe building requirements or upgrades will count their own resource and variables.
Attribute Type: Boolean (default: False).
Production & Consume
Cost - cost
costCost of the building on placement.
Attribute Type: List of Resources.
The building will cost:
50x
Work10x
Wood
"cost":
[
{
"rec": "trabajo0",
"q": 50
},
{
"rec": "madera",
"q": 10
}
]The building will cost:
20x
Coal15x
Highly Skilled Work
"cost":
[
{
"rec": "carbon",
"q": 20
},
{
"rec": "trabajo2",
"q": 15
}
]Local Variables - localVariables
localVariablesProduce/Consume one or multiples local variables.
Attribute Type: List of Resources.
The building will produce:
10x
Density5x
Leisure
"localVariables":
[
{
"locVar": "densidad",
"q": 10
},
{
"locVar": "comodidad",
"q": 5
}
]The building will produce:
10x
Density
The building will consume:
5x
Leisure
"localVariables":
[
{
"locVar": "densidad",
"q": 10
},
{
"locVar": "comodidad",
"q": -5
}
]Produces - produces
producesProduce/Consume one or multiples resources
Attribute Type: List of Resources.
Resource Extraction - resourceExtraction
resourceExtractionStore one or multiples resources.
Attribute Type: Resource Extraction.
Storage - storage
storageStore one or multiples resources.
Attribute Type: List of Resources.
Last updated