module MarzGuns
{
    item M79
    {
        MinDamage                   = 1.8,
        MaxDamage                   = 2.0,
        CriticalChance              = 70.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 12.0,
        HitChance                   = 65,
        AimingPerkHitChanceModifier = 4,
        AimingMod                   = 2.0,
        Aimingtime                  = 40,
        MaxRange                    = 10.0,
        MinSightRange               = 3,
        MaxSightRange               = 8.0,
        MinRange                    = 0.67,
        MinAngle                    = 0.9,
        JamGunChance                = 0,
        ConditionLowerChanceOneIn   = 50,
        ConditionMax                = 8,
        DoorDamage                  = 30,
        
        MaxHitcount            = 9,
        PiercingBullets        = false,
        Projectilecount        = 9,
        ProjectileSpread       = 3.5,
        ProjectileWeightCenter = 1.0,
        
        DisplayCategory          = Weapon,
        ItemType                 = base:weapon,
        AttachmentType           = Rifle,
        Weight                   = 2.7,
        MetalValue               = 80.0,
        FireMode                 = Single,
        IsAimedFirearm           = true,
        IsAimedHandWeapon        = true,
        AmmoType                 = marzguns:round_40mm_buckshot,
        AmmoBox                  = MarzGuns.40mm_Box_Buckshot,
        MaxAmmo                  = 1,
        HaveChamber              = false,
        InsertAllBulletsReload   = true,
        needtobeclosedoncereload = true,
        
        Icon                 = M79,
        AimReleaseSound      = DoubleBarrelShotgunAimRelease,
        BreakSound           = DoubleBarrelShotgunBreak,
        BringToBearSound     = DoubleBarrelShotgunBringToBear,
        ClickSound           = DoubleBarrelShotgunJam,
        DropSound            = DoubleBarrelShotgunDrop,
        EjectAmmoStartSound  = DoubleBarrelShotgunEjectAmmoStart,
        EjectAmmoSound       = DoubleBarrelShotgunEjectAmmo,
        EjectAmmoStopSound   = DoubleBarrelShotgunEjectAmmoStop,
        EquipSound           = DoubleBarrelShotgunEquip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = DoubleBarrelShotgunInsertAmmoStart,
        InsertAmmoSound      = DoubleBarrelShotgunInsertAmmo,
        InsertAmmoStopSound  = DoubleBarrelShotgunInsertAmmoStop,
        
        ManuallyRemoveSpentRounds    = true,
        MultipleHitConditionAffected = false,
        MuzzleFlashModelKey          = muzzle_flash_shotgun_double_barrel,
        PushBackMod                  = 0.8,
        RackAfterShoot               = false,
        Ranged                       = true,
        RangeFalloff                 = true,
        RecoilDelay                  = 30,
        Reloadtime                   = 25,
        RequiresEquippedBothHands    = true,
        RunAnim                      = Run_Weapon2,
        ShellFallSound               = DoubleBarrelShotgunCartridgeFall,
        SoundGain                    = 4.0,
        SoundRadius                  = 300,
        SoundVolume                  = 300,
        StopPower                    = 40.0,
        SubCategory                  = Firearm,
        SwingSound                   = DoubleBarrelShotgunShoot,
        Swingtime                    = 2.0,
        Tags                         = base:hasmetal;base:firearm,
        TwoHandWeapon                = true,
        UnequipSound                 = DoubleBarrelShotgunUnEquip,
        UseEndurance                 = false,
        WeaponReloadType             = doublebarrelshotgun,
        WeaponSprite                 = MarzGuns.M79,
        SplatBloodOnNoDeath          = true,
        SplatNumber                  = 5,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Barrel_Close MarzGuns.M79_Barrel_Close barrel barrel,
        ModelWeaponPart = MarzGuns.Barrel_Open MarzGuns.M79_Barrel_Open barrel barrel,
        
        AngleFalloff       = true,
        KnockBackOnNoDeath = true,
        KnockdownMod       = 8.0,
    }
    
