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                     = swmg: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                     = 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                     = swmg:round_40mm_buckshot,
        AmmoBox                      = MarzGuns.40mm_Box_Buckshot,
        MaxAmmo                      = 1,
        HaveChamber                  = false,
        InsertAllBulletsReload       = true,
        needtobeclosedoncereload     = false,
        
        Icon                         = M16A2_M203,
        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.M16A2_M203_Underbarrel,
        SplatBloodOnNoDeath          = true,
        SplatNumber                  = 5,
        
        AngleFalloff                 = true,
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 8.0,

        ModelWeaponPart              = MarzGuns.Bolt_Lock MarzGuns.M16A2_M203_BOLT bolt_lock bolt_lock,
        ModelWeaponPart              = MarzGuns.Bolt_Fired MarzGuns.M16A2_M203_BOLT bolt_fired bolt_fired,
        ModelWeaponPart              = MarzGuns.Underbarrel_Close MarzGuns.M16A2_M203_UNDERBARREL underbarrel_close underbarrel_close,
        ModelWeaponPart              = MarzGuns.Underbarrel_Open MarzGuns.M16A2_M203_UNDERBARREL underbarrel_open underbarrel_open,
        
        ModelWeaponPart              = MarzGuns.556x45Magazine20_STANAG MarzGuns.556x45Magazine20_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine25_STANAG MarzGuns.556x45Magazine25_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine30_STANAG MarzGuns.556x45Magazine30_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine60_STANAG MarzGuns.556x45Magazine60_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine50_STANAG MarzGuns.556x45Magazine50_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine75_STANAG MarzGuns.556x45Magazine75_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine100_STANAG MarzGuns.556x45Magazine100_STANAG magazine magazine,
        ModelWeaponPart              = MarzGuns.556x45Magazine150_STANAG MarzGuns.556x45Magazine150_STANAG magazine magazine,
        
        ModelWeaponPart              = MarzGuns.Picatinny_Rail_Up MarzGuns.Picatinny_Rail_Up rail_up rail_up,
        
        ModelWeaponPart              = MarzGuns.EXPS1_Sight MarzGuns.EXPS1_Sight scope scope,
        ModelWeaponPart              = MarzGuns.EXPS3_Sight MarzGuns.EXPS3_Sight scope scope,
        ModelWeaponPart              = MarzGuns.ElcanX2_Scope MarzGuns.ElcanX2_Scope scope scope,
        ModelWeaponPart              = MarzGuns.LR10X_Scope MarzGuns.LR10X_Scope scope scope,
        ModelWeaponPart              = MarzGuns.Aimpoint_Sight MarzGuns.Aimpoint_Sight scope scope,
        ModelWeaponPart              = MarzGuns.TA28_Scope MarzGuns.TA28_Scope scope scope,
        ModelWeaponPart              = MarzGuns.LR4X_Scope MarzGuns.LR4X_Scope scope scope,
        ModelWeaponPart              = MarzGuns.OKP3_Sight MarzGuns.OKP3_Sight scope scope,
        ModelWeaponPart              = MarzGuns.ReflexS2_Sight MarzGuns.ReflexS2_Sight scope scope,
        ModelWeaponPart              = MarzGuns.JS14_Sight MarzGuns.JS14_Sight scope scope,
        ModelWeaponPart              = MarzGuns.Kobra_Sight MarzGuns.Kobra_Sight scope scope,
        ModelWeaponPart              = MarzGuns.TR06X_Scope MarzGuns.TR06X_Scope scope scope,
        ModelWeaponPart              = MarzGuns.PSO1_Scope MarzGuns.PSO1_Scope scope scope,
        ModelWeaponPart              = MarzGuns.LRX12X_Scope MarzGuns.LRX12X_Scope scope scope,
        
        ModelWeaponPart              = MarzGuns.MKI_Suppressor MarzGuns.MKI_Suppressor canon canon,
        ModelWeaponPart              = MarzGuns.NDR_Suppressor MarzGuns.NDR_Suppressor canon canon,
        
        ModelWeaponPart              = MarzGuns.AR_Muzzle_Mount_Device MarzGuns.Muzzle_Mount_Device canon canon,
        ModelWeaponPart              = MarzGuns.LR2_Compensator MarzGuns.LR2_Compensator canon canon,
        ModelWeaponPart              = MarzGuns.LX_Flashhider MarzGuns.LX_Flashhider canon canon,
        ModelWeaponPart              = MarzGuns.Trix42_Muzzlebreak MarzGuns.Trix42_Muzzlebreak canon canon,
    }
}
