17,105
edits
(Partial update for v1.1.2, requires many amends to automated tables still) |
(→Repairing Buildings: Correct repair cost formula) |
||
Line 32: | Line 32: | ||
See: Township.getSingleResourceRepairCostForBuilding, | See: Township.getSingleResourceRepairCostForBuilding, | ||
-->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any decreased repair cost bonuses, where each {{BuildingIcon|Market}} built decreases the repair cost by 0.25%. The repair cost of a building can be calculated as follows: | -->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any decreased repair cost bonuses, where each {{BuildingIcon|Market}} built decreases the repair cost by 0.25%. The repair cost of a building can be calculated as follows: | ||
<math>\text{Repair Cost} = \text{Base Building Cost} \times \text{Max Buildings} \times \left ( 1 - \frac{\text{Building Cost Reduction %}}{100} \right ) \times \left ( 1 - \frac{\text{Repair Cost Reduction %}}{100} \right )</math> | <math>\text{Repair Cost} = \frac{\text{Base Building Cost}}{3} \times \text{Max Buildings} \times \left ( 1 - \frac{\text{Building Cost Reduction %}}{100} \right ) \times \left ( 1 - \frac{\text{Repair Cost Reduction %}}{100} \right )</math> | ||
Where <math>\text{Max Buildings}</math> is the maximum amount of that building that can be built within the biome in which the repair is taking place. | Where <math>\text{Max Buildings}</math> is the maximum amount of that building that can be built within the biome in which the repair is taking place. |