Faction-Specific Resources

58.96kb

factionResource_grey.jpg

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"].

Details

RankDownloadsCreatorAddedUpdated
6 of 202,126 (1 today)s0600204

Releases

FilenameSizeVersionAddedOptions
factionResources.zip58.96kb0.0.1

Comments

lionkanzen
lionkanzen @lionkanzen

Can be useful , ty.

Reply ยท