I'm trying to create an item that's able to be craftable and placeable as a tile, but I can't seem to be able to make it craftable. I'll include the code I'm using so you guys can help me. This is the code I use for the item: Code: { "itemName" : "crimtaneore", "price" : 55, "rarity" : "Uncommon", "category" : "craftingMaterial", "inventoryIcon" : "crimtaneore.png", "description" : "Crimtane Ore. Made from the flesh of crimson foes.", "shortdescription" : "Crimtane Ore", "itemTags" : [ "reagent" ] } This is the code I use for crafting the item Code: { "input" : [ { "item" : "durasteelore", "count" : 10 }, { "item" : "fleshblock", "count" : 5 } ], "output" : { "item" : "crimtaneore", "count" : 10 }, "duration" : 0.15, "groups" : [ "craftingfurnace2", "bars", "all" ] } This I use for the tile: Code: { "modId" : 500, "modName" : "crimsonore", "itemDrop" : "crimtaneore", "description" : "Crimtane Ore.", "breaksWithTile" : true, "health" : 3, "harvestLevel" : 4, "miningSounds" : [ "/sfx/tools/pickaxe_ore.ogg", "/sfx/tools/pickaxe_ore2.ogg" ], "miningParticle" : "orespark", "renderTemplate" : "/tiles/classicmaterialtemplate.config", "renderParameters" : { "texture" : "crimsonore.png", "variants" : 1, "multiColored" : false, "zLevel" : 0 } } And the player.config.patch code: Code: [ {"op":"add","path":"/defaultBlueprints/tier1/-","value":{"item":"crimtaneore"} }, ] I'm pretty new to modding in general, so if you guys could point me in the right direction I would be thankful.
You forgot to remove a , in the player.config.patch Code: [ {"op":"add","path":"/defaultBlueprints/tier1/-","value":{"item":"crimtaneore"} } ] This should work. ~ Iris ~
Remove the final comma in your player.config.patch. Always use a patch validator for patch files, like this one.
I can't upload rar files here so here's the google drive link: https://drive.google.com/open?id=0B9MQre92Un6ZZ1V5My1xY0hGVTg
It appears after the 1st upgrade of the furnace like it's written in the recipe. If you want it to have it available at the first furnace you'll have to change the recipe group from "craftingfurnace2" to "craftingfurnace" ~ Iris ~
I actually want it like that, but it doesn't even appear on the second upgrade, which is what's really making me question my entire code
Hm with the files you sent it's working like a charm. Maybe you have another mod running that overrides the player.config which is loaded after this mod? Your files are clean as far as i can say. ~ Iris ~
I just tested something out and it seems that if I place it in the mods folder it works, but whenver I try to do it from the workshop it doesn't work. It raises me a question: am I supposed to pack it or not when I send it to the workshop?
Just use the moduploader provided by starbound. It will pak it automatically. If you're testing mods from the workshop you're required to start starbound over steam. ~ Iris ~
I'm gonna try not to pack it before, since it packs automatically that could be my proble. Thanks for help!
Just a little extra input here - it has been my experience that if you have a mod directory and .pak file in your ../mods/ directory then the .pak will take precedence over the 'directory' version. This is important if you are working on a mod and you notice that nothing is changing in game.