9mm Round: Difference between revisions

From PZwiki
m (→‎Usage: clean up, replaced: pztabe → pztable)
m (Distribution table fix)
 
(42 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages|9mm Rounds}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Ammo}}
{{header|The Game World|Items|Weapons|Ammo|type=Weapon|version=Version 40|incver=40}}{{Infobox ammo
{{Page version|41.78.16}}
|display_name=9mm Rounds
{{Infobox item
|name_colour=Weapons
|name=9mm Round
|name_text_colour=Weapons
|model=9mmRound_Model.png
|image=40calAmmoBox_120px.png
|icon=40calAmmoBox.png
|alternate_image=HandgunAmmoBox.png{{!}}32px
|icon_name=9mm Round
|alternate_name=Box of 9mm Bullets
|model2=HandGunAmmoBox_Model.png
|alternate_link=
|icon2=HandgunAmmoBox.png
|icon_name2=Box of 9mm Rounds
|category=Ammo
|category=Ammo
|weapons=[[Pistol]]
|weapon1=Pistol
|loose_weight=0.1
|weight=0.01
|box_weight=0.3
|weight_text=(single)
|contents=30
|weight2=0.2
|class_name=Base.Bullets9mm<br>Base.BulletsBox
|weight_text2=(box)
}}'''9mm rounds''' are a type of ammo for [[weapons#Firearms|firearms]].
|capacity=30
|item_id=Base.Bullets9mm
|item_id2=Base.Bullets9mmBox
}}
A '''9mm round''' is a type of [[ammo]] for [[Weapons#Firearms|firearms]].


==Usage==
==Usage==
9mm rounds are used in [[pistol]]s.  
9mm rounds are used in the [[M9 Pistol|M9 pistol]]. The rounds must first be inserted into a [[9mm Magazine|9mm magazine]].


30 rounds can be can be merged into a '''box of 9mm bullets''', being much lighter than individual rounds.
==Crafting==
30 rounds can be merged into a '''box of 9mm bullets''', being much lighter than individual rounds.


{| class="pztable sortable" style="text-align:center;"
This ammunition can be disassembled to create [[gunpowder]].
|-
{{Crafting/sandbox2
! class="unsortable" | Item
|gunpowder
! class="unsortable" | Description
|9mm_round
! class="sortable" | Weight
|box_of_9mm_rounds
! class="unsortable" | Box Amount
}}
! class="unsortable" | Classname
|-
| [[File:9mmAmmo.png|32px|link=9mm Rounds|9mm Rounds]] <br> 9mm Rounds
| Ammunition for the [[Pistol]].
| 0.1
| [[File:Boxof9mmAmmo.png|32px|link=Box of 9mm Bullets|Box of 9mm Bullets]] <br> 30
| Base.Bullets9mm
|-
|}


==Distribution==
==Distribution==
9mm Rounds can be found in houses, [[Police Station|police stations]], medical centers and even on [[zombies]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Bullets9mm|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Bullets9mm distribution
        <span class="mw-customtoggle-togglebox-Bullets9mm" 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-Bullets9mm">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GunCache1
    | {{ll|GunBox}}
    | 23.28%
    |-
    | GunCache1
    | {{ll|GunBox}}
    | 41.14%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 12.41%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 23.28%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 51.57%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 23.28%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 41.14%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 76.55%
    |-
    | all
    | {{ll|Outfit_Police}}
    | 6.41%
    |-
    | all
    | {{ll|Outfit_PoliceState}}
    | 6.41%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bullets9mm" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bullets9mm|41.78.16-->
 
<!--BOT FLAG|Bullets9mmBox|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Bullets9mmBox distribution
        <span class="mw-customtoggle-togglebox-Bullets9mmBox" 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-Bullets9mmBox">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_WeaponBag
    | {{ll|Bag_WeaponBag}}
    | 12.41%
    |-
    | Bag_WeaponBag
    | {{ll|Bag_WeaponBag}}
    | 23.28%
    |-
    | GunCache1
    | {{ll|GunBox}}
    | 23.28%
    |-
    | GunCache1
    | {{ll|GunBox}}
    | 41.14%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 12.41%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 23.28%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 51.57%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 23.28%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 41.14%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 76.55%
    |-
    | PistolCase1
    | {{ll|PistolCase1}}
    | 6.41%
    |-
    | PistolCase1
    | {{ll|PistolCase1}}
    | 12.41%
    |-
    | PistolCase1
    | {{ll|PistolCase1}}
    | 30.41%
    |-
    | PistolCase1
    | {{ll|PistolCase1}}
    | 120.41%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 23.28%
    |-
    | all
    | {{ll|Outfit_Police}}
    | 1.01%
    |-
    | all
    | {{ll|Outfit_PoliceState}}
    | 1.01%
    |-
    | armysurplus
    | {{ll|displaycase}}
    | 23.28%
    |-
    | druglab
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | gunstore
    | {{ll|counter}}
    | 23.28%
    |-
    | gunstore
    | {{ll|displaycase}}
    | 23.28%
    |-
    | gunstore
    | {{ll|locker}}
    | 23.28%
    |-
    | gunstore
    | {{ll|locker}}
    | 41.14%
    |-
    | gunstore
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | gunstore
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | gunstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | gunstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | gunstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | gunstorestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | gunstorestorage
    | {{ll|locker}}
    | 23.28%
    |-
    | gunstorestorage
    | {{ll|locker}}
    | 41.14%
    |-
    | gunstorestorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | gunstorestorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | gunstorestorage
    | {{ll|militarycrate}}
    | 23.28%
    |-
    | gunstorestorage
    | {{ll|militarycrate}}
    | 41.14%
    |-
    | gunstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gunstorestorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | hunting
    | {{ll|displaycase}}
    | 23.28%
    |-
    | hunting
    | {{ll|locker}}
    | 23.28%
    |-
    | hunting
    | {{ll|locker}}
    | 41.14%
    |-
    | hunting
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | hunting
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 23.28%
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 23.28%
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 41.14%
    |-
    | pawnshopoffice
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | pawnshopoffice
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | pawnshopoffice
    | {{ll|shelves}}
    | 23.28%
    |-
    | pawnshopoffice
    | {{ll|shelves}}
    | 41.14%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | policestorage
    | {{ll|counter}}
    | 23.28%
    |-
    | policestorage
    | {{ll|counter}}
    | 41.14%
    |-
    | policestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | policestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | policestorage
    | {{ll|locker}}
    | 23.28%
    |-
    | policestorage
    | {{ll|locker}}
    | 41.14%
    |-
    | policestorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | policestorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | security
    | {{ll|locker}}
    | 23.28%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Police
    | {{ll|Glove Box}}
    | 6.41%
    |-
    | Police
    | {{ll|Truck Bed}}
    | 23.28%
    |-
    | Police
    | {{ll|Truck Bed}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bullets9mmBox" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bullets9mmBox|41.78.16-->
 
9mm rounds can be found in houses, [[police station]]s, medical centers, [[vehicles]], and even on [[zombies]].


==Trivia==
==Trivia==
*The 9mm Round seen in game is a [[wikipedia:9×19mm Parabellum|9x19 Parabellum round]] of a 9mm caliber. This round is one of the most common rounds for pistols, next to the [[wikipedia:.45 ACP|.45 ACP]].
*The 9mm round seen in game is a [[wikipedia:9×19mm Parabellum|9x19 Parabellum round]] of a 9mm caliber. This round is one of the most common rounds for pistols, next to the [[Wikipedia:.45 ACP|.45 ACP]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
 
''9mm Round'' [[File:40calAmmoBox.png]]<br>
''9mm Rounds'' [[File:40calAmmoBox.png]]
{{CodeSnip
{{Retrieved|version=40|incver=40}}
  | lang = java
<pre> item Bullets9mm
  | line = true
Count = 5,
  | start = 6292
Weight = 0.1,
  | source = items_weapons.txt
Type = Normal,
  | retrieved = true
DisplayCategory = Ammo,
  | version = 41.78.16
DisplayName = 9mm Rounds,
  | code =
Icon = 40calAmmoBox,
item Bullets9mm
MetalValue = 1,</pre>
    {
 
        DisplayCategory = Ammo,
        Count = 5,
        Weight = 0.01,
        Type = Normal,
        DisplayName = 9mm Rounds,
        Icon = 40calAmmoBox,
        MetalValue = 1,
        WorldStaticModel = 9mmRounds,
    }
}}


'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
''Box of 9mm Bullets'' [[File:HandgunAmmoBox.png]]<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 6304
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Bullets9mmBox
    {
        Weight = 0.2,
        Type = Normal,
        DisplayName = Box of 9mm Bullets,
        DisplayCategory = Ammo,
        Icon = HandgunAmmoBox,
        MetalValue = 30,
        WorldStaticModel = HandGunAmmoBox,
        PlaceOneSound = BoxOfRoundsPlaceOne,
        PlaceMultipleSound = BoxOfRoundsPlaceAll,
    }
}}
}}


''Box of 9mm Bullets'' [[File:HandgunAmmoBox.png]]
==Gallery==
{{Retrieved|version=40|incver=40}}
<gallery>
<pre> item BulletsBox
HandGunAmmoBox_Model.png|Ammo box model
Weight = 0.3,
</gallery>
Type = Normal,
DisplayName = Box of 9mm Bullets,
DisplayCategory = Ammo,
Icon = HandgunAmmoBox,
MetalValue = 30,</pre>


==See also==
==See also==
* [[Shotgun]]
*[[.45 Auto Round]]
* [[Varmint Rifle]]
*[[.44 Magnum Round]]
* [[Hunting Rifle]]
*[[.38 Special Round]]
* [[Shotgun Shells]]
* [[.233 Ammo]]
* [[.308 Ammo]]
{{clear}}


{{Navbox/Weapons}}
{{Navbox items|firearms}}
[[Category:Ammo]]

Latest revision as of 17:27, 30 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]
9mm Round
9mmRound Model.png
HandGunAmmoBox Model.png
General
Category
Ammo
Encumbrance
Moodle Icon HeavyLoad.png
0.01 (single)
0.2 (box)
Properties
Capacity
30 rounds
Technical
Item ID
Base.Bullets9mm
Base.Bullets9mmBox

A 9mm round is a type of ammo for firearms.

Usage

9mm rounds are used in the M9 pistol. The rounds must first be inserted into a 9mm magazine.

Crafting

30 rounds can be merged into a box of 9mm bullets, being much lighter than individual rounds.

This ammunition can be disassembled to create gunpowder.

Product Ingredients Tools Requirements Workstation XP
GunpowderJar.png
Gunpowder
One of:
40calAmmoBox.png .38 Special Round ×1
40calAmmoBox.png .44 Magnum Round ×1
40calAmmoBox.png .45 Auto Round ×1
40calAmmoBox.png 9mm Round ×1
RifleAmmo308loose.png 5.56mm Round ×1
RifleAmmo308loose.png .308 Round ×1
RifleAmmo223loose.png .223 Round ×1
ShotgunAmmo.png Shotgun Shells ×1
none none none none
40calAmmoBox.png
9mm Round ×30
HandgunAmmoBox.png Box of 9mm Rounds ×1 none none none none
HandgunAmmoBox.png
Box of 9mm Rounds
40calAmmoBox.png 9mm Round ×30 none none none none

Distribution

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

Bullets9mm distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GunCache1 GunBox 23.28%
GunCache1 GunBox 41.14%
GunCache2 Bag_DuffelBagTINT 12.41%
GunCache2 Bag_DuffelBagTINT 23.28%
GunCache2 Bag_DuffelBagTINT 51.57%
GunCache2 GunBox 23.28%
GunCache2 GunBox 41.14%
GunCache2 GunBox 76.55%
all Outfit_Police 6.41%
all Outfit_PoliceState 6.41%
Bullets9mmBox distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_WeaponBag Bag_WeaponBag 12.41%
Bag_WeaponBag Bag_WeaponBag 23.28%
GunCache1 GunBox 23.28%
GunCache1 GunBox 41.14%
GunCache2 Bag_DuffelBagTINT 12.41%
GunCache2 Bag_DuffelBagTINT 23.28%
GunCache2 Bag_DuffelBagTINT 51.57%
GunCache2 GunBox 23.28%
GunCache2 GunBox 41.14%
GunCache2 GunBox 76.55%
PistolCase1 PistolCase1 6.41%
PistolCase1 PistolCase1 12.41%
PistolCase1 PistolCase1 30.41%
PistolCase1 PistolCase1 120.41%
SafehouseLoot counter 23.28%
SafehouseLoot crate 23.28%
SafehouseLoot metal_shelves 23.28%
SafehouseLoot wardrobe 23.28%
SurvivorCache1 counter 23.28%
SurvivorCache2 counter 23.28%
all Outfit_Police 1.01%
all Outfit_PoliceState 1.01%
armysurplus displaycase 23.28%
druglab metal_shelves 23.28%
gunstore counter 23.28%
gunstore displaycase 23.28%
gunstore locker 23.28%
gunstore locker 41.14%
gunstore metal_shelves 23.28%
gunstore metal_shelves 41.14%
gunstore shelves 23.28%
gunstore shelves 41.14%
gunstorestorage crate 23.28%
gunstorestorage crate 41.14%
gunstorestorage locker 23.28%
gunstorestorage locker 41.14%
gunstorestorage metal_shelves 23.28%
gunstorestorage metal_shelves 41.14%
gunstorestorage militarycrate 23.28%
gunstorestorage militarycrate 41.14%
gunstorestorage shelves 23.28%
gunstorestorage shelves 41.14%
hunting displaycase 23.28%
hunting locker 23.28%
hunting locker 41.14%
hunting metal_shelves 23.28%
hunting metal_shelves 41.14%
pawnshop displaycase 23.28%
pawnshopoffice crate 23.28%
pawnshopoffice crate 41.14%
pawnshopoffice metal_shelves 23.28%
pawnshopoffice metal_shelves 41.14%
pawnshopoffice shelves 23.28%
pawnshopoffice shelves 41.14%
pawnshopstorage crate 23.28%
pawnshopstorage crate 41.14%
pawnshopstorage metal_shelves 23.28%
pawnshopstorage metal_shelves 41.14%
policestorage counter 23.28%
policestorage counter 41.14%
policestorage crate 23.28%
policestorage crate 41.14%
policestorage locker 23.28%
policestorage locker 41.14%
policestorage metal_shelves 23.28%
policestorage metal_shelves 41.14%
security locker 23.28%
Vehicles
Type Container Effective chance
Police Glove Box 6.41%
Police Trunk 23.28%
Police Trunk 41.14%

9mm rounds can be found in houses, police stations, medical centers, vehicles, and even on zombies.

Trivia

  • The 9mm round seen in game is a 9x19 Parabellum round of a 9mm caliber. This round is one of the most common rounds for pistols, next to the .45 ACP.

Code

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

9mm Round 40calAmmoBox.png
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Bullets9mm
    {
        DisplayCategory = Ammo,
        Count	=	5,
        Weight	=	0.01,
        Type	=	Normal,
        DisplayName	=	9mm Rounds,
        Icon	=	40calAmmoBox,
        MetalValue = 1,
        WorldStaticModel = 9mmRounds,
    }

Box of 9mm Bullets HandgunAmmoBox.png
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Bullets9mmBox
    {
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Box of 9mm Bullets,
        DisplayCategory = Ammo,
        Icon	=	HandgunAmmoBox,
        MetalValue = 30,
        WorldStaticModel = HandGunAmmoBox,
        PlaceOneSound = BoxOfRoundsPlaceOne,
        PlaceMultipleSound = BoxOfRoundsPlaceAll,
    }

Gallery

See also