Building: Adding culture to trade routes

Arkatakor

King
Joined
Mar 11, 2006
Messages
621
Location
Stockholm, Sweden
I am currently working on adding a building in my mod that gives culture for trade routes. However there is no XML variable to achive this (only for increased gold).

I imagine I will have to create a new XML variable and link it to some lua code, though i'm not exactly sure where to start.

Any pointers in the right direction would be appreciated!
 
It isn't directly possible. The method most mod-makers use is to create a dummy building that creates 1 Culture and by lua add or remove the correct number of the dummy building to the needed city for the relevant trade route.
 
It isn't directly possible. The method most mod-makers use is to create a dummy building that creates 1 Culture and by lua add or remove the correct number of the dummy building to the needed city for the relevant trade route.
Thanks for your reply. Yeah that sounds like a reasonable workaround. I am thinking, even if I take that approach I am not sure if the culture output will actually show up in the trade route screen (when establishing a trade route). Either way it sounds like a good work around; i'll look into it. Thanks again!
 
It won't show in the trade route screen. It will only show in the city view as coming from the building, and will not reference in any way the trade route, since you would be using trickery to create an effect that cannot be done directly to trade routes.
 
It won't show in the trade route screen. It will only show in the city view as coming from the building, and will not reference in any way the trade route, since you would be using trickery to create an effect that cannot be done directly to trade routes.
Sorry for the late reply - ok thanks for the heads up, appreciate it as always LeeS; you have been instrumental in getting my mod to work back when I was starting out :)
 
Back
Top Bottom