Cagealicous Posted June 16, 2018 Share Posted June 16, 2018 (edited) Does anyone possibly know of any or could make a tutorial on how to create a Crockpot Recipe and/or Food Item? Edited June 16, 2018 by Cagealicous Link to comment Share on other sites More sharing options...
Lumina Posted June 16, 2018 Share Posted June 16, 2018 Look at preparedfood.lua (in script), it has differents recipes. Then if i'm not wrong you just have to add something like this in your modmain local your_dish_recipe = { name = "your_dish", test = function(cooker, names, tags) return tags.monster and tags.monster >= 2 and not tags.inedible end, priority = 10, foodtype = FOODTYPE.MEAT, health = -TUNING.HEALING_MED, hunger = TUNING.CALORIES_LARGE, perishtime = TUNING.PERISH_FAST, sanity = -TUNING.SANITY_MEDLARGE, cooktime = .5, tags = {"monstermeat"}, } AddCookerRecipe("cookpot", your_dish_recipe) Link to comment Share on other sites More sharing options...
Cagealicous Posted August 7, 2018 Author Share Posted August 7, 2018 This is a bit late, but thanks for the line of script. Link to comment Share on other sites More sharing options...
Knowledgeable Posted August 7, 2018 Share Posted August 7, 2018 How do you make the recipe exclusive to a character? 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