module MarzGuns
{
    item THOMPSON
    {
        MinDamage                   = 1.0,
        MaxDamage                   = 1.6,
        CriticalChance              = 20.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 40,
        RecoilDelay                 = 15,
        MaxRange                    = 40.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 4,
        MaxSightRange               = 12.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.965,
        AimingPerkMinAngleModifier  = 0.01,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 2.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 2,
        PiercingBullets = false,
        
        DisplayCategory           = Weapon,
        ItemType                  = base:weapon,
        SubCategory               = Firearm,
        AttachmentType            = Rifle,
        Tags                      = base:hasmetal;base:firearm,
        Weight                    = 4.0,
        MetalValue                = 45.0,
        FireMode                  = Auto,
        FireModePossibilities     = Auto/Single,
        CyclicRateMultiplier      = 1.0,
        IsAimedFirearm            = true,
        Ranged                    = true,
        AmmoType                  = marzguns:bullet_45,
        AmmoBox                   = MarzGuns.45_Box,
        MagazineType              = MarzGuns.45Magazine30_THOMPSON,
        MaxAmmo                   = 30,
        Reloadtime                = 25,
        WeaponReloadType          = boltaction,
        TwoHandWeapon             = true,
        RequiresEquippedBothHands = true,
        UseEndurance              = false,
        MinimumSwingtime          = 0.5,
        Swingtime                 = 0.5,
        SwingAmountBeforeImpact   = 0.0,
        
        Icon                 = THOMPSON,
        IdleAnim             = Idle_Weapon2,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Rifle,
        WeaponSprite         = MarzGuns.THOMPSON,
        AimReleaseSound      = M16AimRelease,
        BreakSound           = M16Break,
        BringToBearSound     = M16BringToBear,
        ClickSound           = M16Jam,
        DropSound            = M1911Drop,
        EjectAmmoStartSound  = M1911EjectAmmoStart,
        EjectAmmoSound       = M1911EjectAmmo,
        EjectAmmoStopSound   = M1911EjectAmmoStop,
        EquipSound           = M1911Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M1911InsertAmmoStart,
        InsertAmmoSound      = M1911InsertAmmo,
        InsertAmmoStopSound  = M1911InsertAmmoStop,
        RackSound            = M16Rack,
        ShellFallSound       = M16CartridgeFall,
        SwingSound           = M36Shoot,
        UnequipSound         = M16UnEquip,
        SoundGain            = 2.0,
        SoundRadius          = 150,
        SoundVolume          = 35,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_shotgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.THOMPSON_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.THOMPSON_BOLT bolt_fired bolt_fired,
        
        ModelWeaponPart = MarzGuns.45Magazine20_THOMPSON MarzGuns.45Magazine20_THOMPSON magazine magazine,
        ModelWeaponPart = MarzGuns.45Magazine30_THOMPSON MarzGuns.45Magazine30_THOMPSON magazine magazine,
        ModelWeaponPart = MarzGuns.45Magazine100_THOMPSON MarzGuns.45Magazine100_THOMPSON magazine magazine,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 4.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item MP5
    {
        MinDamage                   = 1.0,
        MaxDamage                   = 1.6,
        CriticalChance              = 20.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 40,
        RecoilDelay                 = 15,
        MaxRange                    = 40.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 4,
        MaxSightRange               = 12.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.965,
        AimingPerkMinAngleModifier  = 0.01,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 2.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        PiercingBullets = false,
        
        DisplayCategory           = Weapon,
        ItemType                  = base:weapon,
        SubCategory               = Firearm,
        AttachmentType            = Rifle,
        Tags                      = base:hasmetal;base:firearm,
        Weight                    = 2.0,
        MetalValue                = 45.0,
        FireMode                  = Auto,
        FireModePossibilities     = Auto/Single,
        CyclicRateMultiplier      = 1.0,
        IsAimedFirearm            = true,
        Ranged                    = true,
        AmmoType                  = marzguns:bullet_9x19,
        AmmoBox                   = MarzGuns.9x19_Box,
        MagazineType              = MarzGuns.9x19Magazine20_MP5,
        MaxAmmo                   = 30,
        Reloadtime                = 25,
        WeaponReloadType          = boltaction,
        TwoHandWeapon             = true,
        RequiresEquippedBothHands = true,
        UseEndurance              = false,
        MinimumSwingtime          = 0.5,
        Swingtime                 = 0.5,
        SwingAmountBeforeImpact   = 0.0,
        
        Icon                 = MP5,
        IdleAnim             = Idle_Weapon2,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Rifle,
        WeaponSprite         = MarzGuns.MP5,
        AimReleaseSound      = M16AimRelease,
        BreakSound           = M16Break,
        BringToBearSound     = M16BringToBear,
        ClickSound           = M16Jam,
        DropSound            = M1911Drop,
        EjectAmmoStartSound  = M1911EjectAmmoStart,
        EjectAmmoSound       = M1911EjectAmmo,
        EjectAmmoStopSound   = M1911EjectAmmoStop,
        EquipSound           = M1911Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M1911InsertAmmoStart,
        InsertAmmoSound      = M1911InsertAmmo,
        InsertAmmoStopSound  = M1911InsertAmmoStop,
        RackSound            = M16Rack,
        ShellFallSound       = M16CartridgeFall,
        SwingSound           = M9Shoot,
        UnequipSound         = M16UnEquip,
        SoundGain            = 2.0,
        SoundRadius          = 150,
        SoundVolume          = 35,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_shotgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.MP5_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.MP5_BOLT bolt_fired bolt_fired,
        ModelWeaponPart = MarzGuns.MP5_Integrated_Stock_Folded MarzGuns.MP5_STOCK stock_folded stock_folded,
        ModelWeaponPart = MarzGuns.MP5_Integrated_Stock_Deployed MarzGuns.MP5_STOCK stock stock,
        
        ModelWeaponPart = MarzGuns.9x19Magazine20_MP5 MarzGuns.9x19Magazine20_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine25_MP5 MarzGuns.9x19Magazine25_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine30_MP5 MarzGuns.9x19Magazine30_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine60_MP5 MarzGuns.9x19Magazine60_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine100_MP5 MarzGuns.9x19Magazine100_MP5 magazine magazine,
        
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Up MarzGuns.Picatinny_Rail_Up rail_up rail_up,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Down MarzGuns.Picatinny_Rail_Down rail_down rail_down,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Right MarzGuns.Picatinny_Rail_Right rail_right rail_right,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Left MarzGuns.Picatinny_Rail_Left rail_left rail_left,
        
        ModelWeaponPart = MarzGuns.Booster_Scope MarzGuns.Booster_Scope booster_scope booster_scope,
        ModelWeaponPart = MarzGuns.Booster_Scope_Off MarzGuns.Booster_Scope_Off booster_scope booster_scope,
        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.Stub_Foregrip MarzGuns.Stub_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MKC_Foregrip MarzGuns.MKC_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MK2_Foregrip MarzGuns.MK2_Foregrip foregrip foregrip,
        
        ModelWeaponPart = MarzGuns.AimRight_Laser MarzGuns.AimRight_Laser laser_right laser_right,
        ModelWeaponPart = MarzGuns.LRX-7_Laser MarzGuns.LRX-7_Laser laser_right laser_right,
        
        ModelWeaponPart = MarzGuns.BrightPoint-5_Light MarzGuns.BrightPoint-5_Light light_left light_left,
        ModelWeaponPart = MarzGuns.SR7_Light MarzGuns.SR7_Light light_left light_left,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 4.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item MP5SD
    {
        MinDamage                   = 0.8,
        MaxDamage                   = 1.3,
        CriticalChance              = 20.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 40,
        RecoilDelay                 = 15,
        MaxRange                    = 35.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 4,
        MaxSightRange               = 12.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.965,
        AimingPerkMinAngleModifier  = 0.01,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 2.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        PiercingBullets = false,
        
        DisplayCategory           = Weapon,
        ItemType                  = base:weapon,
        SubCategory               = Firearm,
        AttachmentType            = Rifle,
        Tags                      = base:hasmetal;base:firearm,
        Weight                    = 2.1,
        MetalValue                = 45.0,
        FireMode                  = Auto,
        FireModePossibilities     = Auto/Single,
        CyclicRateMultiplier      = 1.0,
        IsAimedFirearm            = true,
        Ranged                    = true,
        AmmoType                  = marzguns:bullet_9x19,
        AmmoBox                   = MarzGuns.9x19_Box,
        MagazineType              = MarzGuns.9x19Magazine20_MP5,
        MaxAmmo                   = 30,
        Reloadtime                = 25,
        WeaponReloadType          = boltaction,
        TwoHandWeapon             = true,
        RequiresEquippedBothHands = true,
        UseEndurance              = false,
        MinimumSwingtime          = 0.5,
        Swingtime                 = 0.5,
        SwingAmountBeforeImpact   = 0.0,
        
        Icon                 = MP5SD,
        IdleAnim             = Idle_Weapon2,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Rifle,
        WeaponSprite         = MarzGuns.MP5SD,
        AimReleaseSound      = M16AimRelease,
        BreakSound           = M16Break,
        BringToBearSound     = M16BringToBear,
        ClickSound           = M16Jam,
        DropSound            = M1911Drop,
        EjectAmmoStartSound  = M1911EjectAmmoStart,
        EjectAmmoSound       = M1911EjectAmmo,
        EjectAmmoStopSound   = M1911EjectAmmoStop,
        EquipSound           = M1911Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M1911InsertAmmoStart,
        InsertAmmoSound      = M1911InsertAmmo,
        InsertAmmoStopSound  = M1911InsertAmmoStop,
        RackSound            = M16Rack,
        ShellFallSound       = M16CartridgeFall,
        SwingSound           = CapGunRifleShoot,
        UnequipSound         = M16UnEquip,
        SoundGain            = 1.0,
        SoundRadius          = 50,
        SoundVolume          = 15,
        NPCSoundBoost        = 1.5,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.MP5SD_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.MP5SD_BOLT bolt_fired bolt_fired,
        ModelWeaponPart = MarzGuns.MP5SD_Integrated_Stock_Folded MarzGuns.MP5SD_STOCK stock_folded stock_folded,
        ModelWeaponPart = MarzGuns.MP5SD_Integrated_Stock_Deployed MarzGuns.MP5SD_STOCK stock stock,
        
        ModelWeaponPart = MarzGuns.9x19Magazine20_MP5 MarzGuns.9x19Magazine20_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine25_MP5 MarzGuns.9x19Magazine25_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine30_MP5 MarzGuns.9x19Magazine30_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine60_MP5 MarzGuns.9x19Magazine60_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine100_MP5 MarzGuns.9x19Magazine100_MP5 magazine magazine,
        
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Up MarzGuns.Picatinny_Rail_Up rail_up rail_up,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Down MarzGuns.Picatinny_Rail_Down rail_down rail_down,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Right MarzGuns.Picatinny_Rail_Right rail_right rail_right,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Left MarzGuns.Picatinny_Rail_Left rail_left rail_left,
        
        ModelWeaponPart = MarzGuns.Booster_Scope MarzGuns.Booster_Scope booster_scope booster_scope,
        ModelWeaponPart = MarzGuns.Booster_Scope_Off MarzGuns.Booster_Scope_Off booster_scope booster_scope,
        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.Stub_Foregrip MarzGuns.Stub_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MKC_Foregrip MarzGuns.MKC_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MK2_Foregrip MarzGuns.MK2_Foregrip foregrip foregrip,
        
        ModelWeaponPart = MarzGuns.AimRight_Laser MarzGuns.AimRight_Laser laser_right laser_right,
        ModelWeaponPart = MarzGuns.LRX-7_Laser MarzGuns.LRX-7_Laser laser_right laser_right,
        
        ModelWeaponPart = MarzGuns.BrightPoint-5_Light MarzGuns.BrightPoint-5_Light light_left light_left,
        ModelWeaponPart = MarzGuns.SR7_Light MarzGuns.SR7_Light light_left light_left,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 4.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item MP5A2
    {
        MinDamage                   = 1.0,
        MaxDamage                   = 1.6,
        CriticalChance              = 30.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 40,
        RecoilDelay                 = 15,
        MaxRange                    = 40.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 4,
        MaxSightRange               = 12.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.965,
        AimingPerkMinAngleModifier  = 0.01,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 2.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        PiercingBullets = false,
        
        DisplayCategory           = Weapon,
        ItemType                  = base:weapon,
        SubCategory               = Firearm,
        AttachmentType            = Rifle,
        Tags                      = base:hasmetal;base:firearm,
        Weight                    = 2.0,
        MetalValue                = 45.0,
        FireMode                  = Auto,
        FireModePossibilities     = Auto/Single,
        CyclicRateMultiplier      = 1.0,
        IsAimedFirearm            = true,
        Ranged                    = true,
        AmmoType                  = marzguns:bullet_9x19,
        AmmoBox                   = MarzGuns.9x19_Box,
        MagazineType              = MarzGuns.9x19Magazine20_MP5,
        MaxAmmo                   = 30,
        Reloadtime                = 25,
        WeaponReloadType          = boltaction,
        TwoHandWeapon             = true,
        RequiresEquippedBothHands = true,
        UseEndurance              = false,
        MinimumSwingtime          = 0.5,
        Swingtime                 = 0.5,
        SwingAmountBeforeImpact   = 0.0,
        
        Icon                 = MP5A2,
        IdleAnim             = Idle_Weapon2,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Rifle,
        WeaponSprite         = MarzGuns.MP5A2,
        AimReleaseSound      = M16AimRelease,
        BreakSound           = M16Break,
        BringToBearSound     = M16BringToBear,
        ClickSound           = M16Jam,
        DropSound            = M1911Drop,
        EjectAmmoStartSound  = M1911EjectAmmoStart,
        EjectAmmoSound       = M1911EjectAmmo,
        EjectAmmoStopSound   = M1911EjectAmmoStop,
        EquipSound           = M1911Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M1911InsertAmmoStart,
        InsertAmmoSound      = M1911InsertAmmo,
        InsertAmmoStopSound  = M1911InsertAmmoStop,
        RackSound            = M16Rack,
        ShellFallSound       = M16CartridgeFall,
        SwingSound           = M9Shoot,
        UnequipSound         = M16UnEquip,
        SoundGain            = 2.0,
        SoundRadius          = 150,
        SoundVolume          = 35,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_shotgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.MP5A2_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.MP5A2_BOLT bolt_fired bolt_fired,
        
        ModelWeaponPart = MarzGuns.9x19Magazine20_MP5 MarzGuns.9x19Magazine20_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine25_MP5 MarzGuns.9x19Magazine25_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine30_MP5 MarzGuns.9x19Magazine30_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine60_MP5 MarzGuns.9x19Magazine60_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine100_MP5 MarzGuns.9x19Magazine100_MP5 magazine magazine,
        
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Up MarzGuns.Picatinny_Rail_Up rail_up rail_up,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Down MarzGuns.Picatinny_Rail_Down rail_down rail_down,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Right MarzGuns.Picatinny_Rail_Right rail_right rail_right,
        ModelWeaponPart = MarzGuns.Picatinny_Rail_Left MarzGuns.Picatinny_Rail_Left rail_left rail_left,
        
        ModelWeaponPart = MarzGuns.Booster_Scope MarzGuns.Booster_Scope booster_scope booster_scope,
        ModelWeaponPart = MarzGuns.Booster_Scope_Off MarzGuns.Booster_Scope_Off booster_scope booster_scope,
        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.Stub_Foregrip MarzGuns.Stub_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MKC_Foregrip MarzGuns.MKC_Foregrip foregrip foregrip,
        ModelWeaponPart = MarzGuns.MK2_Foregrip MarzGuns.MK2_Foregrip foregrip foregrip,
        
        ModelWeaponPart = MarzGuns.AimRight_Laser MarzGuns.AimRight_Laser laser_right laser_right,
        ModelWeaponPart = MarzGuns.LRX-7_Laser MarzGuns.LRX-7_Laser laser_right laser_right,
        
        ModelWeaponPart = MarzGuns.BrightPoint-5_Light MarzGuns.BrightPoint-5_Light light_left light_left,
        ModelWeaponPart = MarzGuns.SR7_Light MarzGuns.SR7_Light light_left light_left,
        
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 4.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item MP5K
    {
        MinDamage                   = 0.6,
        MaxDamage                   = 1.0,
        CriticalChance              = 20.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 25,
        RecoilDelay                 = 12,
        MaxRange                    = 35.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 2,
        MaxSightRange               = 10.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.95,
        AimingPerkMinAngleModifier  = 0.05,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 5.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        
        DisplayCategory         = Weapon,
        ItemType                = base:weapon,
        SubCategory             = Firearm,
        AttachmentType          = Holster,
        Tags                    = base:hasmetal;base:firearm,
        Weight                  = 1.5,
        MetalValue              = 30.0,
        FireMode                = Auto,
        FireModePossibilities   = Auto/Single,
        CyclicRateMultiplier    = 1.0,
        IsAimedFirearm          = true,
        Ranged                  = true,
        AmmoType                = marzguns:bullet_9x19,
        AmmoBox                 = MarzGuns.9x19_Box,
        ClipSize                = 15,
        MagazineType            = MarzGuns.9x19Magazine20_MP5,
        MaxAmmo                 = 15,
        Reloadtime              = 30,
        WeaponReloadType        = handgun,
        UseEndurance            = false,
        MinimumSwingtime        = 0.5,
        Swingtime               = 0.5,
        SwingAmountBeforeImpact = 0.0,
        
        Icon                 = MP5K,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Handgun,
        WeaponSprite         = MarzGuns.MP5K,
        AimReleaseSound      = M9AimRelease,
        BreakSound           = M9Break,
        BringToBearSound     = M9BringToBear,
        ClickSound           = M9Jam,
        DropSound            = M9Drop,
        EjectAmmoStartSound  = M9EjectAmmoStart,
        EjectAmmoSound       = M9EjectAmmo,
        EjectAmmoStopSound   = M9EjectAmmoStop,
        EquipSound           = M9Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M9InsertAmmoStart,
        InsertAmmoSound      = M9InsertAmmo,
        InsertAmmoStopSound  = M9InsertAmmoStop,
        RackSound            = M9Rack,
        ShellFallSound       = M9CartridgeFall,
        SwingSound           = M9Shoot,
        UnequipSound         = M9UnEquip,
        SoundGain            = 1.5,
        SoundRadius          = 100,
        SoundVolume          = 30,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_handgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.MP5K_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.MP5K_BOLT bolt_fired bolt_fired,
        
        ModelWeaponPart = MarzGuns.9x19Magazine20_MP5 MarzGuns.9x19Magazine20_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine25_MP5 MarzGuns.9x19Magazine25_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine30_MP5 MarzGuns.9x19Magazine30_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine60_MP5 MarzGuns.9x19Magazine60_MP5 magazine magazine,
        ModelWeaponPart = MarzGuns.9x19Magazine100_MP5 MarzGuns.9x19Magazine100_MP5 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.Aimpoint_Sight MarzGuns.Aimpoint_Sight 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,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 2.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item TEC9
    {
        MinDamage                   = 0.5,
        MaxDamage                   = 1.0,
        CriticalChance              = 25.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 50,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 20,
        RecoilDelay                 = 12,
        MaxRange                    = 35.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 2,
        MaxSightRange               = 10.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.95,
        AimingPerkMinAngleModifier  = 0.05,
        JamGunChance                = 1.2,
        ConditionLowerChanceOneIn   = 250,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 5.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        PiercingBullets = false,
        
        DisplayCategory         = Weapon,
        ItemType                = base:weapon,
        SubCategory             = Firearm,
        AttachmentType          = Holster,
        Tags                    = base:hasmetal;base:firearm,
        Weight                  = 1.23,
        MetalValue              = 30.0,
        IsAimedFirearm          = true,
        Ranged                  = true,
        AmmoType                = marzguns:bullet_9x19,
        AmmoBox                 = MarzGuns.9x19_Box,
        ClipSize                = 20,
        MagazineType            = MarzGuns.9x19Magazine20_TEC9,
        MaxAmmo                 = 20,
        Reloadtime              = 30,
        WeaponReloadType        = handgun,
        UseEndurance            = false,
        MinimumSwingtime        = 0.5,
        Swingtime               = 0.5,
        SwingAmountBeforeImpact = 0.0,
        
        Icon                 = TEC9,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Handgun,
        WeaponSprite         = MarzGuns.TEC9,
        AimReleaseSound      = M9AimRelease,
        BreakSound           = M9Break,
        BringToBearSound     = M9BringToBear,
        ClickSound           = M9Jam,
        DropSound            = M9Drop,
        EjectAmmoStartSound  = M9EjectAmmoStart,
        EjectAmmoSound       = M9EjectAmmo,
        EjectAmmoStopSound   = M9EjectAmmoStop,
        EquipSound           = M9Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M9InsertAmmoStart,
        InsertAmmoSound      = M9InsertAmmo,
        InsertAmmoStopSound  = M9InsertAmmoStop,
        RackSound            = M9Rack,
        ShellFallSound       = M9CartridgeFall,
        SwingSound           = M9Shoot,
        UnequipSound         = M9UnEquip,
        SoundGain            = 1.5,
        SoundRadius          = 100,
        SoundVolume          = 30,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_handgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.TEC9_BOLT bolt_Lock bolt_Lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.TEC9_BOLT bolt_fired bolt_fired,
        
        ModelWeaponPart = MarzGuns.9x19Magazine20_TEC9 MarzGuns.9x19Magazine20_TEC9 magazine magazine,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 2.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
    
    item MAC10
    {
        MinDamage                   = 0.7,
        MaxDamage                   = 1.1,
        CriticalChance              = 25.0,
        AimingPerkCritModifier      = 6,
        CritDmgMultiplier           = 4.0,
        HitChance                   = 40,
        AimingPerkHitChanceModifier = 4,
        Aimingtime                  = 25,
        RecoilDelay                 = 12,
        MaxRange                    = 35.0,
        AimingPerkRangeModifier     = 0,
        MinSightRange               = 2,
        MaxSightRange               = 10.0,
        MinRange                    = 0.61,
        MinAngle                    = 0.95,
        AimingPerkMinAngleModifier  = 0.05,
        JamGunChance                = 1,
        ConditionLowerChanceOneIn   = 200,
        ConditionMax                = 10,
        PushBackMod                 = 0.3,
        StopPower                   = 5.0,
        DoorDamage                  = 5,
        
        Projectilecount = 1,
        MaxHitcount     = 1,
        
        DisplayCategory         = Weapon,
        ItemType                = base:weapon,
        SubCategory             = Firearm,
        AttachmentType          = Holster,
        Tags                    = base:hasmetal;base:firearm,
        Weight                  = 2.2,
        MetalValue              = 30.0,
        FireMode                = Auto,
        FireModePossibilities   = Auto/Single,
        CyclicRateMultiplier    = 1.0,
        IsAimedFirearm          = true,
        Ranged                  = true,
        AmmoType                = marzguns:bullet_45,
        AmmoBox                 = MarzGuns.45_Box,
        ClipSize                = 15,
        MagazineType            = MarzGuns.45Magazine30_MAC10,
        MaxAmmo                 = 15,
        Reloadtime              = 30,
        WeaponReloadType        = handgun,
        UseEndurance            = false,
        MinimumSwingtime        = 0.5,
        Swingtime               = 0.5,
        SwingAmountBeforeImpact = 0.0,
        
        Icon                 = MAC10,
        RunAnim              = Run_Weapon2,
        SwingAnim            = Handgun,
        WeaponSprite         = MarzGuns.MAC10,
        AimReleaseSound      = M1911AimRelease,
        BreakSound           = M1911Break,
        BringToBearSound     = M1911BringToBear,
        ClickSound           = M1911Jam,
        DropSound            = M1911Drop,
        EjectAmmoStartSound  = M1911EjectAmmoStart,
        EjectAmmoSound       = M1911EjectAmmo,
        EjectAmmoStopSound   = M1911EjectAmmoStop,
        EquipSound           = M1911Equip,
        HitSound             = BulletImpact,
        ImpactSound          = null,
        InsertAmmoStartSound = M1911InsertAmmoStart,
        InsertAmmoSound      = M1911InsertAmmo,
        InsertAmmoStopSound  = M1911InsertAmmoStop,
        RackSound            = M1911Rack,
        ShellFallSound       = M1911CartridgeFall,
        SwingSound           = M1911Shoot,
        UnequipSound         = M1911UnEquip,
        SoundGain            = 1.5,
        SoundRadius          = 100,
        SoundVolume          = 30,
        NPCSoundBoost        = 1.5,
        MuzzleFlashModelKey  = muzzle_flash_handgun,
        SplatBloodOnNoDeath  = true,
        SplatNumber          = 3,
        SplatSize            = 3,
        
        OnCreate        = MarzGuns_OnCreate.AttachParts,
        ModelWeaponPart = MarzGuns.Bolt_Lock MarzGuns.MAC10_BOLT bolt_lock bolt_lock,
        ModelWeaponPart = MarzGuns.Bolt_Fired MarzGuns.MAC10_BOLT bolt_fired bolt_fired,
        ModelWeaponPart = MarzGuns.MAC10_Integrated_Stock_Folded MarzGuns.MAC10_STOCK_FOLDED stock stock,
        ModelWeaponPart = MarzGuns.MAC10_Integrated_Stock_Deployed MarzGuns.MAC10_STOCK_DEPLOYED stock stock,
        
        ModelWeaponPart = MarzGuns.45Magazine20_MAC10 MarzGuns.45Magazine20_MAC10 magazine magazine,
        ModelWeaponPart = MarzGuns.45Magazine30_MAC10 MarzGuns.45Magazine30_MAC10 magazine magazine,
        
        ModelWeaponPart = MarzGuns.45_Muzzle_Mount_Device MarzGuns.Muzzle_Mount_Device canon canon,
        ModelWeaponPart = MarzGuns.P45_Suppressor MarzGuns.P45_Suppressor canon canon,
        
        KnockBackOnNoDeath           = true,
        KnockdownMod                 = 2.0,
        MultipleHitConditionAffected = false,
        ToHitModifier                = 1.5,
    }
}
