module Hydrocraft
{
    imports
    {
        Base

    }

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

item HCPotofpotatomash
	{
	HungerChange			=	-30,
	Weight				=	0.3,
	Type				=	Food,
	IsCookable			=	TRUE,
	DangerousUncooked		=	TRUE,
	MinutesToCook			=	120,
	MinutesToBurn			=	140,
	DaysFresh			=	1,	
	DaysTotallyRotten		=	1,
	Icon				=	PotFull,
	ReplaceOnCooked			=	Hydrocraft.HCPotofpotatomashcooked,
	ReplaceOnUse			=	Pot, 
	DisplayName			=	Pot of Potato Mash,
}

item HCPotofpotatomashcooked
	{
	HungerChange			=	-30,
	Weight				=	0.3,
	Type				=	Food,
	DaysFresh			=	1,	
	DaysTotallyRotten		=	1,
	DisplayName			=	Pot of Heated Potato Mash,
	Icon				=	PotFull,
	ReplaceOnUse			=	Pot, 	
}

item HCBarrelpotato
	{
        Weight    		= 20,
	Type 			= Drainable,
        DisplayName         	= Barrel of Potato Mash,
        UseDelta 		= 0.05,
        ReplaceOnDeplete        = Hydrocraft.HCWoodenbarrel,
        icon 			= HCWinebarrel,
	ResizeWorldIcon 	= FALSE,
	}

item HCDistillery
	{
        Weight    		= 20,
        Type    		= Normal,
        DisplayName         	= Distillery,
        icon 			= HCDistillery,
	ResizeWorldIcon 	= FALSE,
	}

item HCVodka
	{
	HungerChange	        =	-20,
	Weight	        	=	1.4,
	Type	        	=	Food,
	ThirstChange		=	-20,
	DisplayName		=	Vodka,
	Alcoholic		=	TRUE,
        UnhappyChange		=	-10,
	ReplaceOnUse		=	WhiskeyEmpty,
	Icon	        	=	Whiskey_Water_Full,
	CustomContextMenu 	= 	Drink,
	CustomEatSound    	= 	PZ_DrinkingFromBottle,
	AlcoholPower      	= 	2,
	}

item HCMethanol
	{
	Weight	        	=	1.4,
	Type	        	=	Normal,
	DisplayName		=	Methanol,
	ReplaceOnUse		=	WhiskeyEmpty,
	Icon	        	=	HCMethanol,
	}

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

recipe Build Distillery
	{
		Kettle,
		Pot,
		HCWoodenbucket,
		HCWoodenbarrel,
		HCCopperpipe=3,
		Plank=6,
		Nails=4,
		HCWeldingset,
		keep HCWeldingmask,
		keep HCWorkgloves/HCOvenmitts,
    		keep Hammer,
		keep Saw,
    		CanBeDoneFromFloor:true,
		Result:HCDistillery,
		SkillRequired:Woodwork=6,
    		Sound:PZ_Hammer,
		Time:1000.0,
		Category:Engineer,
	}


recipe Prepare Pot of Potato Mash
	{
       		SkillRequired:Cooking=3,
		keep HCPotatomasher,
		destroy Pot,
		Potato=10,
                Water=5,
                Yeast=1,
		Result:HCPotofpotatomash,
		Time:100.0,
		Category:Cooking,
	}

recipe Distill Bottle of Vodka
	{
       		SkillRequired:Cooking=6,
		HCBarrelpotato,
		Charcoal,
		Lighter/Matches/PercedWood/HCMagnesiumstriker,
		WhiskeyEmpty,
                Water=3,
		keep HCDistillery,
    		CanBeDoneFromFloor:true,
		Result:HCVodka,
		Time:100.0,
		Category:Cooking,
	}

recipe Fill Barrel with Potato Mash
        {
       	SkillRequired:Cooking=5,
	HCWoodenbarrel,
	HCPotofpotatomashcooked=3,
   	Result:HCBarrelpotato,
    	Time:50,
	Category:Cooking,
    	OnCreate:recipe_hcpotatopot3,
        }

recipe Make Methanol
	{
       		SkillRequired:Cooking=7,
		HCVodka/HCWhiskey1/HCWhiskey2/HCWhiskey3/HCWhiskey4/HCBourbon1/HCBourbon2/HCScotch1/HCRum1/HCGin1/HCGin2/HCGin3/HCVodka1/HCVodka2,
		Charcoal,
		Lighter/Matches/PercedWood/HCMagnesiumstriker,
		keep HCDistillery,
    		CanBeDoneFromFloor:true,
		Result:HCMethanol,
		Time:100.0,
		Category:Alchemy,
	}

}