module Hydrocraft
{
    imports
    {
        Base

    }

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

item UmbrellaOpen
    {
        DisplayCategory = Household,
        Type				=			Normal,
        DisplayName			=		    Umbrella,
        Icon				=			SB_UmbrellaOpen,
        Weight				=			1.5,
        primaryAnimMask 	= HoldingUmbrellaRight,
        secondaryAnimMask	= HoldingUmbrellaLeft,
        StaticModel = HC_Umbrella_Open_Black,
        MetalValue 			= 9,
        ProtectFromRainWhenEquipped = TRUE,
        EquippedNoSprint 	= TRUE,
    }

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


     item UmbrellaClosed
    {
        DisplayCategory = Household,
        Categories	=	Improvised;Spear,
        SubCategory	=	Swinging,		
        Type	=	Weapon,	
        TwoHandWeapon = TRUE,		
        DisplayName	=	Closed Umbrella,		
        Icon	=	SB_UmbrellaClosed,
        Weight	=	1,
        WeaponSprite	=	Hydrocraft.HC_Umbrella_Closed_Black,		
        MaxRange	=	1.1,
        MinAngle	=	0.8,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        ConditionLowerChanceOneIn	=	3,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        ConditionMax	=	7,
        MaxHitCount	=	1,
        DoorDamage	=	1,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        TreeDamage  =   0,
        CriticalChance	=	10,
        CritDmgMultiplier = 1,
        MinDamage	=	0.5,
        MaxDamage	=	0.7,
        BaseSpeed = 0.9,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        SwingAnim	=	Spear,		
        BreakSound  =   UmbrellaBreak,
        HitFloorSound	=	UmbrellaHit,
        ImpactSound	=	UmbrellaHit,
        DoorHitSound = UmbrellaHit,
        HitSound	=	UmbrellaHit,
        SwingSound = UmbrellaSwing,
		AttachmentType = Umbrella,		
    }


/************************RECIPIES************************/
	
		
		recipe Open Umbrella
		{
		UmbrellaClosed,
		
		Result:UmbrellaOpen,
		Time:20.0
		}
		
		recipe Close Umbrella
		{
		UmbrellaOpen,
		
		Result:UmbrellaClosed,
		Time:20.0
		}

			
}
		