Bonus Production from Resources!!!

Firehazurd

Chieftain
Joined
Mar 19, 2007
Messages
49
Location
Virginia
I am trying to create a unique building for a civilization that provides bonus production for having access to a certain resource. Much like the Granary provides bonus health for certain resources. I have yet to be able to find a way to accomplish this.

Any ideas?
 
I'm trying to do the same thing. My first thought was a python call in onCityDoTurn that sets the hammers of the building to the appropriate value each turn, much like some events to.

I figured out that CyCity.setBuildingCommerceChange can be used to change the various commerce yields, however I want to change hammers and I don't know how to read the current value, which must be done in order to prevent geometric growth of the yield.

Does anyone know what functions should be used or a good reference for Beyond the Sword?
 
Back
Top Bottom