D-E Magazine: Difference between revisions
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. | ||
{ | <!--BOT FLAG|44Clip|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>44Clip distribution | |||
<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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-44Clip"> | |||
<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}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
|8 | ! Rolls | ||
|- | ! Chance | ||
|armysurplus | |- | ||
| | | SafehouseLoot | ||
|4 | | {{ll|counter}} | ||
|8 | | 4 | ||
|- | | 8.0 | ||
|druglab | |- | ||
| | | all | ||
|4 | | {{ll|PistolCase3}} | ||
|8 | | 1 | ||
|- | | 200.0 | ||
|- | |||
| | | all | ||
|4 | | {{ll|PistolCase3}} | ||
|8 | | 1 | ||
|- | | 10.0 | ||
| | |- | ||
|4 | | armysurplus | ||
|8 | | {{ll|displaycase}} | ||
|- | | 4 | ||
|pawnshop | | 8.0 | ||
| | |- | ||
|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
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.
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
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}