Buildings producing resources

Warl0rd

Chieftain
Joined
Aug 7, 2007
Messages
47
can someone tell me please where in the xml i can see that the factory produces energy - or is this implemented somewhere else? how can i change the resources needed to produce energy?

same problem with hit singles/musicals: e.g. broadway produces musicals but I cannot find where it says so
 
yes seems that's it, thx

resources needed to produce energy - PowerBonus

hit singles/musicals etc - FreeBonus


seems bigger changes are possible only with hardcoding

but
BUILDING_NUCLEAR_PLANT says
<bPower>0</bPower>
<bDirtyPower>0</bDirtyPower>

does not produce power?
 
its because the uranium provides the power, not the nuclear plant, its just a facilitator. I would guess coal plant is the same via coal. At least thats the way it should be.

edit:

yes after looking at the buildinginfos.xml it is that way. Coal plant has
Code:
<bRiver>0</bRiver>
<bPower>0</bPower>
<bDirtyPower>1</bDirtyPower>

but this does not provide power. bDirtyPower means if there is power it produces 1 unhealthiness. What provides power with Coal plant (its the same method with nuclear plant) is a different tag.
Code:
<PowerBonus>BONUS_COAL</PowerBonus>

Its different with the hydro power plant which has
Code:
<PowerBonus>NONE</PowerBonus>

for its powerbonus. Instead it gets the power directly from the building, which also requires a river directly adjacent to the city.
Code:
<bRiver>1</bRiver>
<bPower>1</bPower>
<bDirtyPower>0</bDirtyPower>

this is pretty much all you need to know.

Shiggs
 
Back
Top Bottom