module Hydrocraft
{
    imports
    {
        Base

    }

/************************ITEMS************************/

item HCJar
    {
        Weight    		= 0.3,
        Type   			= Normal,
        DisplayName         	= Jar with Lid,
        icon 			= HCJar,
		DisplayCategory		=   Cooking,
    }


item HCJarredmelon
	{
	HungerChange			=	-20,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Watermelon,
	Icon				=	HCJarredmelon,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	83.2,
        Proteins			= 	4.2,
        Lipids 				= 	1.4,
        Calories 			= 	310,
		DisplayCategory		=   FoodN,
	}

item HCJarredmelonpot
	{
	HungerChange			=	-40,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Watermelon,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	166.4,
        Proteins			= 	8.4,
        Lipids 				= 	2.8,
        Calories 			= 	620,
		DisplayCategory		=   FoodP,
	}

item HCJarredapples
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Apples,
	Icon				=	HCJarredapple,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	119,
        Proteins			= 	1.4,
        Lipids 				= 	2.8,
        Calories 			= 	469,
		DisplayCategory		=   FoodN,
	}
	
item HCJarredapplesauce
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jar of Applesauce,
	Icon				=	HCApplesauce,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	119,
        Proteins			= 	1.4,
        Lipids 				= 	2.8,
        Calories 			= 	469,
		DisplayCategory		=   FoodN,
	}	

item HCJarredapplepot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Apples,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	238,
        Proteins			= 	2.8,
        Lipids 				= 	5.6,
        Calories 			= 	938,
		DisplayCategory		=   FoodP,
	}

item HCJarredapplesaucepot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Apple Sauce,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,  
	IsCookable			=	TRUE,
	MinutesToCook			=	0,
	MinutesToBurn			=	20,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,  
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	238,
        Proteins			= 	2.8,
        Lipids 				= 	5.6,
        Calories 			= 	938,
		DisplayCategory		=   FoodP,
	}

item HCJarredpeach
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Peaches,
	Icon				=	HCJarredpeach,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	126,
        Proteins			= 	3.5,
        Lipids 				= 	1.4,
        Calories 			= 	504,
		DisplayCategory		=   FoodN,
	}

item HCJarredpeachpot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Peaches,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	252,
        Proteins			= 	7,
        Lipids 				= 	2.8,
        Calories 			= 	1008,
		DisplayCategory		=   FoodP,
	}
	
item HCJarredorange
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Orange Slices,
	Icon				=	HCJarredorange,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	162,
        Proteins			= 	2.1,
        Lipids 				= 	0,
        Calories 			= 	546,
		DisplayCategory		=   FoodN,
	}
	
item HCJarredorangepot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Oranges,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	324,
        Proteins			= 	4.2,
        Lipids 				= 	0,
        Calories 			= 	1092,
		DisplayCategory		=   FoodP,
	}

item HCJarredlemon
	{
	HungerChange 			= 	-20,
	Weight 				= 	1,
	Type 				= 	Food,
	UnhappyChange 			= 	-5,
	DisplayName 			= 	Jarred Lemon Slices,
	Icon 				= 	HCJarredlemon,
	ReplaceOnUse 			= 	HCJar,
	BoredomChange 			= 	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	227.6,
        Proteins			= 	2.8,
        Lipids 				= 	1.4,
        Calories 			= 	332,
		DisplayCategory		=   FoodN,
	}

item HCJarredlemonpot
	{
	HungerChange			=	-40,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Lemons,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	455.2,
        Proteins			= 	5.6,
        Lipids 				= 	2.8,
        Calories 			= 	664,
		DisplayCategory		=   FoodP,
	}

item HCJarredlime
	{
	HungerChange 			= 	-20,
	Weight 				= 	1,
	Type 				= 	Food,
	UnhappyChange 			= 	-5,
	DisplayName 			= 	Jarred Lime Slices,
	Icon 				= 	HCJarredlime,
	ReplaceOnUse 			= 	HCJar,
	BoredomChange 			= 	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	227.6,
        Proteins			= 	2.8,
        Lipids 				= 	1.4,
        Calories 			= 	332,
		DisplayCategory		=   FoodN,
	}

item HCJarredlimepot
	{
	HungerChange			=	-40,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Limes,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	455.2,
        Proteins			= 	5.6,
        Lipids 				= 	2.8,
        Calories 			= 	664,
		DisplayCategory		=   FoodP,
	}

