Hi, I've actually worked on how to convert .csv (comma-separated value) into JSON a little while back. You can use the .csv as a reference.
For instance, the CSV refers to the main category and subcategory as something like "
Announcement.
HasArrived".
Let's say you want to change the "HasArrived" and "HasAwoken" strings, but as a JSON entry. The default strings would then look like this:
I've noted the major and minor sets in their respective colors. In JSON, you start with the major ("Announcement") and for each minor set ("HasArrived", "HasAwoken") they are located in the sub-nest of the major.
I know looking at CSV is a bit of a pain, but if you have a spreadsheet editor like the sheets from LibreOffice or equivalent, you can convert CSV into an easier to read table. Then you can reference that when making your JSON. Just keep what I posted in mind and you shouldn't have problems.
Case example: Let's say you want to change how the game announces that NPCs are throwing parties. The CSV entries are:
- Game.BirthdayParty_1
- Game.BirthdayParty_2
- Game.BirthdayParty_3
In my altered events pack, the JSON will look like this:
Because BirthdayParty_1, BirthdayParty_2, BirthdayParty_3 are subsets of "Game".