Constructing is a special kind of action and its properties depend on the type of construction one is building. Therefore the properties of this action are listed in this file instead of in the action.prop file.
For constructions there are two stages: the constructing stage and the production stage. The constructing stage is similar to the properties listed in actions.prop but is defined in this file to keep things together.
Key | Description | Example |
---|---|---|
The constructiontypes | ||
Constructions | A list of constructions possible in the game. | Constructions = CoalMine Farm PowerPlant Theatre |
Properties of constructiontypes -- construction phase | ||
Construction.constructing.<...> | The same properties as in actions.prop | CoalMine.constructing.usesResources = Energy(5) |
Construction.constructing.speed | The speed at which this construction is constructed. | CoalMine.constructing.speed = 10 |
Construction.constructing.shapes | The possible shapes for this construction. This is of the form: <width>x<size>:<data> where data is a bitstring in row order to mark the squares which are part of the construction. | CoalMine.constructing.shapes = 1x1:1 2x2:1101 |
Properties of constructiontypes -- production phase | ||
Construction.usesResources | A list of world resources the construction uses. | PowerPlant.usesResources = Coals(10) |
Construction.producesResources | A list of world resources the construction produces. | CoalMine.producesResources = Coals(20) |
Construction.usesLandResources | A list of land resources the construction uses. | CoalMine.usesLandResources = Coals(10) |
Construction.producesLandResources | A list of land resources the construction produces. | Cottage.producesLandResources = Cotton(10) |
Construction.priority | The priority for this construction. Constructions whith a high priority task will be allowed to perform first. Typical high priority constructions are constructions which produce food and energy. | Farm.priority = 11 |
######################## ## constructions.prop ## ######################## Constructions = Farm CoalMine PowerPlant Theatre Farm.constructing.usesResources = Energy(4) BuildingMaterial(10) Food(5) Farm.constructing.influencedBy = Happiness Farm.constructing.lands = PlainLand Farm.constructing.shapes = 1x1:1 1x2:11 2x1:11 2x2:1110 2x2:0111 Farm.constructing.speed = 10 Farm.usesResources = Energy(2) Farm.producesResources = Food(15) Farm.priority = 11 Theatre.constructing.usesResources = Energy(4) BuildingMaterial(10) Food(5) Theatre.constructing.influencedBy = Happiness Theatre.constructing.lands = PlainLand Theatre.constructing.shapes = 1x1:1 2x1:11 Theatre.constructing.speed = 3 Theatre.usesResources = Energy(2) Theatre.producesResources = Happiness(12) CoalMine.constructing.usesResources = Energy(4) BuildingMaterial(10) Food(5) CoalMine.constructing.influencedBy = Happiness CoalMine.constructing.lands = PlainLand Forest Rocks Roots BabyForest CoalMine.constructing.shapes = 1x1:1 2x1:11 2x2:0111 CoalMine.constructing.speed = 8 CoalMine.usesLandResources = Coals(10) CoalMine.producesResources = Coals(10) CoalMine.priority = 20 PowerPlant.constructing.usesResources = Energy(4) BuildingMaterial(10) Food(5) PowerPlant.constructing.influencedBy = Happiness PowerPlant.constructing.lands = PlainLand PowerPlant.constructing.transformsLand = PowerPlant.constructing.shapes = 1x1:1 1x2:11 2x2:1110 2x2:0111 PowerPlant.constructing.speed = 8 PowerPlant.usesResources = Coals(10) PowerPlant.producesResources = Energy(10) PowerPlant.priority = 15