module Hydrocraft
{
    imports
    {
        Base

    }

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


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

item HCPunchingstand
    {
        Weight          = 8.0,
        Type            = Normal,
        DisplayName             = Punching Bag Stand,
        icon            = HCPunchingstand,
	DisplayCategory          =   Fitness,	
    
    }

item HCPunchingbag
    {
        Weight          = 12.0,
    Type            = Normal,
        DisplayName             = Punching Bag,
        icon            = HCPunchingbag,
	DisplayCategory          =   Fitness,	
    
    }   

item HCGymtowel
    {
    Weight          = 0.3,
        Type            = Normal,
    DisplayName     = Gym Towel,
    Icon            = HCGymtowel,
	DisplayCategory          =   Fitness,	
     }
    
item HCWeights
    {
        Weight          = 20.0,
        Type            = Normal,
        DisplayName         = Weight Bench,
        icon            = HCWeights,
	DisplayCategory          =   Fitness,	
    
    }

item HCTredmill
    {
    Weight              =   6,
    Type                =   Normal,
    DisplayName         =   Treadmill,
    Icon                =   HCTredmill,
	DisplayCategory          =   Fitness,	
    }

item HCTredmillgenerator
    {
    Weight              =   20,
    Type                =   Normal,
    DisplayName         =   Treadmill with Generator,
    Icon                =   HCTredmillgenerator,
	DisplayCategory          =   Fitness,	
    }

/************************RECIPES************************/
 
    
recipe Weld Punching Bag Stand
    {
    SkillRequired:MetalWelding=2,
        HCSteelpipe=2,
    SheetMetal,
        HCWeldingset,
        keep [Recipe.GetItemTypes.WeldingMask],
        keep [Recipe.GetItemTypes.LeatherGloves],
        Result:HCPunchingstand,
        Time:200.0,
        Category:Welding,
        OnGiveXP:HCWelding_OnGiveXP,
    }
    
recipe Hang Leather Sand Bag on Stand
    {
    HCLeatherSandbag,
    HCPunchingstand,
        Result:HCPunchingbag,
        Time:60.0,
        OnGiveXP:Recipe.OnGiveXP.None,
    }   
    
recipe Exercise hard with Punching Bag
    {
    SkillRequired:Nimble=4,
    NeedToBeLearn:true,
    keep HCPunchingbag,
    keep HCBoxinggloves,
    HCFitnessdrink=1,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCCanteen,
    Time:400,
    Category:Leisure,
    OnCreate:HCTrainPunchingBag_Trainingxp2,
    }   



recipe Exercise with Punching Bag
    {
    keep HCPunchingbag,
    keep HCBoxinggloves,
    Water,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCGymtowel,
        Time:500.0,
        Category:Leisure,
    RemoveResultItem:true,
    OnCreate:HCTrainPunchingBag_Trainingxp,
    } 


   
recipe Weld Weight Bench
    {
    SkillRequired:Woodwork=4;MetalWelding=2;,
    HCStonewheel=2,
    Plank=8,
    Nails=6,
    Pipe=4,
    HCSteelpipe=3,
    SheetMetal=2,
    HCWeldingset,
    keep [Recipe.GetItemTypes.WeldingMask],
    keep [Recipe.GetItemTypes.LeatherGloves],
    keep [Recipe.GetItemTypes.Hammer],
    keep [Recipe.GetItemTypes.Saw],
    CanBeDoneFromFloor:true,
    Result:HCWeights,
    Sound:PZ_Hammer,
    Time:400,
    Category:Welding,
    OnGiveXP:HCWelding_OnGiveXP,
    }
    
recipe Exercise with Weights
    {
    keep HCWeights,
    Water,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCGymtowel,
    Time:500.0,
    Category:Leisure,
    RemoveResultItem:true,
    OnCreate:HCTrainWeights_Trainingxp,
    }


recipe Exercise hard with Weights
    {
    SkillRequired:Strength=4,
    NeedToBeLearn:true,
    keep HCWeights,
    HCFitnessdrink=1,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCCanteen,
    Time:400,
    Category:Leisure,
    OnCreate:HCTrainWeights_Trainingxp2,
    } 


recipe Repair Treadmill
    {
    SkillRequired:Electricity=3,
    HCJunktredmill,
    ElectronicsScrap=2,
    HCSteelpipe,
    Pipe,
    HCWeldingset,
    keep [Recipe.GetItemTypes.WeldingMask],
    keep [Recipe.GetItemTypes.LeatherGloves],
    CanBeDoneFromFloor:true,
    Result:HCTredmill,
    Time:400,
    Category:Engineer,
    OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Add Generator to Treadmill
    {
    SkillRequired:Electricity=3,
    HCTredmill,
    HCPowercord,
    Generator,
    CanBeDoneFromFloor:true,
    Result:HCTredmillgenerator,
    Time:400,
    Category:Engineer,
    OnGiveXP:HCElectricity_OnGiveXP,
    }

recipe Exercise on Treadmill
    {
    keep HCTredmillgenerator,
    Water,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCGymtowel,
    Time:500.0,
    Category:Leisure,
    RemoveResultItem:true,
    OnCreate:HCTrainTredmill_Trainingxp,
    }


recipe Exercise hard on Treadmill
    {
    SkillRequired:Sprinting=5,
    NeedToBeLearn:true,
    keep HCTredmillgenerator,
    HCFitnessdrink=1,
    keep HCGymtowel,
    CanBeDoneFromFloor:true,
    Result:HCCanteen,
    Time:400,
    Category:Leisure,
    OnCreate:HCTrainTredmill_Trainingxp2,
    } 





}