It count every building that consumes power. There are 12 buildings that do consume power.
Was the population 22 at the time the wonder was built?
Yes. Was it still correct last turn? Best way to solve this would be a save where it is correct and a set of instructions to get to this situation.
Do you know when it last changed hands? If so, a save from before that?
Anything that happens 5 turns ago and more -- has no autosave with my setup, so I would not know, I just discover irregularities many turns later. Interestingly, when New York goes size 25 -- this Wonder starts working correctly.Was the population 22 at the time the wonder was built?
Then something seems awry, look at the Oil Industry yieldBoth. 1 sugar resource is counted as 1 oil resource.
Then something seems awry, look at the Oil Industry yield
if (isActiveCorporation(eCorporation) && !isDisorder())
{
for (int i = 0; i < GC.getNUM_CORPORATION_PREREQ_BONUSES(); ++i)
{
BonusTypes eBonus = (BonusTypes)GC.getCorporationInfo(eCorporation).getPrereqBonus(i);
if (eBonus == NO_BONUS)
{
continue;
}
iNumBonuses = getNumBonuses(eBonus);
// Leoreth: Brazilian UP (sugar counts as oil for oil industry)
if (getOwner() == BRAZIL && eBonus == BONUS_OIL && eCorporation == (CorporationTypes)6)
{
iNumBonuses += getNumBonuses(BONUS_SUGAR);
}
// Leoreth: includes Dutch UP (double yield from trading company)
if (iNumBonuses > 0)
{
//iCommerce += (GC.getCorporationInfo(eCorporation).getCommerceProduced(eIndex) * iNumBonuses * GC.getWorldInfo(GC.getMapINLINE().getWorldSize()).getCorporationMaintenancePercent()) / 100;
iCommerce += ((getOwner() == NETHERLANDS && eCorporation == (CorporationTypes)1) ? 2 : 1) * (GC.getCorporationInfo(eCorporation).getCommerceProduced(eIndex) * std::min(12, getNumBonuses(eBonus)) * GC.getWorldInfo(GC.getMapINLINE().getWorldSize()).getCorporationMaintenancePercent()) / 100; //Rhye - corporation cap
}
}
}
IIRC this is a remnant from when the Byzantines were not playable and were a leader change/dynamic name for the Celts.I discovered that for some reason there are two Justinian I's.