Official modding guide

Home / Data Files

stories.json

The stories.json file contains a list of custom scenarios to be added to the game. It does not contain the definition for any of the scenarios, this just registers them on the list in-game. The structure of this file contains an array of objects in JSON format. These objects must have the following keys:

Additionally, the following keys are optional:

stories.json can contain any number of scenarios in it. Specifying a link that already exists will overwrite the properties of that scenario.

Here's an example of a possible stories.json:

[
	{
		"link": "computerization",
		"requirements": [
			"hackersandaliens"
		],
		"unlockedWithAll": true
	},
	{
		"link": "advancedTechnology",
		"requirements": [
			"computerization"
		]
	}
]

GitHub repositoryOfficial modding guide