Aussie_Lurker
Deity
Hiya guys. Something I have wanted to do for the longest time is to have a more 'Dynamic' Tech tree. One way of doing that, IMO, is to limit some of the techs a civ has access to based on their access to resources. Taken to its logical conclusion-this could open up whole strings of techs which ONLY those civs with appropriate resources can tap into.
On a less ambitious note, I would really just like to have a situation where, if you have no horses, you can't learn Horseback Riding and if you lack Copper you can't learn Bronze Working.
So, the question is, can I make resource access a preprequisite of the CanDoResearch function in CvGameUtils? I have searched the API and can find no reference to resource at all.
If it can be done, can someone suggest how I incorporate it?
Thanks in advance.
Aussie_Lurker.
On a less ambitious note, I would really just like to have a situation where, if you have no horses, you can't learn Horseback Riding and if you lack Copper you can't learn Bronze Working.
So, the question is, can I make resource access a preprequisite of the CanDoResearch function in CvGameUtils? I have searched the API and can find no reference to resource at all.
If it can be done, can someone suggest how I incorporate it?
Thanks in advance.
Aussie_Lurker.