I've been working on introducing changes in the XML Schema files ( those that define a correctly formed entity should contain ), essentially to allow for units, buildings and techs to provide new advances - say a Military Advisor Unit that would provide +4 XP to units in the city where he's currently located - or technologies that provide bonus to science and so on.
I seem to be limited by the inability to define Get and Set functions, short of fiddeling with the compiled code ( which I have no intention of doing before the SDK is released ).
Anybody have any comments on how to work around this - or knowledge of some manner to accomplish this through the available .py classes?
I seem to be limited by the inability to define Get and Set functions, short of fiddeling with the compiled code ( which I have no intention of doing before the SDK is released ).
Anybody have any comments on how to work around this - or knowledge of some manner to accomplish this through the available .py classes?