Jump to content

Recommended Posts

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)

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...