Hi,
I'm working on a mod that would allow players to plant a luxury or strategic (only ones like wheat or deer) once they have access to that resource. Bear in mind that I have a c/c++ and javascript background, but I'm thinking that I could create new improvements in xml that would mock the behavior of these luxury and strategic resources and then add an event in lua that would unlock these improvements once a player has built an improvements on one of these resources. Can I do something like this? Would there be a way to avoid the xml mock improvements? Where are these resources defined in the games lua files?
Thanks.
I'm working on a mod that would allow players to plant a luxury or strategic (only ones like wheat or deer) once they have access to that resource. Bear in mind that I have a c/c++ and javascript background, but I'm thinking that I could create new improvements in xml that would mock the behavior of these luxury and strategic resources and then add an event in lua that would unlock these improvements once a player has built an improvements on one of these resources. Can I do something like this? Would there be a way to avoid the xml mock improvements? Where are these resources defined in the games lua files?
Thanks.