item HCJarredgrapes
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Grapes,
	Icon				=	HCJarredgrapes,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	140,
        Proteins			= 	3.5,
        Lipids 				= 	0.7,
        Calories 			= 	532,
		DisplayCategory		=   FoodN,
	}
	
item HCJarredgrapespot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Grapes,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	280,
        Proteins			= 	7,
        Lipids 				= 	1.4,
        Calories 			= 	1064,
		DisplayCategory		=   FoodP,
	}

item HCJarredberries
	{
	HungerChange			=	-25,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jarred Berries,
	Icon				=	HCJarredberries,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	168,
        Proteins			= 	4.2,
        Lipids 				= 	2.1,
        Calories 			= 	544,
		DisplayCategory		=   FoodN,
	}
	
item HCJarredberriespot
	{
	HungerChange			=	-50,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Berries,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	40,
	MinutesToBurn			=	60,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	336,
        Proteins			= 	8.4,
        Lipids 				= 	4.2,
        Calories 			= 	1088,
		DisplayCategory		=   FoodP,
	}

item HCCurdlemon
	{
	HungerChange			=	-40,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jar of Lemon Curd,
	Icon				=	HCJarredlemon,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	434,
        Proteins			= 	0,
        Lipids 				= 	28,
        Calories 			= 	1064,
		DisplayCategory		=   FoodN,
	}

item HCCurdlime
	{
	HungerChange			=	-40,
	Weight				=	1,
	Type				=	Food,
	UnhappyChange			=	-15,
	DisplayName			=	Jar of Lime Curd,
	Icon				=	HCJarredlime,
	ReplaceOnUse			=	HCJar,
	BoredomChange			=	-10,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	434,
        Proteins			= 	0,
        Lipids 				= 	28,
        Calories 			= 	1064,
		DisplayCategory		=   FoodN,
	}

item HCCurdlemonpot
	{
	HungerChange			=	-80,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Lemon Curd,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	90,
	MinutesToBurn			=	140,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	868,
        Proteins			= 	0,
        Lipids 				= 	56,
        Calories 			= 	2128,
		DisplayCategory		=   FoodP,
	}

item HCCurdlimepot
	{
	HungerChange			=	-80,
	BoredomChange			=	-10,
	UnhappyChange			=	-15,
	Weight				=	4,
	Type				=	Food,
	DisplayName			=	Pot of Lime Curd,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot,
	IsCookable			=	TRUE,
	MinutesToCook			=	90,
	MinutesToBurn			=	140,
	DaysFresh 			= 	4,
	DaysTotallyRotten		=	6,     
	CustomContextMenu 		= 	Eat,
	FoodType    			=   	Fruits,
        Carbohydrates 			= 	868,
        Proteins			= 	0,
        Lipids 				= 	56,
        Calories 			= 	2128,
		DisplayCategory		=   FoodP,
	}

/************************RECIPES************************/


recipe Put on Lid
	{
        	EmptyJar,
        	JarLid,	
		Result:HCJar,
		Time:75.0,
	   	Category:Cooking,
	}

recipe Remove Lid
	{
        	HCJar,
		Result:EmptyJar,
		Time:75.0,
    		OnCreate:recipe_hcjarlid,
	   	Category:Cooking,
	}

recipe Make Aluminum Jar Lid
	{
	   	HCAluminumingot,
    		keep HCSmithyhammersteel/HCSmithyhammertitanium,
    		[Recipe.GetItemTypes.BlacksmithTongs],
    		keep [Recipe.GetItemTypes.LeatherGloves]/HCOvenmitts,
		keep HCAnvil/HCAnvillead/HCAnvil2/HCAnvillead2,
    		CanBeDoneFromFloor:true,
	   	Result:JarLid=8,
	   	Time:150.0,
       		Category:Smithing,
       		OnGiveXP:Recipe.OnGiveXP.None,
	}

