module Hydrocraft
{
    imports
    {
        Base

    }

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


item HCBoxinggloves
    {
        Weight    		= 0.4,
        Type   			= Normal,
        DisplayName 		= Boxing Gloves,
	UseWhileEquipped 	= true,
        icon 			= HCBoxinggloves,
    }

item HCPunchingstand
    {
        Weight    		= 8.0,
        Type   			= Normal,
        DisplayName         	= Punching Bag Stand,
        icon 			= HCPunchingstand,
	ResizeWorldIcon 	= 2.0,
    }

item HCPunchingbag
    {
        Weight    		= 12.0,
	Type			= Drainable,
	UseDelta		= 0.1,
        DisplayName         	= Punching Bag,
        icon 			= HCPunchingbag,
	ReplaceOnDeplete	= HCPunchingstand,
	ResizeWorldIcon 	= 2.0,
    }	
	
item HCWeights
    {
        Weight    		= 20.0,
        Type   			= Normal,
        DisplayName 		= Weight Bench,
        icon 			= HCWeights,
	ResizeWorldIcon 	= 2.0,
    }

item HCTredmill
	{
	Weight				=	6,
	Type				=	Normal,
	DisplayName			=	Treadmill,
	Icon				=	HCTredmill,
        ResizeWorldIcon 	        = 	2.0,
	}

/************************RECIPES************************/
 
	
recipe Weld Punching Bag Stand
    {
        Pipe=2,
	HCSteelpipe=2,
	SheetMetal,
    	HCWeldingset,
    	keep HCWeldingmask,
    	keep HCWorkgloves,
    	Result:HCPunchingstand,
    	Time:200.0,
        Category:Engineer,
    }
	
recipe Hang Sand Bag on Stand
    {
	Sandbag,
	HCPunchingstand,
    	Result:HCPunchingbag,
    	Time:60.0,
    }	
	
recipe Exercise with Punching Bag
    {
    	HCPunchingbag,
	HCBoxinggloves,
	Water,
	CanBeDoneFromFloor:true,
	Result:HCBoxinggloves,
    	Time:500.0,
    	Category:Leisure,
	OnCreate:HCTrainPunchingBag_Trainingxp,
    }	
	
recipe Weld Weight Bench
    {
	HCStonewheel=2,
	Plank=8,
	Nails=6,
        Pipe=4,
	HCSteelpipe=3,
        SheetMetal=2,
    	HCWeldingset,
    	keep HCWeldingmask,
    	keep HCWorkgloves,
    	keep Hammer,
	keep Saw,
	keep HCCarpenterbench,
    	CanBeDoneFromFloor:true,
   	Result:HCWeights,
	SkillRequired:Woodwork=4,
    	Sound:PZ_Hammer,
    	Time:400,
    	Category:Carpentry,
    }
	
recipe Exercise with Weights
    {
    	HCWeights,
	Water,
	CanBeDoneFromFloor:true,
	Result:HCWeights,
    	Time:500.0,
    	Category:Leisure,
	OnCreate:HCTrainWeights_Trainingxp,
    }

recipe Repair Treadmill
    {
	SkillRequired:Electricity=3,
	HCJunktredmill,
        ElectronicsScrap=2,
	HCSteelpipe,
        Pipe,
    	HCWeldingset,
    	keep HCWeldingmask,
    	keep HCWorkgloves,
    	CanBeDoneFromFloor:true,
   	Result:HCTredmill,
    	Time:400,
        Category:Engineer,
    }

recipe Exercise on Treadmill
    {
    	keep HCTredmill,
	HCBatterylarge,
	Water,
	CanBeDoneFromFloor:true,
	Result:HCBatterylargedead,
    	Time:500.0,
    	Category:Leisure,
	OnCreate:HCTrainTredmill_Trainingxp,
    }
 
}