In addition to their XML/SQL definition, new resources would require new 3D-map graphics (non-trivial), changes to the dreaded AssignStartingPlots.lua to add them to maps and a font icon (see your other post for problems with adding these)
Your best place to get examples would be from the CivV mods that add new resources - there are lots of them.
I had the same question as OP: is it possible to create a new yield type? Not a new resource type, a new yield type, like
was.
I am interested in turning the Affinity system into a yield system, based on Improvements. So Terrascapes would yield PurityYield, Arrays would yield SupremacyYield etc.
I'd have no need for new graphics and no need to assign a new resource to the map: players' actions will determine which tiles generate these yields, just as with placing a Manufactuary. I'd even be reusing existing fonticons.
But this does depend on whether it's possible to create (and manipulate) a new yield type.
So would adding three new lines to the Yield table set up three new counters? And would adding new lines to the Improvement_Yields table make improvements increment these new counters?
Has anyone ever produced a mod for
that creates a new yield type?
I would just go ahead and test, but I'm so completely new to modding that when it fails I'm not confident it won't be because I've done something wrong or forgotten something obvious.