So I've been working on a mod for an upgraded refinery that will literally decompose every item into pixels. However i'm running into an annoying bug with the engine failing to recognize these new recipes. Some work, some don't, and i'll be damned if I can figure out why. This is the recipe to deconstruct copper ore, and it works just fine. Code: { "input" : [ { "item" : "copperore", "count" : 1 } ], "output" : { "item" : "money", "count" : 5 }, "groups" : [ "deconstructor" ] } However I try creating another recipe with the exact same syntax for say "plantfibre", and it refuses to work. Code: { "input" : [ { "item" : "plantfibre", "count" : 1 } ], "output" : { "item" : "money", "count" : 5 }, "groups" : [ "deconstructor" ] } It results in an error in the engine: Code: Error: Could not load /recipes/deconstructor/plantfibre.recipe asset, attempting to use default. AssetException: Could not read variant asset /recipes/deconstructor/plantfibre.recipe caused by: JsonParsingException: Cannot parse json file: /recipes/deconstructor/plantfibre.recipe caused by: JsonParsingException: Error parsing json: bad object, should be '{' at 2:3 0096B748 (C:/starbound/source/core/StarVariant.hpp:15) 007C1AC2 (C:/starbound/source/core/StarVariant.cpp:160) 004E874C (C:/starbound/source/core/StarVariant.hpp:27) 004E075F (C:/starbound/source/game/StarAssets.cpp:974) ... (4) 004EB16C (C:/starbound/source/game/StarAssets.cpp:660) 005B6E34 (C:/starbound/source/game/StarRecipeDatabase.cpp:63) 004DCC5F (C:/starbound/source/game/StarRoot.cpp:173) 004016D8 (C:/starbound/source/client/StarClientApplication.cpp:303) 0093FF9C (C:/starbound/source/core/StarThread_windows.cpp:68) 76513677 775B9D72 775B9D45 Warn: Slow asset 0.103 : /recipes/deconstructor/plantfibre.recipe I'm viewing these in notepad++ with all of the punctuation identifiers turned on and they are exactly the same in every shape. Any ideas what I'm doing wrong?
Code: caused by: JsonParsingException: Error parsing json: bad object, should be '{' at 2:3 Could be the reason?
Problem is those 2 are identical code segments except for the item name. It should error out with the copperore as well, but doesn't.