Games2play Posted August 24, 2019 Share Posted August 24, 2019 I need help creating a recipe in the recipe tab that takes all any of a certain type of item like meat or veggies or meats. for example AddRecipe("CustomItem", {Ingredient("twigs", 1), Ingredient("ANY MEAT", 1), Ingredient ("ANY VEGGIES", 1)}, custom_tab, TECH.NONE, nil, nil, nil, nil, "custom_crafting", "images/inventoryimages/customitem.xml", "customitme.tex") the above would theoretically take in one skewer, any meat, and any veggies from the first slots kind of like a crockpot to create a custom item but, don't starve doesn't really have a ingredient like that. the only resource i could find of someone doing this was the endoxiAPI but i kind of wanted to integrate the feature into my mod instead of relying on a different mod for it to work. Link to comment Share on other sites More sharing options...
Ultroman Posted August 25, 2019 Share Posted August 25, 2019 You can't. The reason why that's possible in the Crockpot, is because it's an entirely different crafting system than the item crafting system. The item crafting system needs specific ingredients, period. If you want to make a cooking recipe using the Crockpot system, I think you can actually make it produce an inedible item (though I'm not sure of this), but then it will only be craftable in the Crockpot, and you can only use ingredients which are edible and are registered ingredients in the Crockpot cooking system (which twigs, meats and veggies already are). Link to comment Share on other sites More sharing options...
Maris Posted August 25, 2019 Share Posted August 25, 2019 Make a new Crock Pot recipe for you custom dish: 0.5 meat + 0.5 veggie with low priority (to not break high level dishes). Then use this dish in crafting recipe. Link to comment Share on other sites More sharing options...
Ultroman Posted August 25, 2019 Share Posted August 25, 2019 54 minutes ago, Maris said: Then use this dish in crafting recipe. How? What do you mean by this? Ah, so you're suggesting to make a crockpot recipe, which produces a certain food item, and then make an item crafting recipe which takes that food item as an ingredient? That's a good workaround, actually. 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