module Hydrocraft
{
    imports
    {
        Base

    }

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

item HCWoodenbucketvegoil
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Bucket with Vegetable Oil,
        icon 			= HCWoodenbucketvegoil,
	DisplayCategory	=   CraftChem,
	
    }

item HCPotvegoil
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Pot of Uncooked Vegetable Oil,
        icon 			= HCPotvegoil,
	DisplayCategory	=   CraftChem,
    }

item HCPotvegoilcooked
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Pot of Cooked Vegetable Oil,
        icon 			= HCPotvegoilcooked,
	DisplayCategory	=   CraftChem,
    }

item HCWashtubmethoxide
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Washtub with Methoxide,
        icon 			= HCWashtubmethoxide,
	DisplayCategory	=   CraftChem,
	
    }

item HCWashtubrawbiodiesel
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Washtub with Raw Biodiesel,
        icon 			= HCWashtubrawbiodiesel,
	DisplayCategory	=   CraftChem,
	
    }

item HCWashtubunwashedbiodiesel
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Washtub with Unwashed Biodiesel,
        icon 			= HCWashtubunwashedbiodiesel,
	DisplayCategory	=   CraftChem,
	
    }

item HCWashtubwashedbiodiesel
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Washtub with Washed Biodiesel,
        icon 			= HCWashtubwashedbiodiesel,
	DisplayCategory	=   CraftChem,
	
    }

item HCBiodieselcan
	{
	Weight			= 5,
        Type    		= Normal,
	DisplayName		= Biodiesel Can,
	Icon			= HCBiodieselcan,
	DisplayCategory	=   Fuel,
	}

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

recipe Pour Vegetable Oil into Pot
	{
		HCWoodenbucketvegoil,
		Pot,
		Result:HCPotvegoil,
		Time:15,
	   	Category:Cooking,
    		OnCreate:recipe_hcwoodenbucket,
    		OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Cook Pot of Vegtable Oil
        {
                HCPotvegoil,
                Charcoal,
                [Recipe.GetItemTypes.StartFire],
    		keep [Recipe.GetItemTypes.LeatherGloves]/HCOvenmitts,
                OnTest:HCNearKiln,
                CanBeDoneFromFloor:true,
                Result:HCPotvegoilcooked,
                NeedToBeLearn:true,
                Time:500,
                Category:Chemistry,
    		OnCreate:getBurned,
    		OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Make Methoxide
        {
        HCMethanol,
        HCWoodenbucketlye,
		HCWashtub,
    	keep HCSpatula/HCWoodenspatula/Spatula,
        keep HCLatexgloves/HCRubberglove,
		keep HCSafetyglasses,
        Result:HCWashtubmethoxide,
        NeedToBeLearn:true,
        Time:500,
        Category:Chemistry,
    	OnCreate:recipe_hcwoodenbucket,
    	OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Make Raw Biodiesel
        {
        HCWashtubmethoxide,
        HCPotvegoilcooked,
    	keep HCSpatula/HCWoodenspatula/Spatula,
        keep HCLatexgloves/HCRubberglove,
		keep HCSafetyglasses,
        Result:HCWashtubrawbiodiesel,
        NeedToBeLearn:true,
        Time:1000,
        Category:Chemistry,
    	OnCreate:recipe_hcpot,
    	OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Remove Glycerin
        {
                HCWashtubrawbiodiesel,
    		keep HCSpatula/HCWoodenspatula/Spatula,
        	keep HCLatexgloves/HCRubberglove,
		keep HCSafetyglasses,
                Result:HCWashtubunwashedbiodiesel,
                NeedToBeLearn:true,
                Time:1000,
                Category:Chemistry,
    		OnCreate:recipe_hcglycerin,
    		OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Wash Biodiesel
        {
                HCWashtubunwashedbiodiesel,
         	Water=4,
        	keep HCLatexgloves/HCRubberglove,
		keep HCSafetyglasses,
                Result:HCWashtubwashedbiodiesel,
                NeedToBeLearn:true,
                Time:1000,
                Category:Chemistry,
    		OnCreate:recipe_hcglycerin,
    		OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Store Biodiesel
        {
                HCWashtubwashedbiodiesel,
		EmptyPetrolCan,
		keep HCFunnel/HCGlassfunnel,
                Result:HCBiodieselcan,
                NeedToBeLearn:true,
                Time:1000,
                Category:Chemistry,
    		OnCreate:recipe_hcwashtub,
    		OnGiveXP:HCCooking_OnGiveXP,
         }

recipe Add Gasoline to Biodiesel
        {
                HCBiodieselcan,
		PetrolCan,
		keep HCFunnel,
                Result:PetrolCan,
                NeedToBeLearn:true,
                Time:100,
                Category:Chemistry,
    		OnGiveXP:HCCooking_OnGiveXP,
         }

	recipe Empty Wooden Bucket with Vegetable Oil
    {
		destroy HCWoodenbucketvegoil,
		Result:HCWoodenbucket,
		Time:50,
		Category:Farming,
    }
}