module Hydrocraft
{
    imports
    {
        Base

    }

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

item HCTorch
	{
	        Weight		       =	1,
	        Type		       =	Normal,
	        DisplayName	       =	Torch,
	        Icon		       =	HCTorch,
	DisplayCategory          =   LightSource,
	}

item HCTorchlit
	{
		LightDistance	       =	4,
		Weight	               =	1.1,
		Type	               =	Drainable,
		TorchCone	       =	FALSE,
	        UseDelta	       =        0.002,
		LightStrength	       =	0.8,
		DisplayName	       =	Torch,
		ActivatedItem	       =	FALSE,
		Icon	               =	HCTorchlit,
	DisplayCategory          =   LightSource,
	}

item HCOillamp
	{
	        Weight		       =	1,
	        Type		       =	Normal,
	        DisplayName	       =	Oil Lamp,
	        Icon		       =	HCOillamp,
	DisplayCategory          =   LightSource,
	}

item HCOillamplit
	{
		LightDistance	       =	4,
		Weight	               =	1.1,
		ReplaceOnDeplete	=	HCOillamp,
		Type	               =	Drainable,
		TorchCone	       =	FALSE,
	        UseDelta	       =        0.002,
		LightStrength	       =	0.8,
		DisplayName	       =	Oil Lamp,
		ActivatedItem	       =	FALSE,
		Icon	               =	HCOillamplit,
	DisplayCategory          =   LightSource,
	}

item HCTarsticks
	{
		Weight			=	0.2,
		Type			=	Normal,
		DisplayName		=	Tar Sticks,
		Icon			=	HCTarsticks,
	DisplayCategory          =   CraftChem,
	}

item HCTar
    {
        Weight    		= 0.3,
        Type    		= Drainable,
        UseDelta	        = 0.2,
        DisplayName         	= Tar,
        icon 			= HCTar,
	DisplayCategory          =   CraftChem,
    } 

item HCTarmug
    {
        Weight    		= 0.5,
        Type    		= Drainable,
        UseDelta	        = 0.4,
        ReplaceOnDeplete        = Mugl,
        DisplayName         	= Mug of Tar,
        icon 			= HCTarmug,
	DisplayCategory          =   CraftChem,
    } 

item HCTarbucket
    {
        Weight    		= 1,
        Type    		= Drainable,
        UseDelta	        = 0.8,
        ReplaceOnDeplete        = BucketEmpty,
        DisplayName         	= Bucket of Tar,
        icon 			= HCTarbucket,
	DisplayCategory          =   CraftChem,
    } 

item HCWoodenbuckettar
    {
        Weight    		= 4,
        Type    		= Normal,
        DisplayName         	= Wooden Bucket with Tar,
        icon 			= HCWoodenbuckettar,
	DisplayCategory          =   CraftChem,
    }

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

item HCCoke
    {
        Weight    		= 0.5,
        Type    		= Normal,
        DisplayName         	= Coke,
        icon 			= HCCoke,
	DisplayCategory          =   Fuel,
    }

item HCMomigalite
    {
        Weight    		= 0.5,
        Type    		= Normal,
        DisplayName         	= Momigalite,
        icon 			= HCMomigalite,
	DisplayCategory          =   CraftChem,
    } 

item HCKuntan
	{

	Type			= Normal,

	DisplayName		= Rice Hull Charcoal,

	Icon			= HCKuntan,

	Weight			= 0.1,
	DisplayCategory          =   Fuel,

	}

item HCCarbonpowder
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Carbon Powder,
        icon 			= HCCarbonpowder,
	DisplayCategory          =   CraftChem,
    }

item HCNanorings
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Carbon Nanorings,
        icon 			= HCCarbonpowder,
	DisplayCategory          =   CraftChem,
    } 

item HCNanochains
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Carbon Nanochains,
        icon 			= HCCarbonpowder,
	DisplayCategory          =   CraftChem,
    } 

item HCNanofiber
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Carbon Nanofiber,
        icon 			= HCCarbonpowder,
	DisplayCategory          =   CraftChem,
    } 

/************************WEAPONS************************/

