NeddoFreddo Posted August 2, 2016 Share Posted August 2, 2016 Heyo, I added a bunch of custom prefabs with recipes in a mod which also includes a bunch of structures. I can craft and place the structures just fine, but the item's recipes dont show up in the recipe tab. I've tried using a few different recipe formats but none of them seem to work. So how do I get the recipes to work? Also I was kinda wondering how to add a crafting tab, I can get this to work in DS but not DST. Link to comment Share on other sites More sharing options...
Serpens Posted August 2, 2016 Share Posted August 2, 2016 I also don't know, but I think the best would be to download any other mod that adds recipes and a new crafting tab , and take a look how it is done there Link to comment Share on other sites More sharing options...
Joachim Posted August 3, 2016 Share Posted August 3, 2016 (edited) On 8/2/2016 at 11:40 AM, NeddoFreddo said: Heyo, I added a bunch of custom prefabs with recipes in a mod which also includes a bunch of structures. I can craft and place the structures just fine, but the item's recipes dont show up in the recipe tab. I've tried using a few different recipe formats but none of them seem to work. So how do I get the recipes to work? Also I was kinda wondering how to add a crafting tab, I can get this to work in DS but not DST. Have you tried checking the bottom of the list? Item recipes are identical to structure recipes, except that item recipes have no placer defined. Here is how I added a recipe of my own (I know that adding a Recipe like this is actually deprecated, but I am too lazy to change it): local antidoteRecipe = Recipe( "antidote", { Ingredient("venom_gland", 1, "images/inventoryimages/venom_gland.xml"), Ingredient("phlegm", 1), Ingredient("mucus", 1, "images/inventoryimages/mucus.xml"), }, RECIPETABS.SURVIVAL, TECH.SCIENCE_ONE ) antidoteRecipe.atlas = GLOBAL.resolvefilepath("images/inventoryimages/antidote.xml") STRINGS.RECIPE_DESC.ANTIDOTE = "Cures poison" Edited August 3, 2016 by Joachim 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