DRK248
Chieftain
- Joined
- Jul 28, 2014
- Messages
- 19
Hi all! I'm developing a mod that adds an alternate leader to an existing civilization, and I would like help in figuring out how to implement some of the bonuses I've come up with for the leader's ability. In particular, I would like to understand whether it's even possible to implement my ideas since they go beyond effects and modifiers available in the game's database / DLL. I've done some Civ5 and Civ6 modding in the past but that was all XML-based.
I've listed two of the bonuses I need help with below, in order of priority:
I've listed two of the bonuses I need help with below, in order of priority:
- The most important bonus I would like to implement & need help with is as follows: international trade routes provide +2 Gold for every specialty district in the origin city (when the leader's civilization is in a golden age). This is similar to the suzerain bonus provided by the Kumasi city-state except that it applies to all international trade routes instead of just trade routes to city-states. Unfortunately the EffectType that is implements this suzerain bonus, 'EFFECT_ADJUST_CITY_STATE_TRADE_ROUTE_DISTRICT_YIELD', also only applies to city-states. How would I go about implementing my leader's bonus? Is there any way to create a new EffectType that extends the EffectType already available in the game and applies it to all international trade routes?
- Similar to how gold can be used to purchase buildings & districts, would it be possible to implement a bonus that allows a player to use gold to repair buildings & districts? If so, how would I go about doing so?