The Unknown 1 Report post Posted May 30, 2016 Hi guys and gals. Would someone show me the right layout for creating an array for a crafted object? So, for example, if I wanted to have the option to use either a screwdriver OR cordless screwdriver when crafting an object? Not sure if it should look like this maybe, in the tools[]= {"Exile_Item_Screwdriver","Exile_Item_CordlessScrewdriver"} Also, could this be applied to the required materials too? So, if you could use a better prisoners mag OR bog roll to craft a bandage? Thanks for the help friends Share this post Link to post Share on other sites
Mr Sin 119 Report post Posted May 31, 2016 (edited) class Exile_Melee_Axe: Exile_AbstractCraftingRecipe { name = "Craft Axe"; // Name of crafting recipe pictureItem = "Exile_Melee_Axe"; // What Picture the item will use requiresFire = 1; // Self Explanatory requiredInteractionModelGroup = "WorkBench"; // Must have a work bench in order to build it, leave blank if doesn't require workbench. returnedItems[] = { {1, "Exile_Melee_Axe"} // Item you want to craft }; components[] = { {1, "Exile_Item_JunkMetal"}, // Items needed to craft object. {1, "Exile_Item_WoodLog"} }; category = "Items"; // For Barma Cookbook, adds it to a category of items }; Edit: It appears I misread your question. Not too sure how to do, will look into it myself. Edited May 31, 2016 by Mr Sin Share this post Link to post Share on other sites
The Unknown 1 Report post Posted June 3, 2016 That's ok man, I do that all the time That was actually helpful for something else though, as, I was trying to work out how to add my own classes to Barma recipes and thus, there be the answer So much thanks! Share this post Link to post Share on other sites