Aidence
The Archduke
- Joined
- Nov 23, 2013
- Messages
- 224
I made a couple mods for Civ 5 but never got around to completely understanding lua. So I would like to learn how to use lua for my civ 6 mods. I would also like to learn the ins-and-outs of modding civ 6. So here are my questions.
1) In lua, would GetTechs also apply to civics? Also, how would I make it so that a civilization gets the Holy War casus belli with the divine right civic?
2) How do I structure a lua file?
3) Do I just add create the lua file then add it under the files part of the .modinfo file?
4) How do requirements work, where do I add them, and what is possible with them?
5) When adding a civilization, how would I go about removing a city state because the civ uses that city?
6) How would I make a building that replaces another building come with a different tech?
1) In lua, would GetTechs also apply to civics? Also, how would I make it so that a civilization gets the Holy War casus belli with the divine right civic?
2) How do I structure a lua file?
3) Do I just add create the lua file then add it under the files part of the .modinfo file?
4) How do requirements work, where do I add them, and what is possible with them?
5) When adding a civilization, how would I go about removing a city state because the civ uses that city?
6) How would I make a building that replaces another building come with a different tech?
Last edited: