description
With this mod, a modder may specify that a resource may only be gathered, traded, and sent as tribute by specific civilisations or factions. (Or exclude specific civilisations or factions from these actions for that resource.)
To add this mod as a dependency of your own mod, add "factionResources"
to the dependencies
section of your mod's mod.json
.
Usage
To limit a resource to a specific faction, add the following line to the appropriate simulation/data/resources/{res}.json
file:
'civs': ["civ"],
where civ
is the civ code of your faction.
To exclude a particular faction from using a particular resource, add the following line to the appropriate simulation/data/resources/{res}.json
file:
'notcivs': ["civ"],
where civ
is the civ code of the faction to exclude.
As both lines are arrays, you may add as many civs as you feel: ["civ1", "civ2", ..., "civN"]
.
Credits
-
27 Jul 00:41Version 0.0.1
Initial version.
0 Comments for Faction-Specific Resources