Question about Building and resources

Arne

King
Joined
Apr 24, 2001
Messages
890
Location
Rostock (GER)
I'm not sure, ift it is a stupid question, but I did'nt find what I was looking for in the CIV4BuildingInfos.xml. I want to change the output of beakers (knowledge) for a building, if a resource is connected to city. (For example imagine there is a a monastery and there is bee wax. If the bee wax is available in the city with that monastery, the monks could use it for making candles so it is possible to read/write more and longer at any day. So instad of... lets say +25% now there is an additional bonus from another +10% -> that City with monastery and bee wax has +35% knowledge output.)

Is that to do with CIV4BuildingInfos.xml? I read the wiki, but like I wrote, I'm not sure, if I missed it, or if it's not possible.
 
It can currently be Done for Yield Bonus like that on the IronWorks, their dosn't currently seem to be an equivilent for Commerce. I think I will put that on my TODO list as its a rather simple cut/rename/paste of the existing code and it could add a lot of modability to the game.
 
Lord Olleus, I know I can do that for food, production and gold, like you did it in your mod, but I need it for knowledge, you see?

Thank you both, it seems like it won't work, becouse I'm not familar with python. :(

Edit/crosspost: Impaler, that sounds good. Yes, there are some comerce tags, are you sure, one of that is for bakers? If so, I will try that soon.
 
Lord Olleus said:
I have it so that the dummy buildings add gold. All you have to do is change the commerce tags fo the building.

<iYield>x</iYield> food
<iYield>x</iYield> production
<iYield>x</iYield> commerce

<iCommerce>x</iCommerce> gold
<iCommerce>x</iCommerce> science
<iCommerce>x</iCommerce> culture
Ah, I see. Thank you very much. :)
 
Back
Top Bottom