module Hydrocraft
{
    imports
    {
        Base

    }

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


item HCTelescope
    {
        Weight    		= 10,
        Type    		= Normal,
        DisplayName         	= Telescope,
        icon 			= HCTelescope,
		DisplayCategory          =   Toy,	
    }

item HCTelescopescope
    {
        Weight    		= 7,
        Type    		= Normal,
        DisplayName         	= Telescope Scope,
        icon 			= HCTelescopescope,
		DisplayCategory          =   CraftMisc,	
    }

item HCTelescopetripod
    {
        Weight    		= 3,
        Type    		= Normal,
        DisplayName         	= Telescope Tripod,
        icon 			= HCTelescopetripod,
		DisplayCategory          =   CraftMisc,	
    }


item HCTelescopebox
    {
        Weight    		= 5,
        Type    		= Normal,
        DisplayName         	= Telescope in Box,
        icon 			= HCTelescopebox,
		DisplayCategory          =   CraftMisc,	
    }

item HCStarchart
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Star Chart,
        icon 			= HCStarchart,
		DisplayCategory          =   CraftMisc,	
    }

item HCStarchartboard
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Star Chart Board,
        icon 			= HCStarchartboard,
		DisplayCategory          =   Toy,	
    }

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

recipe Unbox Telescope
    {
    	HCTelescopebox,
    	Result:HCCardboardbox,
    	Time:100,
    	Category:Leisure,
    	OnCreate:recipe_hcopentelescope,
    }

recipe Box Telescope
    {
    	HCTelescopescope,
    	HCTelescopetripod,
	HCBubblewrap,
    	HCCardboardbox,
    	Result:HCTelescopebox,
    	Time:100,
    	Category:Leisure,
    }

recipe Assemble Telescope
    {
	SkillRequired:Mechanics=1,
    	HCTelescopescope,
    	HCTelescopetripod,
	keep Screwdriver,
    	Result:HCTelescope,
        NeedToBeLearn:true,
    	Time:100,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Disassemble Telescope
    {
	SkillRequired:Mechanics=1,
    	HCTelescope,
       	keep Screwdriver,
    	Result:HCTelescopescope,
        NeedToBeLearn:true,
    	Time:100,
    	Category:Leisure,
    	OnCreate:recipe_hctelescopetripod,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Gaze Through Telescope
    {   
    	keep HCTelescope,
	HCBookastronomy,
    	Result:HCBookastronomy,
    	CanBeDoneFromFloor:true,
        NeedToBeLearn:true,
    	Time:1000,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Build Star Chart Board
    {
	SkillRequired:Woodwork=4,
	HCStarchart,
	Nails=8,
	Plank=2,
	HCWoodbeam,
	HCWoodsheet,
    	keep [Recipe.GetItemTypes.Hammer],
	keep [Recipe.GetItemTypes.Saw],
	OnTest:HCNearCarpybench,
    	CanBeDoneFromFloor:true,
   	Result:HCStarchartboard,
        NeedToBeLearn:true,
    	Sound:PZ_Hammer,
    	Time:100,
    	Category:Carpentry,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe View Star Chart Board
    {
    	keep HCStarchartboard,
	HCBookastronomy,
    	Result:HCBookastronomy,
    	CanBeDoneFromFloor:true,
        NeedToBeLearn:true,
    	Time:1000,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

}