Name this ardiumhead.head Code: { "itemName" : "ardiumhead", "inventoryIcon" : "icons.png:head", "dropCollision" : [-4.0, -3.0, 4.0, 3.0], "maxStack" : 1, "rarity" : "Rare", "description" : "Ardium helm visor's are dark and suspicious.", "shortdescription" : "Ardium helm", "inspectionKind" : "armor", "maleFrames" : "head.png", "femaleFrames" : "head.png", "mask" : "mask.png", "statusEffects" : [ { "kind" : "ColdProtection", "amount" : 100 }, { "kind" : "Protection", "level" : 31, "amount" : 39 }, { "kind" : "energyincrease", "amount" : 135 } ] } and name this player.conifg Code: { "__merge" : [], "defaultBlueprints" : { "tier1" : [ { "item" : "ardiumhead" } ] } } and name this ardiumhelm.recipe Code: { "input" : [ { "item" : "dirtmaterial", "count" : 1 }, { "item" : "money", "count" : 50 } ], "output" : { "item" : "ardiumhead", "count" : 1 }, "groups" : [ "anvil", "armor", "all" ] } -Make sure to keep png pictures in same folder as the helmet! -Change recipe ingredients to whatever and make sure to spell correctly -I changed the crafting table from furnace to anvil because it's complicated to make armor from a furnace... -Place files into appropriate mod file Let me know if this fixed it hopefully it works
thanks for the hepl but I have one more question: will my current character now how to craft this item even though he is in the final tier? and it still showing up as a perfect generic item
Gmod, check the log. Use ctrl+f or cmd+f "error." I simply cannot overstate the usefulness of the log. As for knowing how to craft it...if it's added at tier 1, they will.
Could not instantiate item '[ardiumhead, 1, {}]'. ItemException: No such item 'ardiumhead' this is what i get but I named everything right
The log, it does not lie. Toss the file up, I'll see if I can puzzle it out if you're certain you got all the names right.
I will doube check and if there if they are I will send them to you EDIT: here is the recipe file { "input" : [ { "item" : "ardiumbar", "count" : 2 }, { "item" : "money", "count" : 50 } ], "output" : { "item" : "ardiumhead", "count" : 1 }, "groups" : [ "anvil", "armor", "all" ] } and here is the item file { "itemName" : "ardiumhead", "inventoryIcon" : "icons.png:head", "dropCollision" : [-4.0, -3.0, 4.0, 3.0], "maxStack" : 1, "rarity" : "Rare", "description" : "Ardium helm visor's are dark and suspicious.", "shortdescription" : "Ardium helm", "inspectionKind" : "armor", "maleFrames" : "head.png", "femaleFrames" : "head.png", "mask" : "mask.png", "statusEffects" : [ { "kind" : "ColdProtection", "amount" : 100 }, { "kind" : "Protection", "level" : 31, "amount" : 39 }, { "kind" : "energyincrease", "amount" : 135 } ] }
I'm afraid my request was literal-I'd need to see the file, not a code snippet. Just upload a zip of the ENTIRE MOD and I can probably fix it. Running the code snippet through a parser returns no errors.
Okay,I'll be at the home computer in a few hours and will fix things then. But looking at the file names, I see you've named something ardiumhead.head. Use ardium.head
Okay, so I ran the mod and figured out there's a bit more to the problem. The relevant bit of the error log was down a few more lines, it's a JSON error. Give me a few...