I used and outdated tutorial and I have everything working ok but I can't craft them outside of admin mode. Everything looks exactly the same but I still cant craft them, they don't show up in the menu unless i'm in admin mode. Any help would be appreciated.
You need add this to player.config.patch: Code: { "op" : "add", "path" : "/defaultBlueprints/tier1/-", "value" : { "item" : "YourItemName" } } Also, do you created a recipe to your item? Check your starbound.log too to see if you have errors in your mod.
And now the fun begins: [185:17.882] [Error] OpenGL errors this frame: GL_INVALID_VALUE [185:23.064] [Error] Exception caught loading asset: /recipes/anvil1/weapons/teir1/testrifle.recipe, (AssetException) Could not read JSON asset /recipes/anvil1/weapons/teir1/testrifle.recipe Caused by: (JsonParsingException) Error parsing json: unexpected character parsing word at 4 [185:23.124] [Error] Exception caught loading asset: /recipes/anvil1/weapons/teir1/testrevolver.recipe, (AssetException) Could not read JSON asset /recipes/anvil1/weapons/teir1/testrevolver.recipe Caused by: (JsonParsingException) Error parsing json: unexpected character parsing word at 4 [185:23.970] [Error] Could not load recipe /recipes/anvil1/weapons/teir1/testrifle.recipe: (AssetException) Error loading asset /recipes/anvil1/weapons/teir1/testrifle.recipe [185:24.439] [Error] Could not load recipe /recipes/anvil1/weapons/teir1/testrevolver.recipe: (AssetException) Error loading asset /recipes/anvil1/weapons/teir1/testrevolver.recipe [185:29.373] [Error] Could not instantiate item '[conduit, 199, {}]'. (ItemException) No such item 'conduit' [1851.493] [Error] Could not instantiate item '[conduit, 199, {}]'. (ItemException) No such item 'conduit' [1852.722] [Error] Cannot set Steam achievement kill10poptops [1852.723] [Error] Cannot set Steam achievement dismisscrewmember And this is the player.config.patch: { "op" : "add", "path" : "/defaultBlueprints/tier1/-", "value" : { "item" : "testrevolver", "testrifle", "testvector" } }
The cool thing is if I rename the player.config.patch to player.patch I can play the game and use the weapons without crashing
I guess something is off here: { "input" : [ { "item" : "ironbar", "count" : 6 }, ], "output" : { "item" : "testrevolver", "count" : 1 }, "groups" : [ "craftinganvil", "weapons", "all" ] }
First, don't spam to much and second i find some errors: " /recipes/anvil1/weapons/teir1/", you misspelled tier1, is "tier1" not "teir1" in the recipe you have an extra comma, it should look like this(i fix it): Code: { "input" : { "item" : "ironbar", "count" : 6 }, "output" : {"item" : "testrevolver","count" : 1}, "groups" : [ "craftinganvil", "weapons", "all" ] } For the player.config: 1.- Create a .txt file and open it. 2.- Copy and paste this: Code: [ { "op" : "add", "path" : "/defaultBlueprints/tier1/-", "value" : { "item" : "testrevolver" } } ] 3.- Choose the option "Save as..." and save your file and name it player.config.patch. 4.-If you do it right, the file only should say "player.config" and it will have type of file "patch" if you are in windows.
Sorry for the spam, and I fixed my issue. All I had to do was place brackets like you did but have a comma after them. Also found some spelling errors like "testniperrifle" and that should have been "testsniperrifle". Thanks for your help!