Magazine (firearms)

From PZwiki
Jump to navigation Jump to search
PZwiki:Language policy Language: English
Magazine (firearms)
Magazine (firearms)
Magazine (icon)
General
Category Normal
Weight
Heavy Load
0.2
Part type Magazine
Technical details
Base ID See Types

A magazine stores ammo to feed into a 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 reload, as rather than having to load each individual round into the firearm, a single magazine needs to be inserted to fully reload. Each magazine can only be inserted into certain firearms, and loaded 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 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.
Once filled, the magazine can then be inserted into the firearm. This can done by either:

  • equipping the firearm and tapping R (the fullest magazine will be inserted).
  • equipping the firearm and holding R, then selecting "Insert Magazine".
  • right-cliking the 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

Icon Name Weapons Ammo Capacity Base ID
9mm Magazine 9mm Magazine M9 Pistol 9mm Round 15 Base.9mmClip
.45 Auto Magazine .45 Auto Magazine M1911 Pistol .45 Auto Round 7 Base.45Clip
.44 Magazine .44 Magazine D-E Pistol .44 Magnum Round 8 Base.44Clip
.223 Magazine .223 Magazine none .223 Round 3 Base.223Clip
.308 Magazine .308 Magazine MSR788 Rifle .308 Round 3 Base.308Clip
.556 Magazine .556 Magazine M16 Assault Rifle .556 Round 30 Base.556Clip
.308 Magazine .308 Magazine M14 Single Shot Assault Rifle .308 Round 20 Base.M14Clip

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

9mm Magazine 9mm Magazine

Retrieved
Version 41.52
    item 9mmClip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	9mm Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 15,
        AmmoType = Base.Bullets9mm,
        StaticModel = GunMagazine,
        GunType = Base.Pistol,
    }


9mm Magazine .45 Auto Magazine

Retrieved
Version 41.52
    item 45Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.45 Auto Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 7,
        AmmoType = Base.Bullets45,
        StaticModel = GunMagazine,
        GunType = Base.Pistol2,
    }


9mm Magazine .44 Magazine

Retrieved
Version 41.52
    item 44Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.44 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 8,
        AmmoType = Base.Bullets44,
        StaticModel = GunMagazine,
        GunType = Base.Pistol3,
    }


9mm Magazine .223 Magazine

Retrieved
Version 41.52
    item 223Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.223 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.223Bullets,
        StaticModel = GunMagazine,
        /*GunType = Base.VarmintRifle,*/
    }


9mm Magazine .308 Magazine

Retrieved
Version 41.52
    item 308Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.308 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.HuntingRifle,
    }


9mm Magazine .556 Magazine

Retrieved
Version 41.52
    item 556Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.556 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 30,
        AmmoType = Base.556Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle,
    }


9mm Magazine .308 Magazine

Retrieved
Version 41.52
    item M14Clip
    {
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.308 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 20,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle2,
    }


See also


Weapons vde
Axe Hand AxeStone AxeAxeWood AxePick Axe
Long Blunt Acoustic GuitarBadminton RacketBarbellBaseball BatBroomCanoe PaddleCanoe Paddle - Double-bladedChainsawCrowbarElectric BassElectric GuitarFishing RodFishing Rod (crafted)Fishing Rod without LineGarden HoeGolf ClubHockey StickIce Hockey StickKeytarLacrosse StickLeaf RakePlankPool CueRakeSaxophoneShovelSledgehammerSnow ShovelSpiked Baseball BatSpiked PlankTennis RacketTrumpet
Short Blunt Ball-peen HammerBanjoChair LegClub HammerDumbbellDrumstickFluteFrying PanGriddle PanHammerLead PipeMetal BarMetal PipeNightstickPlungerPipe WrenchPickaxe HandleRolling PinSaucepanSpiked Pickaxe HandleStone HammerTable LegViolinWooden MalletWrench
Long Blade MacheteKatana
Short Blade Butter KnifeBread KnifeForkHand ForkHand ScytheHunting KnifeIce PickLetter OpenerKitchen KnifeMeat CleaverScalpelScissorsScrewdriverSmashed BottleSpoonStakeStone Knife
Spear Closed UmbrellaCrafted SpearGarden ForkSpear with Bread KnifeSpear with Butter KnifeSpear with ForkSpear with Hand ForkSpear with Hunting KnifeSpear with Ice PickSpear with KnifeSpear with Letter OpenerSpear with MacheteSpear with ScalpelSpear with ScissorsSpear with ScrewdriverSpear with Spoon
Firearm D-E PistolDouble Barrel ShotgunJS-2000 ShotgunM14 RifleM16 Assault RifleM1911 PistolM36 RevolverM625 RevolverM9 PistolMagnumMSR700 RifleMSR788 RifleSawed-off Double Barrel ShotgunSawed-off JS-2000 Shotgun
Ammo .223 Round.308 Round.38 Special Round.44 Magnum Round.45 Auto Round5.56mm Round9mm RoundShotgun Shells
Weapon mods .223 Magazine.308 Magazine.44 Magazine.45 Auto Magazine5.56mm Magazine9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope
Throwable Aerosol BombAerosol Bomb with SensorAerosol Bomb with TimerFire BombFire Bomb with SensorFire Bomb with TimerMolotov CocktailNoise MakerNoise Maker with SensorNoise Maker with TimerPipe BombPipe Bomb with SensorPipe Bomb with TimerRemote Aerosol BombRemote Fire BombRemote Noise MakerRemote Pipe BombRemote Smoke BombSmoke BombSmoke Bomb with SensorSmoke Bomb with Timer
Other Bare HandsBlue PenPenPencilRed Pen