TheChanger
Warlord
Ok, so im on a mission to add a new yield type to civ for the Naeralith Reborn mod.
I have successfully added the yield to the XML and the font icon for it, however it currently does *nothing*. i know there is a lot that needs to be done to make a new fully functional yield like faith, but i have no idea exactly what to do or where to start.
Ideally id like this yield (its called Pigments) to be calculated exactly like culture or faith, and even be able to use it to purchase units and buildings with. Logically id need to start somewhere with Lua to get the game to add up all the pigments for the civ, but again, i have no idea where to start looking. ive been through all the lua files i could find, doing searched for culture, food, faith and gold to see if i could find out which file to start on but to no avail.
ANY help or suggestion would be greatly appreciated!
I have successfully added the yield to the XML and the font icon for it, however it currently does *nothing*. i know there is a lot that needs to be done to make a new fully functional yield like faith, but i have no idea exactly what to do or where to start.
Ideally id like this yield (its called Pigments) to be calculated exactly like culture or faith, and even be able to use it to purchase units and buildings with. Logically id need to start somewhere with Lua to get the game to add up all the pigments for the civ, but again, i have no idea where to start looking. ive been through all the lua files i could find, doing searched for culture, food, faith and gold to see if i could find out which file to start on but to no avail.
ANY help or suggestion would be greatly appreciated!