D-E Magazine: Difference between revisions

From PZwiki
m (Automated Formatting)
m (Distribution table update)
Line 36: Line 36:
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|44Clip|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>44Clip distribution
! Container
        <span class="mw-customtoggle-togglebox-44Clip" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-44Clip">
! style="width: 3.2em;" | Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|SafehouseLoot
    |+ {{ll|Containers}}
|[[counter]]
    ! Building / Room
|4
    ! Container
|8
    ! Rolls
|-
    ! Chance
|armysurplus
    |-
|[[displaycase]]
    | SafehouseLoot
|4
    | {{ll|counter}}
|8
    | 4
|-
    | 8.0
|druglab
    |-
|[[metal_shelves]]
    | all
|4
    | {{ll|PistolCase3}}
|8
    | 1
|-
    | 200.0
|rowspan="2"|gunstore
    |-
|[[counter]]
    | all
|4
    | {{ll|PistolCase3}}
|8
    | 1
|-
    | 10.0
|[[locker]]
    |-
|4
    | armysurplus
|8
    | {{ll|displaycase}}
|-
    | 4
|pawnshop
    | 8.0
|[[displaycase]]
    |-
|4
    | druglab
|8
    | {{ll|metal_shelves}}
|}
    | 4
    | 8.0
    |-
    | gunstore
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | gunstore
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-44Clip" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|44Clip|41.78.16-->


==Code==
==Code==

Revision as of 15:19, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
.44 Magazine
GunMagazine Model.png
General
Category
Ammo
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Part type
Magazine
Skill
Ammunition
40calAmmoBox.png
Magazine size
8
Technical
Item ID
Base.44Clip

The M9 magazine stores ammo to feed into a firearm.

Usage

The M9 magazine is a firearm magazine that can hold up to 20 rounds. It is used in the D-E Pistol.

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 be 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-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.

Distribution

The loot distributions can be found in the table(s) below.

44Clip distribution Show / Hide
Containers
Building / Room Container Rolls Chance
SafehouseLoot counter 4 8.0
all PistolCase3 1 200.0
all PistolCase3 1 10.0
armysurplus displaycase 4 8.0
druglab metal_shelves 4 8.0
gunstore counter 4 8.0
gunstore locker 4 8.0
pawnshop displaycase 4 8.0

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
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,
    }

See also