JustanAccount Posted November 14, 2016 Share Posted November 14, 2016 I created an item, all is fine. I want to add it to Maxwells Shadow Tab. Im really struggling with it. Could someone post me the code to get it in please. I want to use Codex Umbra to get it btw Thanks Link to comment Share on other sites More sharing options...
Serpens Posted November 14, 2016 Share Posted November 14, 2016 open recipes.lua from the game files and search for "shadow". Then you will find the recipes for maxwells shadow things. See how they are added and try it simular and you will find out how to do it I guess Link to comment Share on other sites More sharing options...
JustanAccount Posted November 15, 2016 Author Share Posted November 15, 2016 (edited) Oh of course, I've done all that. I can create new craft able items no problem. Its just getting them on the shadow tree. Please, any suggestions anyone? @Serpens @PanAzej Edited November 15, 2016 by JustanAccount Link to comment Share on other sites More sharing options...
PanAzej Posted November 15, 2016 Share Posted November 15, 2016 From recipes.lua: Recipe("waxwelljournal", {Ingredient("papyrus", 2), Ingredient("nightmarefuel", 2), Ingredient(CHARACTER_INGREDIENT.HEALTH, 50)}, CUSTOM_RECIPETABS.SHADOW, TECH.NONE, nil, nil, nil, nil, "shadowmagic") Recipe tab - CUSTOM_RECIPETABS.SHADOW Character tag - "shadowmagic" It's all that's needed for an item to appear in a tab. I tested it just in case I was wrong. Link to comment Share on other sites More sharing options...
. . . Posted November 15, 2016 Share Posted November 15, 2016 Spoiler ----SHADOW---- Recipe("waxwelljournal", {Ingredient("papyrus", 2), Ingredient("nightmarefuel", 2), Ingredient(CHARACTER_INGREDIENT.HEALTH, 50)}, CUSTOM_RECIPETABS.SHADOW, TECH.NONE, nil, nil, nil, nil, "shadowmagic") Recipe("shadowlumber_builder", {Ingredient("nightmarefuel", 2), Ingredient("axe", 1), Ingredient(CHARACTER_INGREDIENT.MAX_SANITY, TUNING.SHADOWWAXWELL_SANITY_PENALTY.SHADOWLUMBER)}, CUSTOM_RECIPETABS.SHADOW, TECH.SHADOW_TWO, nil, nil, true, nil, "shadowmagic") Recipe("shadowminer_builder", {Ingredient("nightmarefuel", 2), Ingredient("pickaxe", 1), Ingredient(CHARACTER_INGREDIENT.MAX_SANITY, TUNING.SHADOWWAXWELL_SANITY_PENALTY.SHADOWMINER)}, CUSTOM_RECIPETABS.SHADOW, TECH.SHADOW_TWO, nil, nil, true, nil, "shadowmagic") Recipe("shadowdigger_builder", {Ingredient("nightmarefuel", 2), Ingredient("shovel", 1), Ingredient(CHARACTER_INGREDIENT.MAX_SANITY, TUNING.SHADOWWAXWELL_SANITY_PENALTY.SHADOWDIGGER)}, CUSTOM_RECIPETABS.SHADOW, TECH.SHADOW_TWO, nil, nil, true, nil, "shadowmagic") Recipe("shadowduelist_builder", {Ingredient("nightmarefuel", 2), Ingredient("spear", 1), Ingredient(CHARACTER_INGREDIENT.MAX_SANITY, TUNING.SHADOWWAXWELL_SANITY_PENALTY.SHADOWDUELIST)}, CUSTOM_RECIPETABS.SHADOW, TECH.SHADOW_TWO, nil, nil, true, nil, "shadowmagic") So, I think it probably be done something like this...? AddRecipe("something", { Ingredient("something", 1), Ingredient("something", 1) }, CUSTOM_RECIPETABS.SHADOW, TECH.SHADOW_TWO, nil, nil, nil, nil, "shadowmagic", "images/inventoryimages/something.xml") Link to comment Share on other sites More sharing options...
JustanAccount Posted November 30, 2016 Author Share Posted November 30, 2016 @Panazej Thanks, do I have to add this recipe to the item prefab file? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now