Kiki-EZPreset2Assort 1.0.0

This mod is a tool for taking presets that you have built in your profile, and exports them into a format compatible with trader assorts, whilst preserving locales tags.

Put the ID of your profile in const profileID.
Run the server, then close the server.
Copy the assort.JSON and setup.JSON files that have been created in the output folder, and paste them into the res folder of your trader mod.

In your trader mod you will require the following to be pasted into its mod.ts.postDBLoad (you can find chomps example here to build off)


You can then set your prices and requirements in setup.JSON.
This works with roubles only currently, you can repeat with different sets of presets with additional currencies / barters if required. (Or you could add a prefix to your builds names to determine type of currency and strip it at import, go wild)