Improving Tundra through Wonder or Building

Pir Lan Tota

Warlord
Joined
Jan 28, 2008
Messages
276
Location
Manchester
Hi Guys,

I am looking for ways to improve Tundra through building or wonder. I was looking at the Lighthouse (improving food for sea), but seems you cant specify which terrain type it improves, as it specifies SeaPlotYieldChanges. I am wondering, is there a TundraPlotYieldChanges field or something like that?

If not, might just end up editing the Tundra value, but rather make ppl build a building or wonder for them.

Cheers,

Pir
 
There are no terrain modifying tags, apart from Sea & River plots, for buildings or wonders available via XML. It would require a dll change to add them to the XML.

It is probably possible to accomplish what you want via Python, but I only use it in very specific cases such as UI changes etc where it is required so couldn't really guide you in the best way of doing that.
 
The best way would be to do it through the dll. However python isn't powerless for this either. For instance if say you copy pasted Tundra terrain and calls the copy Tundra2, then you make sure the map generator will not use Tundra2. On wonder build event, loop all plots within reach of the city and change all plots with Tundra to Tundra2. You can then use xml to set Tundra2 to produce whatever you want.
 
ChaosSlayer, that is a very very good suggestion....I like the combined brainpower on this website, confirmation from Archid and Nightinggale that indeed it cant be done easily and the alternative solution :)

I will have a look at the improvement option :)

Gracias guys, as always much appreciated :)
 
Something to consider when using Python to add effects to buildings, etc. is that the AI will have no knowledge of the change and will therefore under value the building. Python has no good way of integrating with the AI decision making performed in the dll so this effectively adds a handicap to the AI.
 
Have been using the Improvement and actually works well. Even automated workers now bang that improvement on squares, much appreciated.
 
Back
Top Bottom