
How come the custom temperature .json files randomly re-organize themselves?
vizthex123 opened this issue ยท 4 comments
I have armour sets grouped together so they're easier to find, but whenever the game loads it just re-organizes them for no reason.
It does at least change the values, but it's quite irksome that it ruins my groupings.
Annoyingly the JSON format is unordered, so it screws with the order of stuff
If you're editing the files with notepad and not using the ingame commands, you can set the JSON files to read-only and that should stop them shuffling about
Really? If you know of a mod that doesn't shuffle things around I'd love to know about it so I can learn from how they did it.
edit: my initial guess is that other mods only make the json file once, and don't keep updating it
my mod will read the json, then write it again for mod compatibility reasons (hence why you might need to set it to read only)
Really? If you know of a mod that doesn't shuffle things around I'd love to know about it so I can learn from how they did it.
edit: my initial guess is that other mods only make the json file once, and don't keep updating it
my mod will read the json, then write it again for mod compatibility reasons (hence why you might need to set it to read only)
Well, there's FTGU, Dropt, Lore Expansion, and more.
Those are the main ones I use though, and the files stay the way I make them.
Could you perhaps make it not write the file again? Maybe print errors in chat/the log if something goes wrong?