It's my first time making a mod and a I thought I'd take a swing at adding an ability to the Ming Lijia civic, that generates treasure fleets/convoys in their capital when suzerain of a city state. It would give treasure points per city state suzerained (one per city state), similar to the new Inca ability that generates them in cities with three mountains.
However, I am struggling to be honest and I don't know how to go about this. I'm using the unofficial Majapahit rework mod as a guide but I'm lost. I thought that every effect I'm trying to use will already exist in the game (unique treasure fleet generation, effect per city state suzerained, etc.) but I don't know how to bring it all together. I can get the capital to just start producing them once Lijia is researched, but I can't work out how to predicate that on city states suzerained.
Any help or guidance would be appreciated. I'm using xml with Visual Studio Code.
However, I am struggling to be honest and I don't know how to go about this. I'm using the unofficial Majapahit rework mod as a guide but I'm lost. I thought that every effect I'm trying to use will already exist in the game (unique treasure fleet generation, effect per city state suzerained, etc.) but I don't know how to bring it all together. I can get the capital to just start producing them once Lijia is researched, but I can't work out how to predicate that on city states suzerained.
Any help or guidance would be appreciated. I'm using xml with Visual Studio Code.
Last edited: