Magazine (firearms): Difference between revisions

From PZwiki
Magazine (firearms)
m (Remove old translation templates)
(Split pages, add redirect)
Tag: New redirect
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
#REDIRECT [[Magazine (disambiguation)]]
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=78.16}}
{{Infobox weapon mod
|display_name = Magazine (firearms)
|name_colour = Weapon
|name_text_colour = Weapon
|image = GunMagazine Model.png
|image_width = 320px
|alternate_image = BerettaClip.png
|alternate_name = Magazine (icon)
<!--GENERAL-->
|category = Ammo
|weight = 0.2
|part_type = Magazine
<!--TECHNICAL DETAILS-->
|class_name = ''See [[#Types|Types]]''
}}
A '''magazine''' stores [[ammo]] to feed into a [[Weapons#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;"
! style="width: 50px;" | Icon
! style="width: 200px;" | Name
! style="width: 50px;" | [[File:Moodle_Icon_HeavyLoad.png|link=|Encumbrance]]
! Weapon
! Ammo
! Capacity
! style="width: 220px;"| Base ID
|-
| {{Img_item|item=9mmClip}}
| [[Magazine (firearms)|{{Img_item/name|item=9mmClip}}]]
| 0.2
| {{Img_item|item=Pistol}}
| {{Img_item|item=Bullets9mm}}
| 15
| {{ID|Base.9mmClip}}
|-
| {{Img_item|item=45Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=45Clip}}]]
| 0.2
| {{Img_item|item=Pistol2}}
| {{Img_item|item=Bullets45}}
| 7
| {{ID|Base.45Clip}}
|-
| {{Img_item|item=44Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=44Clip}}]]
| 0.2
| {{Img_item|item=Pistol3}}
| {{Img_item|item=Bullets44}}
| 8
| {{ID|Base.44Clip}}
|-
| {{Img_item|item=223Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=223Clip}}]]
| 0.2
| {{Img_item|item=VarmintRifle}}
| {{Img_item|item=223Bullets}}
| 3
| {{ID|Base.223Clip}}
|-
| {{Img_item|item=308Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=308Clip}}]]
| 0.2
| {{Img_item|item=HuntingRifle}}
| {{Img_item|item=308Bullets}}
| 3
| {{ID|Base.308Clip}}
|-
| {{Img_item|item=556Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=556Clip}}]]
| 0.2
| {{Img_item|item=AssaultRifle}}
| {{Img_item|item=556Bullets}}
| 30
| {{ID|Base.556Clip}}
|-
| {{Img_item|item=M14Clip}}
| [[Magazine (firearms)|{{Img_item/name|item=M14Clip}}]]
| 0.2
| {{Img_item|item=AssaultRifle2}}
| {{Img_item|item=308Bullets}}
| 20
| {{ID|Base.M14Clip}}
|}</onlyinclude>
 
==Code==
{{Img_item|item=9mmClip}} '''''{{Img_item/name|item=9mmClip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
}
  }}
}}
 
{{Img_item|item=45Clip}} '''''{{Img_item/name|item=45Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
}
  }}
}}
 
{{Img_item|item=44Clip}} '''''{{Img_item/name|item=44Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
}
  }}
}}
 
{{Img_item|item=223Clip}} '''''{{Img_item/name|item=223Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
  WorldStaticModel    = Gun_Magazine_Ground,
}
  }}
}}
 
{{Img_item|item=308Clip}} '''''{{Img_item/name|item=308Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
}
  }}
}}
 
{{Img_item|item=556Clip}} '''''{{Img_item/name|item=556Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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,
}
  }}
}}
 
{{Img_item|item=M14Clip}} '''''{{Img_item/name|item=M14Clip}}'''''
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 0
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 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