JSONLoader
Add/Change ATS without code. Use json files instead.
About this mod Author’s original text
JSONLoader
This is a simple mod for Against the Storm that allows you to load JSON files from your computer into the game.
These files can add new content or change existing content.
NO CODING REQUIRED
To add/modify content you just need to create a new file in a particular folder with the extension.json (Also known as a JSON files) and changing little bits to get the desired result.
Example: Meatlovers_good.json
_good defines the type of content you are adding/modifying.
Exporting
JSONLoader allows you to export all supported data of the game to your computer so you can copy+paste, compare or edit as you need.
Any images related to the game such as race profile pictures or building icons will be saved as.png files.
Any data such as buildings with all their info such as what recipes they can craft will be saved as.json files.
Any sound related files will be saved as.wav files.
To trigger an Export:
- Open the game
- Options -> Mods -> JSONLoader
- Change Export On Game Load to true
- Restart the game.
NOTE: The game starts it will freeze for a LONG time until its finished saving files to your PC
At the time of v1.9.3 the export folder is roughly 28mb
The exported files will be in the %userprofile%\AppData\LocalLow\Eremite Games\Against the Storm\JSONLoader\Exported folder.
Schemas
The export folder contains a Schemas folder that will contain a.json file for all data types supported by JSONLoader.
These are helpful for you to use an online form to fill out.json files and save them instead of manually writing them which can be quite tedious.
How to use them:
- Open a.json file from the Schemas folder that you want to create a change for. Example: GoodsData.json
- Copy all the text inside it with ctrl+a and ctrl+c
- Open this url:
- Scroll to the bottom where it says Schema
- Paste the text inside the text box
- Press Update Schema
- The form will now be filled out with information about goods.
- Make your changes
- When you're done making changes copy the text under JSON Output.
- Make a new.json file with the correct extension name and paste the text inside it: eg: mynewgood_good.json
Importing
To load a JSON file into the game you need to place the file in the plugins folder of BepInEx.
-: %appdata%\ Mod Manager\DataFolder\AgainstTheStorm\profiles\Default\BepInEx\plugins
- Manual Install: AgainstTheStorm\BepInEx\plugins
When you start the game the files will be loaded and any errors will show in console.
To reload while in game press F5 and the game will reload the files, or you can modify this in the key bindings tab of Against the Storms options menu.
- Note: Removing a.json file will not update the game but changing the.json file and images it references will update in the game.
Goods
Goods are items that can be traded, sold, eaten or burned. (Wood, planks, coal... etc).
To create new goods use the below as an example and name the file *_good.json. Example: pizza_good.json
{
"guid": "MyMod",
"name": "Pizza",
"icon": "pizza.png",
"displayName": "Pizza",
"description": "Delicious New York style pizza",
"shortDescription": "Delicious New York style pizza",
"category": "Food",
"eatable": true,
"canBeBurned": false,
"burningTime": 1,
"eatingFullness": 2.5,
"tradingBuyValue": 2.3,
"tradingSellValue": 10,
"allTradersSellingThisGood": true,
"allTradersBuyThisGood": true
}
To replace existing goods just use the GUID and name of the good you want to change. If you're changing a vanilla good you can use the GUID ``.
Go to for a list of all goods in the game. and use the ID of the good as the name in the.json file.
{
"name": "[Mat Processed] Planks",
"icon": "planks.png",
"burningTime": 10
}
Races
Ids: Beaver, Foxes, Harpy, Human, Lizard, Frog
Creating new races not yet supported via.json yet.
To edit an existing Race use the below as an exam
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: