Faction-Specific Resources

V 0.0.1 mod for 0 A.D.

0
Downloads today
6,519
Downloads total
0
Comment Count

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:41
    Version 0.0.1

    Initial version.



Files


08.05 2018
Modhoster user rating
no rating Votes
V 0.0.1
0 A.D.
factionResources.zip
59 KB 6519
27. 07 2020 6,519

0 Comments for Faction-Specific Resources

You have to log in for writing comments.
You can also sign up for free, id you don't have an account yet - it only takes 5 minutes.

No comments yet.

Write the first comment...

      }