module KCMweapons
{
	imports
	{
		Base,
	}

	/****************************** BOWS ******************************/

	item HandCrossbow
    {
        ImpactSound	=	null,
        MaxRange	=	5,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.HandCrossbow,
		ToHitModifier	=	1.5,
        SoundVolume	=	10,
        MinAngle	=	0.9,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	45,
        Weight	=	1.2,
        SplatNumber	=	5,
        PushBackMod	=	0.4,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	4,
        UseEndurance	=	FALSE,
        DisplayName	=	Hand Crossbow,
        MinRange	=	0.5,
        SwingTime	=	0.45,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	HandCrossbowFire,
        SoundRadius	=	4,
        MinDamage	=	0.35,
        MaxDamage	=	0.7,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	HandCrossbow,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 15,
        CritDmgMultiplier = 5,
        AimingPerkCritModifier = 4,
        HitChance = 38,
        AimingPerkHitChanceModifier = 8,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.CrossbowBoltBox,
        MaxAmmo = 1,
        InsertAmmoSound = HandCrossbowInsert,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = HandCrossbowCock,
        AmmoType = KCMweapons.CrossbowBolt,
        WeaponReloadType = revolver,
        JamGunChance = 0,
        AttachmentType = Holster,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	item LargeCrossbow
    {
        ImpactSound	=	null,
        MaxRange	=	9,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.LargeCrossbow,
		ToHitModifier	=	1.5,
        SoundVolume	=	15,
        MinAngle	=	0.9,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	1.8,
        SplatNumber	=	5,
        PushBackMod	=	1,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	8,
        UseEndurance	=	FALSE,
        DisplayName	=	Recurve Crossbow,
        MinRange	=	0.5,
        SwingTime	=	1.25,
		SwingAnim	=	Rifle,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	LargeCrossbowFire,
        SoundRadius	=	8,
        MinDamage	=	0.75,
        MaxDamage	=	1.5,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	LargeCrossbow,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 55,
        CritDmgMultiplier = 6,
        AimingPerkCritModifier = 4,
		TwoHandWeapon = TRUE,
		RequiresEquippedBothHands = TRUE,
        HitChance = 34,
        AimingPerkHitChanceModifier = 14,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.CrossbowBoltLargeBox,
        MaxAmmo = 1,
        InsertAmmoSound = LargeCrossbowReload,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = LargeCrossbowReload,
        AmmoType = KCMweapons.CrossbowBoltLarge,
        WeaponReloadType = boltaction,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	item KCM_Compound
    {
        ImpactSound	=	null,
        MaxRange	=	10,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.KCM_Compound,
		ToHitModifier	=	1.5,
        SoundVolume	=	15,
        MinAngle	=	0.9,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	90,
        Weight	=	2.4,
        SplatNumber	=	5,
        PushBackMod	=	1,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	8,
        UseEndurance	=	FALSE,
        DisplayName	=	Scout Compound Bow,
        MinRange	=	0.5,
        SwingTime	=	1.25,
		SwingAnim	=	Rifle,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	LargeCrossbowFire,
        SoundRadius	=	8,
        MinDamage	=	1.0,
        MaxDamage	=	1.75,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	KCM_Compound,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 60,
        CritDmgMultiplier = 8,
        AimingPerkCritModifier = 4,
		TwoHandWeapon = TRUE,
		RequiresEquippedBothHands = TRUE,
        HitChance = 42,
        AimingPerkHitChanceModifier = 16,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.CrossbowBoltLargeBox,
        MaxAmmo = 1,
        InsertAmmoSound = LargeCrossbowReload,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = LargeCrossbowReload,
        AmmoType = KCMweapons.CrossbowBoltLarge,
        WeaponReloadType = boltaction,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	item KCM_Compound02
    {
        ImpactSound	=	null,
        MaxRange	=	12,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.KCM_Compound02,
		ToHitModifier	=	1.5,
        SoundVolume	=	15,
        MinAngle	=	0.9,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	90,
        Weight	=	2.4,
        SplatNumber	=	5,
        PushBackMod	=	1,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	8,
        UseEndurance	=	FALSE,
        DisplayName	=	Haze 470 Compound Bow,
        MinRange	=	0.5,
        SwingTime	=	1.25,
		SwingAnim	=	Rifle,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	LargeCrossbowFire,
        SoundRadius	=	8,
        MinDamage	=	1.2,
        MaxDamage	=	2.0,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	KCM_Compound02,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 60,
        CritDmgMultiplier = 10,
        AimingPerkCritModifier = 4,
		TwoHandWeapon = TRUE,
		RequiresEquippedBothHands = TRUE,
        HitChance = 48,
        AimingPerkHitChanceModifier = 18,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.CrossbowBoltLargeBox,
        MaxAmmo = 1,
        InsertAmmoSound = LargeCrossbowReload,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = LargeCrossbowReload,
        AmmoType = KCMweapons.CrossbowBoltLarge,
        WeaponReloadType = boltaction,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	item KCM_Handmade
    {
        ImpactSound	=	null,
        MaxRange	=	10,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.KCM_Handmade,
		ToHitModifier	=	1.8,
        SoundVolume	=	15,
        MinAngle	=	0.95,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	55,
        Weight	=	2.4,
        SplatNumber	=	5,
        PushBackMod	=	1,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	6,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	8,
        UseEndurance	=	FALSE,
        DisplayName	=	Handmade Wooden Crossbow,
        MinRange	=	0.61,
        SwingTime	=	1.25,
		SwingAnim	=	Rifle,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	LargeCrossbowFire,
        SoundRadius	=	8,
        MinDamage	=	0.70,
        MaxDamage	=	1.50,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	KCM_Handmade,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 50,
        CritDmgMultiplier = 7,
        AimingPerkCritModifier = 4,
		TwoHandWeapon = TRUE,
		RequiresEquippedBothHands = TRUE,
        HitChance = 38,
        AimingPerkHitChanceModifier = 12,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.WoodenBoltBox,
        MaxAmmo = 1,
        InsertAmmoSound = LargeCrossbowReload,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = LargeCrossbowReload,
        AmmoType = KCMweapons.WoodenBolt,
        WeaponReloadType = boltaction,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	item KCM_Handmade02
    {
        ImpactSound	=	null,
        MaxRange	=	11,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	KCMweapons.KCM_Handmade02,
		ToHitModifier	=	1.8,
        SoundVolume	=	15,
        MinAngle	=	0.95,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	68,
        Weight	=	2.4,
        SplatNumber	=	5,
        PushBackMod	=	1,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	8,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	8,
        UseEndurance	=	FALSE,
        DisplayName	=	Handmade Metal Crossbow,
        MinRange	=	0.61,
        SwingTime	=	1.0,
		SwingAnim	=	Rifle,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	LargeCrossbowFire,
        SoundRadius	=	8,
        MinDamage	=	0.85,
        MaxDamage	=	1.65,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	KCM_Handmade02,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 60,
        CritDmgMultiplier = 7,
        AimingPerkCritModifier = 4,
		TwoHandWeapon = TRUE,
		RequiresEquippedBothHands = TRUE,
        HitChance = 44,
        AimingPerkHitChanceModifier = 13,
        RecoilDelay = 1,
        SoundGain = 2,
        ReloadTime = 10,
        AimingTime = 20,
        BreakSound  =   HandCrossbowBreak,
        MetalValue = 25,
        AmmoBox = KCMweapons.WoodenBoltBox,
        MaxAmmo = 1,
        InsertAmmoSound = LargeCrossbowReload,
        EjectAmmoSound = HandCrossbowInsert,
        RackSound = LargeCrossbowReload,
        AmmoType = KCMweapons.WoodenBolt,
        WeaponReloadType = boltaction,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
    }

	/****************************** AMMO ******************************/

	item CrossbowBolt
	{
		Count	=	1,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Normal,
		DisplayCategory = Ammo,
		DisplayName	=	Short Crossbow Bolt,
		Icon	=	CrossbowAmmo,
		MetalValue = 1,
	}

    item CrossbowBoltBox
    {
        Weight	=	0.5,
        Type	=	Normal,
        DisplayName	=	Bundle of Short Crossbow Bolts,
        DisplayCategory = Ammo,
        Icon	=	CrossbowBoltBundle,
        MetalValue = 30,
    }
	item CrossbowBoltLarge
	{
		Count	=	1,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Normal,
		DisplayCategory = Ammo,
		DisplayName	=	Long Crossbow Bolt,
		Icon	=	CrossbowAmmo2,
		MetalValue = 1,
	}

    item CrossbowBoltLargeBox
    {
        Weight	=	0.5,
        Type	=	Normal,
        DisplayName	=	Bundle of Long Crossbow Bolts,
        DisplayCategory = Ammo,
        Icon	=	CrossbowBoltBundle2,
        MetalValue = 30,
    }

	item WoodenBolt
	{
		Count	=	1,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Normal,
		DisplayCategory = Ammo,
		DisplayName	=	Wooden Crossbow Bolt,
		Icon	=	KCM_WoodenBolt,
		MetalValue = 1,
	}

    item WoodenBoltBox
    {
        Weight	=	0.5,
        Type	=	Normal,
        DisplayName	=	Bundle of Wooden Crossbow Bolts,
        DisplayCategory = Ammo,
        Icon	=	KCM_WoodenBoltBox,
        MetalValue = 30,
    }

    item KCM_Flax
	{
		Weight	=	0.1,
		Type	=	Normal,
		DisplayName	=	Flax,
		Icon	=	KCM_Flax,
	}

}