    item M203_Weapon
    {
        MinDamage                   = 1.8,
        MaxDamage                   = 2.0,
        CriticalChance              = 70.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 12.0,
        HitChance                   = 65,
        AimingPerkHitChanceModifier = 4,
        AimingMod                   = 2.0,
        Aimingtime                  = 40,
        MaxRange                    = 0.5,
        MinSightRange               = 3,
        MaxSightRange               = 8.0,
        MinRange                    = 0.5,
        MinAngle                    = 0.9,
        JamGunChance                = 0,
        ConditionLowerChanceOneIn   = 150,
        ConditionMax                = 10,
        DoorDamage                  = 30,
        
        MaxHitcount            = 0,
        PiercingBullets        = false,
        Projectilecount        = 0,
        ProjectileSpread       = 3.5,
        ProjectileWeightCenter = 1.0,
        
        DisplayCategory          = Weapon,
        ItemType                 = base:weapon,
        AttachmentType           = Rifle,
        Weight                   = 6.0,
        MetalValue               = 80.0,
        FireMode                 = Single,
        IsAimedFirearm           = true,
        IsAimedHandWeapon        = true,
        AmmoType                 = marzguns:round_40mm_HE,
        AmmoBox                  = MarzGuns.40mm_Box_HE,
        MaxAmmo                  = 1,
        HaveChamber              = false,
        InsertAllBulletsReload   = true,
        needtobeclosedoncereload = false,
        
        Icon                 = M79,
        AimReleaseSound      = DoubleBarrelShotgunAimRelease,
        BreakSound           = DoubleBarrelShotgunBreak,
        BringToBearSound     = DoubleBarrelShotgunBringToBear,
        ClickSound           = DoubleBarrelShotgunJam,
        DropSound            = DoubleBarrelShotgunDrop,
        EjectAmmoStartSound  = DoubleBarrelShotgunEjectAmmoStart,
        EjectAmmoSound       = DoubleBarrelShotgunEjectAmmo,
        EjectAmmoStopSound   = DoubleBarrelShotgunEjectAmmoStop,
        EquipSound           = DoubleBarrelShotgunEquip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = DoubleBarrelShotgunInsertAmmoStart,
        InsertAmmoSound      = DoubleBarrelShotgunInsertAmmo,
        InsertAmmoStopSound  = DoubleBarrelShotgunInsertAmmoStop,
        
        ManuallyRemoveSpentRounds    = true,
        MultipleHitConditionAffected = false,
        PushBackMod                  = 0.8,
        RackAfterShoot               = false,
        Ranged                       = true,
        RangeFalloff                 = true,
        RecoilDelay                  = 30,
        Reloadtime                   = 25,
        RequiresEquippedBothHands    = true,
        RunAnim                      = Run_Weapon2,
        ShellFallSound               = DoubleBarrelShotgunCartridgeFall,
        SoundGain                    = 4.0,
        SoundRadius                  = 300,
        SoundVolume                  = 300,
        StopPower                    = 40.0,
        SubCategory                  = Firearm,
        SwingSound                   = DoubleBarrelShotgunShoot,
        Swingtime                    = 2.0,
        Tags                         = base:hasmetal;base:firearm,
        TwoHandWeapon                = true,
        UnequipSound                 = DoubleBarrelShotgunUnEquip,
        UseEndurance                 = false,
        WeaponReloadType             = doublebarrelshotgun,
        WeaponSprite                 = MarzGuns.M79,
        SplatBloodOnNoDeath          = true,
        SplatNumber                  = 5,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Barrel_Close MarzGuns.M79_Barrel_Close barrel barrel,
        ModelWeaponPart = MarzGuns.Barrel_Open MarzGuns.M79_Barrel_Open barrel barrel,
        
        AngleFalloff       = true,
        KnockBackOnNoDeath = true,
        KnockdownMod       = 8.0,
    }
}
