Proper Treasure Format, faulty connection?
GhostXavier opened this issue ยท 2 comments
The above is the full list of the treasures.json. The server fails to load these properly into the encounters.
An example of the Encounters code in case the treasures group are mislabeled.
http://pastebin.com/WSLmhXgQ
I can't seem to find anything wrong with the code but the server still fails to detect the specific categories. Ex, it would state "MainLoot" would be invalid for castle4.
The treasures.json in the paste is not valid JSON. Starting at line 54, there are invalid object literals enclosing each treasure option.