item HCPlanktreated
	{
		MaxRange			=	2,
		WeaponSprite			=	Plank,
		MinAngle			=	0.2,
		Type				=	Weapon,
		MinimumSwingTime		=	4,
		KnockBackOnNoDeath		=	FALSE,
		SwingAmountBeforeImpact		=	0.02,
		Categories			=	Improvised;Blunt,
		ConditionLowerChanceOneIn	=	4,
		Weight				=	3,
		SplatNumber			=	0,
		PushBackMod			=	0.3,
		MaxDamage			=	0.6,
		SubCategory			=	Swinging,
		ConditionMax			=	10,
		MaxHitCount			=	2,
		DoorDamage			=	5,
		SwingAnim			=	Bat,
		WeaponWeight			=	3,
		DisplayName			=	Treated Plank,
		MinRange			=	0.61,
		SwingTime			=	4,
		MinDamage			=	0.4,
		KnockdownMod			=	2,
		SplatBloodOnNoDeath		=	FALSE,
		Icon				=	HCPlanktreated,
		RunAnim				=	Run_Weapon2,
        	IdleAnim			=	Idle_Weapon2,
        	BreakSound  			=   	BreakWoodItem,
        	TreeDamage  			=   	0,
		TwoHandWeapon = TRUE,
	}

/************************RECIPES************************/
 
recipe Make Torch
	{
        HCTar=5,
        RippedSheets=3,
	TreeBranch,              
	Result:HCTorch,              
	Time:200.0,
    	Category:Survivalist,
       	OnGiveXP:Recipe.OnGiveXP.None,
	}

recipe Light Torch
  	{
   	HCTorch,
   	Matches/Lighter,
   	Result:HCTorchlit,
	Time:30.0,
    	Category:Survivalist,
  	}

recipe Light Oil Lamp
  	{
   	HCOillamp,
   	Matches/Lighter,
	HCFishoil/HCCookingoil/OilVegetable/HCCookingoiljar;1,
   	Result:HCOillamplit,
	Time:30.0,
    Category:Firecraft,
  	}

recipe Light Oil Lamp
  	{
   	HCClayoillamp,
   	Matches/Lighter,
	HCFishoil/HCCookingoil/OilVegetable/HCCookingoiljar;1,
   	Result:HCClayoillamplit,
	Time:30.0,
    Category:Firecraft,
  	}

recipe Make Charcoal
    {
    	Log,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	Plank=3,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	PercedWood=3,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
   	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCWoodblock=9,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
	UnusableWood=12,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }
recipe Make Charcoal
    {
    	WoodenStick=24,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	TreeBranch=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }


recipe Make Charcoal
    {
    	Twigs=16,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCTarsticks=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }



recipe Make Charcoal
    {
    	HCFirbough=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCWillowbranch=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCPinebough=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }


recipe Make Charcoal
    {
    	HCFircone=4,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCBark=16,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	HCBirchbark=16,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }


recipe Make Charcoal
    {
    	HCCoal,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Charcoal
    {
    	CorpseMale/CorpseFemale,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:Charcoal,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }


recipe Make Momigalite
    {
    	HCChaff=12,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:HCMomigalite,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Rice Hull Charcoal
    {
    	HCChaff,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:HCKuntan,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Fill Mug With Tar 
    {
    	Mugl,
    	HCTar=2,
    	Result:HCTarmug,
    	Time:50,
    	Category:Firecraft,
    }

recipe Fill Bucket With Tar 
    {
    	BucketEmpty,
    	HCTar=6,
    	Result:HCTarbucket,
    	Time:50,
    	Category:Firecraft,
    }

recipe Fill Wooden Bucket With Tar 
    {
    	HCWoodenbucket,
    	HCTar=6,
    	Result:HCWoodenbuckettar,
    	Time:50,
    	Category:Firecraft,
    }


recipe Empty Wooden Bucket of Tar
    {
    	destroy HCWoodenbuckettar,
    	Result:HCTar=6,
    	Time:50,
    	OnCreate:recipe_hcwoodenbucket,
    	Category:Firecraft,
    }

recipe Make Tar
    {
	HCBirchbark=6,
    HCWoodenbucket,
    [Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    CanBeDoneFromFloor:true, 
    Result:HCWoodenbuckettar,
    Time:500,
    Category:Firecraft,
    OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Tar
    {
	HCBark=9,
    	HCWoodenbucket,
    	[Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    	CanBeDoneFromFloor:true, 
    	Result:HCWoodenbuckettar,
    	Time:500,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Tar
    {
	HCSawdust=60,
    	HCWoodenbucket,
    	[Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    	CanBeDoneFromFloor:true, 
    	Result:HCWoodenbuckettar,
    	Time:500,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Tar
    {
	HCPinebough=6,
    	HCWoodenbucket,
    	[Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    	CanBeDoneFromFloor:true, 
    	Result:HCWoodenbuckettar,
    	Time:500,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Tar
    {
	HCFirbough=6,
    	HCWoodenbucket,
    	[Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    	CanBeDoneFromFloor:true, 
    	Result:HCWoodenbuckettar,
    	Time:500,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
    }	

recipe Make Tar
    {
	TreeBranch=9,
    	HCWoodenbucket,
    	[Recipe.GetItemTypes.StartFire],
	OnTest:HCNearTarkiln,
    	CanBeDoneFromFloor:true, 
    	Result:HCWoodenbuckettar,
    	Time:500,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
    }	

recipe Make Tar
    {
    Twigs=22,
        HCWoodenbucket,
        [Recipe.GetItemTypes.StartFire],
    OnTest:HCNearTarkiln,
        CanBeDoneFromFloor:true, 
        Result:HCWoodenbuckettar,
        Time:500,
        Category:Firecraft,
        OnGiveXP:HCCooking_OnGiveXP,
    }   



recipe Make Tar Sticks
    {
	Twigs=4,
	HCWoodenbuckettar,
    	Result:HCTarsticks=4,
	NeedToBeLearn:true,
    	Time:500,
    	Category:Firecraft,
    	OnCreate:recipe_hcwoodenbucket,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Distill Lighter Fluid
	{
       	SkillRequired:Cooking=6,
	HCWoodenbuckettar=2,
	Charcoal,
	[Recipe.GetItemTypes.StartFire],
	keep HCDistillery2,
    	CanBeDoneFromFloor:true,
	Result:HCLighterfluid,
    	NeedToBeLearn:true,
	Time:600,
    	Category:Firecraft,
    	OnCreate:recipe_hcwoodenbucket2,
       	OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Distill Fish Oil
	{
       	SkillRequired:Cooking=6,
	HCWoodenbucketfishoil=4,
	Charcoal,
	[Recipe.GetItemTypes.StartFire],
	HCJar,
	keep HCDistillery2,
    	CanBeDoneFromFloor:true,
	Result:HCFishoil,
    	NeedToBeLearn:true,
	Time:5000.0,
    	Category:Firecraft,
    	OnCreate:recipe_hcwoodenbucket4,
       	OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Make Coke
    {
    	HCCoal,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:HCCoke,
	NeedToBeLearn:true,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Distill Creosote Oil
	{
       	SkillRequired:Cooking=6,
	HCCoke=4,
	HCWoodenbucket,
	Charcoal,
	[Recipe.GetItemTypes.StartFire],
	keep HCDistillery2,
    	CanBeDoneFromFloor:true,
	Result:HCWoodenbucketcreosote,
    	NeedToBeLearn:true,
	Time:5000.0,
    	Category:Firecraft,
       	OnGiveXP:HCCooking_OnGiveXP,
	}

recipe Treat Wood Plank
    {
	SkillRequired:Woodwork=3,
	HCWoodenbucketcreosote=4,
	Plank,
    	keep Paintbrush,
    	CanBeDoneFromFloor:true,
   	Result:HCPlanktreated,
    	NeedToBeLearn:true,
    	Time:1000,
    	Category:Firecraft,
    	OnCreate:recipe_hcwoodenbucket,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Carbon Powder
    {
    	HCCharcoalpowder,
   	    Charcoal,
    	[Recipe.GetItemTypes.StartFire],
    	OnTest:HCNearKiln,
    	CanBeDoneFromFloor:true,
    	Result:HCCarbonpowder,
    	NeedToBeLearn:true,
    	Time:1000,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Carbon Nanorings
    {
    	HCCarbonpowder,
    	Charcoal,
    	[Recipe.GetItemTypes.StartFire],
    	keep [Recipe.GetItemTypes.LeatherGloves],
    	keep HCSmelter2/HCFurnace2/HCBlastfurnace2,
    	CanBeDoneFromFloor:true,
    	Result:HCNanorings,
    	NeedToBeLearn:true,
    	Time:1000,
   	    Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }

recipe Make Carbon Nanochains
    {
    	HCNanorings,
    	HCCoke,
    	[Recipe.GetItemTypes.StartFire],
    	keep [Recipe.GetItemTypes.LeatherGloves]/HCOvenmitts,
    	keep HCFurnace2/HCBlastfurnace2,
    	CanBeDoneFromFloor:true,
    	Result:HCNanochains,
    	NeedToBeLearn:true,
    	Time:1000,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }


recipe Make Carbon Nanofiber
    {
    	HCNanochains,
    	HCCoke,
    	[Recipe.GetItemTypes.StartFire],
    	keep [Recipe.GetItemTypes.WeldingMask],
    	keep [Recipe.GetItemTypes.LeatherGloves],
    	keep HCFurnace2,
    	CanBeDoneFromFloor:true,
    	Result:HCNanofiber,
    	NeedToBeLearn:true,
    	Time:100,
    	Category:Firecraft,
    	OnCreate:getBurned,
       	OnGiveXP:HCCooking_OnGiveXP,
    }
	
	recipe Empty Wooden Bucket with Creosote Oil
    {
		destroy HCWoodenbucketcreosote,
		Result:HCWoodenbucket,
		Time:50,
		Category:Firecraft,
    }
	

}