recipe Prepare Jarred Watermelon 
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		Vinegar,
		Sugar;1,
		WatermelonSliced=4,	
		Result:HCJarredmelonpot,
		Time:75.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Jar Cooked Watermelon 
	{
        	SkillRequired:Cooking=4,
		HCJar=2,
		HCJarredmelonpot,
		Result:HCJarredmelon=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarWatermelon_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
recipe Prepare Jarred Apples 
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		HCSlicedapple=8,	
		Result:HCJarredapplepot,
		Time:75.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Make Apple Sauce
	{
        	SkillRequired:Cooking=4,
		keep Hammer/BaseballBat/Plank,
		HCJarredapplepot,
		Result:HCJarredapplesaucepot,
		Time:75.0,
	   	Category:Cooking,
		OnTest:MakeAppleSauce_CheckIfCooked,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
recipe Jar Cooked Apples 
	{
        	SkillRequired:Cooking=4,
		HCJar=2,	
		HCJarredapplepot,
		Result:HCJarredapples=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarApple_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Prepare Jarred Peaches
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		Peach=2,	
		Result:HCJarredpeachpot,
		Time:75.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
recipe Jar Cooked Peaches
	{
        	SkillRequired:Cooking=4,
		HCJar=2,	
		HCJarredpeachpot,
		Result:HCJarredpeach=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarPeach_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}	

recipe Jar Apple Sauce 
	{
        	SkillRequired:Cooking=4,
		HCJar=2,
		HCJarredapplesaucepot,
		Result:HCJarredapplesauce=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarAppleSauce_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}	
	
recipe Prepare Jarred Oranges 
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		HCSlicedorange=8,	
		Result:HCJarredorangepot,
		Time:75.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
recipe Jar Cooked Oranges 
	{
        	SkillRequired:Cooking=4,
		HCJar =2,	
		HCJarredorangepot,
		Result:HCJarredorange=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarOrange_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}	

recipe Prepare Jarred Lemons
	{
		SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		HCSlicedlemon=8,
		Result:HCJarredlemonpot,
		Time:75.0,
		Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Jar Cooked Lemons
	{
		SkillRequired:Cooking=4,
		HCJar =2,
		HCJarredlemonpot,
		Result:HCJarredlemon=2,
		Time:75.0,
		Category:Cooking,
		OnTest:JarLemons_CheckIfCooked,
		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Prepare Jarred Limes
	{
		SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLimejuicebowl/HCLimejuicebottle,
		Sugar;1,
		HCSlicedlime=8,
		Result:HCJarredlimepot,
		Time:75.0,
		Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Jar Cooked Limes
	{
		SkillRequired:Cooking=4,
		HCJar =2,
		HCJarredlimepot,
		Result:HCJarredlime=2,
		Time:75.0,
		Category:Cooking,
		OnTest:JarLimes_CheckIfCooked,
		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Prepare Jarred Grapes 
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		Grapes=2,	
		Result:HCJarredgrapespot,
		Time:75.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
		
recipe Jar Cooked Grapes 
	{
        	SkillRequired:Cooking=4,
		HCJar =2,	
		HCJarredgrapespot,
		Result:HCJarredgrapes=2,
		Time:75.0,
	   	Category:Cooking,
		OnTest:JarGrapes_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
recipe Prepare Jarred Berries 
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
		HCLemonjuicebowl/HCLemonjuicebottle,
		Sugar;1,
		HCBunchofberries,
		Result:HCJarredberriespot,
		Time:75.0,
  		Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
 
recipe Jar Cooked Berries
	{
        	SkillRequired:Cooking=4,
		HCJar=2,
		HCJarredberriespot,
		Result:HCJarredberries=2,
		Time:75.0,
  		Category:Cooking,
		OnTest:JarBerries_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Prepare Lemon Curd
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
                Butter,
                Sugar;1,
		HCSlicedlemon=16,
		Result:HCCurdlemonpot,
		Time:90.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Prepare Lime Curd
	{
        	SkillRequired:Cooking=4,
		destroy WaterPot,
                Butter,
                Sugar;1,
		HCSlicedlime=16,
		Result:HCCurdlimepot,
		Time:90.0,
	   	Category:Cooking,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Make Jar of Lemon Curd
	{
        	SkillRequired:Cooking=4,
		HCJar=2,
		HCCurdlemonpot,
		Result: HCCurdlemon=2,
		Time:25.0,
	   	Category:Cooking,
		OnTest:JarLemonCurd_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Make Jar of Lime Curd
	{
        	SkillRequired:Cooking=4,
		HCJar=2,
		HCCurdlimepot,
		Result: HCCurdlime=2,
		Time:25.0,
	   	Category:Cooking,
		OnTest:JarLimeCurd_CheckIfCooked,
    		OnCreate:recipe_hcpot,
       		OnGiveXP:HCCooking_OnGiveXP,
	}
	
}