doc/JSON/FACTION_MISSIONS.md
Faction Camps (aka basecamps) can send NPC followers on missions to perform some actions.
Those missions are currently mostly hardcoded, but we have begun moving them into JSON, starting with their descriptions.
| Field | Required? | Description |
|---|---|---|
"type" | yes | Must be "faction_mission" |
"id" | yes | Unique identifier for the mission, often "camp_something" |
"name" | yes | Short name for identifying the mission in a list or header |
"desc" | yes | Longer description of the mission |
"skill" | no | Skill checked and/or trained by performing the mission |
"items_label" | no | First word in "Foo possibilities:" header for list of possible items |
"items_possibilities" | no | Array of names of possible items returned from the mission |
"effects" | no | Array of descriptions of what the mission accomplishes |
"risk" | no | One of "NONE", "VERY_LOW", "LOW", "MEDIUM", "HIGH", "VERY_HIGH" |
"difficulty" | no | One of "NONE", "VERY_LOW", "LOW", "MEDIUM", "HIGH", "VERY_HIGH" |
"activity" | no | Exercise level, see Player Activity |
"time" | no | Description of how long the mission takes |
"positions" | no | Number of NPCs that can perform this mission at once |
"footer" | no | Text to display at the bottom of the entire description |
{
"type": "faction_mission",
"id": "camp_gathering",
"name": "Gathering",
"desc": "Send a companion to gather materials for the next camp upgrade.",
"skill": "survival",
"items_label": "Gathering",
"items_possibilities": [ "stout branches", "withered plants", "splintered wood" ],
"risk": "VERY_LOW",
"activity": "LIGHT_EXERCISE",
"time": "3 Hours, Repeated",
"positions": 3
},