Can a Wonder give a specific free tech?

Willows_Puppy

Chieftain
Joined
May 21, 2003
Messages
8
I'm perusing the BuildingInfos.xml and the closest thing that exists in Vanilla Civ that does what I want is the Oracle which contains:

Code:
<iFreeTechs>1</iFreeTechs>

which gives the player one researchable tech of his choice. What I need is a way for a Wonder to give the player a specific tech free (i.e. completing the wonder gives the user Drama).

Any ideas?
 
Well, you might need to use the onBuildingBuilt method in the CvEventManager class. Beyond that I don't know if it can be done with the vanilla XML.
 
Yea, as TheLopez has stated, python is needed. There is no way to do this directly in the vanilla XML.
 
Back
Top Bottom