Hey there all! I'm getting to the point where I'm putting finishing touches on the mod I'm making, and one of the things I've yet to delve into is Lua coding. I did plenty of it in Civ 5, but lots of stuff has changed in 6, and I don't know where to find stuff like event hooks, etc. I was hoping someone would be so kind as to provide a simple snippet of code for me to work on, or even some pseudocode, I just need stuff like the particular hook and function to use, and I'm golden.
The effect I'm trying to make is thus: When completing a mission for a specific type of City State, gain an extra Envoy that that City State. I plan to use this as an ability for multiple leaders/civs, each with a different City State type for this effect.
Alternately, if someone could point me to a list of lua functions/hooks/etc, I'd be very grateful.
The effect I'm trying to make is thus: When completing a mission for a specific type of City State, gain an extra Envoy that that City State. I plan to use this as an ability for multiple leaders/civs, each with a different City State type for this effect.
Alternately, if someone could point me to a list of lua functions/hooks/etc, I'd be very grateful.