Shotgun Shells: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Ammo}}
{{header|The Game World|Items|Weapons|Firearms|Ammo|type=Weapon|version=Version 40|incver=43}}{{Infobox ammo
{{Page version|41.78.16}}
|display_name=Shotgun Shells
{{Infobox item
|name_colour=Weapons
|name=Shotgun Shells
|name_text_colour=Weapons
|model=ShotgunShells_Model.png
|image=ShotgunAmmo.png
|icon=ShotgunAmmo.png
|alternate_image=Box_of_Shotgun_Shells.png
|icon_name=Shotgun Shells
|alternate_name=Box of Shotgun Shells
|model2=BoxOfShotgunShells_Model.png
|alternate_link=
|icon2=Box_of_Shotgun_Shells.png
|icon_name2=Box of Shotgun Shells
|category=Ammo
|category=Ammo
|weapons=[[Shotgun]]<br>[[Sawn Off Shotgun]]
|weapon1=JS-2000 Shotgun
|loose_weight=0.1
|weapon2=Sawed-off JS-2000 Shotgun
|box_weight=0.3
|weapon3=Double Barrel Shotgun
|contents=30
|weapon4=Sawed-off Double Barrel Shotgun
|class_name=Base.ShotgunShells<br>Base.BulletsBox
|weight=0.05
}}'''Shotgun shells''' are a type of ammo for [[weapons#Firearms|firearms]].
|weight_text=(single)
|weight2=0.9
|weight_text2=(box)
|capacity=24
|item_id=Base.ShotgunShell
|item_id2=Base.ShotgunShellsBox
}}
'''Shotgun shells''' are a type of ammo for [[Weapons#Firearms|firearms]].


==Usage==
==Usage==
Shotgun shells are used in [[shotgun]]s and [[Sawn Off Shotgun|sawn off shotguns]]. 24 shells can be can be merged into a '''box of shotgun shells''', being much lighter than individual rounds.
Shotgun shells are used in the [[JS-2000 Shotgun|JS-2000 Shotgun]], [[Sawed-off JS-2000 Shotgun|Sawed-off JS-2000 Shotgun]], [[Double Barrel Shotgun|double barrel shotgun]] and [[Sawed-off Double Barrel Shotgun|sawed-off double barrel shotgun]].
 
==Crafting==
24 shells can be merged into a '''box of shotgun shells''', being much lighter than individual shells.


This ammunition can be disassembled to created [[gunpowder]].
This ammunition can be disassembled to created [[gunpowder]].
{{Crafting/sandbox2
|shotgun_shells
|box_of_shotgun_shells
|gunpowder
}}


==Crafting==
==Distribution==
{{Crafting table header}}
The loot distributions can be found in the table(s) below.
{{RecipeLookup|4030}}
{{RecipeLookup|4034}}
{{Crafting table footer}}


==Distribution==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
!Building/Room
!Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" |Chance
|-
| SafehouseLoot
| [[counter]]
| 4
| 1
|-
| rowspan="6"|all
| [[militarycrate]]
| 4
| 1
|-
|[[militarycrate]]
|4
|1
|-
|[[militarycrate]]
|4
|2
|-
|[[militarycrate]]
|4
|2
|-
|[[militarycrate]]
|4
|1
|-
|[[militarycrate]]
|4
|2
|-
| armysurplus
| [[displaycase]]
| 4
| 1
|-
| druglab
| [[metal_shelves]]
| 4
| 1
|-
| rowspan="5"|gunstore
| [[counter]]
| 4
| 1
|-
|[[locker]]
|4
|1
|-
|[[locker]]
|4
|2
|-
|[[locker]]
|4
|1
|-
|[[locker]]
|4
|2
|-
| pawnshop
| [[displaycase]]
| 4
| 1
|-
| pawnshopoffice
| [[locker]]
| 4
| 1
|-
| rowspan="4"|policestorage
| [[counter]]
| 4
| 1
|-
|[[counter]]
|4
|2
|-
|[[locker]]
|4
|1
|-
|[[locker]]
|4
|2
|}
Shotgun shells can be found in houses, police stations, medical centers, [[vehicles]] and on zombies.
Shotgun shells can be found in houses, police stations, medical centers, [[vehicles]] and on zombies.
==Gallery==
<gallery>
ShotgunShell_Model.png|Shotgun shell model
</gallery>


==Trivia==
==Trivia==
The shotgun shell seen in game is a generic [https://en.wikipedia.org/wiki/Shot_(pellet) lead shot] shell. This round is one of the most common rounds for shotguns, next to [https://en.wikipedia.org/wiki/Shotgun_slug slug rounds].
*The shotgun shell seen in game is a generic [[Wikipedia:Shot (pellet)|lead shot]] shell. This round is one of the most common rounds for shotguns, next to [[Wikipedia:Shotgun slug|slug rounds]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
 
''Shotgun Shells'' [[File:ShotgunAmmo.png]]<br>
''Shotgun Shells'' [[File:ShotgunAmmo.png]]
{{CodeSnip
{{Retrieved|version=40|incver=43}}
  | lang = java
<pre> item ShotgunShells
  | line = true
Count = 6,
  | start = 6437
Weight = 0.1,
  | source = items_weapons.txt
AlwaysWelcomeGift= TRUE,
  | retrieved = true
Type = Normal,
  | version = 41.78.16
DisplayCategory = Ammo,
  | code =
DisplayName = Shotgun Shells,
item ShotgunShells
Icon = ShotgunAmmo,
{
MetalValue = 1,</pre>
    DisplayCategory = Ammo,
 
Count = 6,
 
Weight = 0.05,
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
AlwaysWelcomeGift = TRUE,
Type = Normal,
DisplayName = Shotgun Shells,
Icon = ShotgunAmmo,
MetalValue = 1,
WorldStaticModel = ShotGunShells,
}
}}


''Box of Shotgun Shells'' [[File:Box_of_Shotgun_Shells.png]]
''Box of Shotgun Shells'' [[File:ShotgunAmmoBox.png]]<br>
{{Retrieved|version=40|incver=43}}
{{CodeSnip
<pre> item ShotgunShellsBox
  | lang = java
Weight = 0.3,
  | line = true
Type = Normal,
  | start = 6450
DisplayName = Box of Shotgun Shells,
  | source = items_weapons.txt
DisplayCategory = Ammo,
  | retrieved = true
Icon = ShotgunAmmoBox,
  | version = 41.78.16
MetalValue = 24,</pre>
  | code =
item ShotgunShellsBox
    {
        DisplayCategory = Ammo,
        Weight = 0.9,
        Type = Normal,
        DisplayName = Box of Shotgun Shells,
        Icon = ShotgunAmmoBox,
        MetalValue = 24,
        WorldStaticModel = BoxOfShotGunShells,
        PlaceOneSound = BoxOfShellsPlaceOne,
        PlaceMultipleSound = BoxOfShellsPlaceAll,
    }
}}
}}


==See also==
==See also==
* [[Pipe Bomb]]
*[[Pipe Bomb]]


{{Navbox/Weapons}}
{{Navbox items|firearms}}

Revision as of 12:02, 14 April 2024

Project ZomboidItemsWeaponsFirearmsAmmoShotgun Shells
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Shotgun Shells
ShotgunShells Model.png
BoxOfShotgunShells Model.png
General
Category
Ammo
Encumbrance
Moodle Icon HeavyLoad.png
0.05 (single)
0.9 (box)
Properties
Capacity
24 rounds
Technical
Item ID
Base.ShotgunShell
Base.ShotgunShellsBox

Shotgun shells are a type of ammo for firearms.

Usage

Shotgun shells are used in the JS-2000 Shotgun, Sawed-off JS-2000 Shotgun, double barrel shotgun and sawed-off double barrel shotgun.

Crafting

24 shells can be merged into a box of shotgun shells, being much lighter than individual shells.

This ammunition can be disassembled to created gunpowder.

Product Ingredients Tools Requirements Workstation XP
ShotgunAmmo.png
Shotgun Shells ×24
ShotgunAmmoBox.png Box of Shotgun Shells ×1 none none none none
ShotgunAmmoBox.png
Box of Shotgun Shells
ShotgunAmmo.png Shotgun Shells ×24 none none none none
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

Distribution

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

Containers
Building/Room Container Rolls Chance
SafehouseLoot counter 4 1
all militarycrate 4 1
militarycrate 4 1
militarycrate 4 2
militarycrate 4 2
militarycrate 4 1
militarycrate 4 2
armysurplus displaycase 4 1
druglab metal_shelves 4 1
gunstore counter 4 1
locker 4 1
locker 4 2
locker 4 1
locker 4 2
pawnshop displaycase 4 1
pawnshopoffice locker 4 1
policestorage counter 4 1
counter 4 2
locker 4 1
locker 4 2

Shotgun shells can be found in houses, police stations, medical centers, vehicles and on zombies.

Gallery

Trivia

  • The shotgun shell seen in game is a generic lead shot shell. This round is one of the most common rounds for shotguns, next to slug rounds.

Code

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

Shotgun Shells ShotgunAmmo.png
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item ShotgunShells
	{
	    DisplayCategory = Ammo,
		Count	=	6,
		Weight	=	0.05,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Normal,
		DisplayName	=	Shotgun Shells,
		Icon	=	ShotgunAmmo,
		MetalValue = 1,
		WorldStaticModel = ShotGunShells,
	}

Box of Shotgun Shells ShotgunAmmoBox.png
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item ShotgunShellsBox
    {
        DisplayCategory = Ammo,
        Weight	=	0.9,
        Type	=	Normal,
        DisplayName	=	Box of Shotgun Shells,
        Icon	=	ShotgunAmmoBox,
        MetalValue = 24,
        WorldStaticModel = BoxOfShotGunShells,
        PlaceOneSound = BoxOfShellsPlaceOne,
        PlaceMultipleSound = BoxOfShellsPlaceAll,
    }

See also