Magazine (firearms): Difference between revisions

From PZwiki
Magazine (firearms)
m (Automated {{Languages}} removal.)
(Split pages, add redirect)
Tag: New redirect
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Header/sandbox2|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
#REDIRECT [[Magazine (disambiguation)]]
{{Page version|41.78.16}}
{{Split|M9 Magazine|M1911 Auto Magazine|D-E Magazine|MSR700 Magazine|MSR788 Magazine|M16 Magazine|M14 Magazine}}
{{Infobox item
|display_name=Magazine (firearms)
|model=GunMagazine Model.png
|icon=BerettaClip.png
|icon_name=Magazine (icon)
<!--GENERAL-->
|category=Ammo
|weight=0.2
|part_type=Magazine
<!--TECHNICAL DETAILS-->
|item_id=''See [[#Types|Types]]''
}}
A '''magazine''' stores [[ammo]] to feed into a [[Firearms|firearm]].
 
==Usage==
A magazine is required in many firearms to load more than one round at a time. Firearms that use magazines are much quicker to fully reload, as only a single magazine needs to be inserted, whereas non-magazine firearms need to have each round loaded separately. Each magazine can only be inserted into certain firearms, and loaded with specific rounds.
 
===Reloading===
A magazine can be reloaded by either:
*right-clicking the magazine in the player's inventory, then selecting "Insert X Bullets in Magazine".
*equipping the firearm and holding {{key|R}}, then selecting "Load Bullets into Spare Magazine".
Both options will result in the player inserting one round at a time until the magazine is filled, unless interrupted.
<br>Once filled, the magazine can then be inserted into the firearm. This can be done by either:
*equipping the firearm and tapping {{key|R}} (the fullest magazine will be inserted).
*equipping the firearm and holding {{key|R}}, then selecting "Insert Magazine".
*right-clicking the magazine or firearm in the player's inventory, then selecting "Insert Magazine".
 
A magazine can be filled with rounds while walking (upright or crouched), but not running or sprinting.
 
==Types==
<onlyinclude>{| class="wikitable theme-red" style="text-align; center;"
! Icon
! Name
! [[File:Moodle_Icon_HeavyLoad.png|link=|Encumbrance]]
! Weapon
! Ammo
! Capacity
! Item ID
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|M9 Magazine]]
| [[Magazine (firearms)|M9 Magazine]]
| 0.2
| [[File:HandGun3.png|link=M9 Pistol]]
| [[File:40calAmmoBox.png|link=9mm Round]]
| 15
| {{ID|Base.9mmClip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|M1911 Auto Magazine]]
| [[Magazine (firearms)|M1911 Auto Magazine]]
| 0.2
| [[File:HandGun2.png|link=M1911 Pistol]]
| [[File:40calAmmoBox.png|link=.45 Auto Round]]
| 7
| {{ID|Base.45Clip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|D-E Magazine]]
| [[Magazine (firearms)|D-E Magazine]]
| 0.2
| [[File:HandGun.png|link=D-E Pistol]]
| [[File:40calAmmoBox.png|link=.44 Magnum Round]]
| 8
| {{ID|Base.44Clip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|MSR700 Magazine]]
| [[Magazine (firearms)|MSR700 Magazine]]
| 0.2
| [[File:LeverActionRifle.png|link=MSR700 Rifle]]
| [[File:RifleAmmo223loose.png|link=.223 Round]]
| 3
| {{ID|Base.223Clip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|MSR788 Magazine]]
| [[Magazine (firearms)|MSR788 Magazine]]
| 0.2
| [[File:RifleHunting.png|link=MSR788 Rifle]]
| [[File:RifleAmmo308loose.png|link=.308 Round]]
| 3
| {{ID|Base.308Clip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|M16 Magazine]]
| [[Magazine (firearms)|M16 Magazine]]
| 0.2
| [[File:AssaultRifle.png|link=M16 Assault Rifle]]
| [[File:RifleAmmo308loose.png|link=5.56mm Round]]
| 30
| {{ID|Base.556Clip}}
|-
| [[File:BerettaClip.png|link=Magazine (firearms)|M14 Magazine]]
| [[Magazine (firearms)|M14 Magazine]]
| 0.2
| [[File:AssaultRifle2.png|link=M14 Rifle]]
| [[File:RifleAmmo308loose.png|link=.308 Round]]
| 20
| {{ID|Base.M14Clip}}
|}</onlyinclude>
 
==Code==
{{CodeBox|
[[File:BerettaClip.png]] '''''M9 Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 9mmClip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = 9mm Magazine,
        Icon = BerettaClip,
        MaxAmmo = 15,
        AmmoType = Base.Bullets9mm,
        StaticModel = GunMagazine,
        GunType = Base.Pistol,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''M1911 Auto Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 45Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .45 Auto Magazine,
        Icon = BerettaClip,
        MaxAmmo = 7,
        AmmoType = Base.Bullets45,
        StaticModel = GunMagazine,
        GunType = Base.Pistol2,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''D-E Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 44Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .44 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 8,
        AmmoType = Base.Bullets44,
        StaticModel = GunMagazine,
        GunType = Base.Pistol3,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''MSR700 Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 223Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .223 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.223Bullets,
        StaticModel = GunMagazine,
        /*GunType = Base.VarmintRifle,*/
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''MSR788 Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 308Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .308 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.HuntingRifle,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''M16 Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item 556Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .556 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 30,
        AmmoType = Base.556Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
 
[[File:BerettaClip.png]] '''''M14 Magazine'''''<br>
{{CodeSnip
  | lang = java
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item M14Clip
    {
        DisplayCategory = Ammo,
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .308 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 20,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle2,
        WorldStaticModel = Gun_Magazine_Ground,
    }
}}
}}
 
==See also==
*[[Ammo]]
*[[Weapon mods]]
*[[Weapons]]
 
{{Navbox weapons}}

Latest revision as of 22:08, 16 March 2024