Shotgun Shells: Difference between revisions

From PZwiki
(added box of shutgun shells model & gallery section)
(→‎Code: code box update)
Line 48: Line 48:


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


'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''<br>
''Box of Shotgun Shells'' [[File:ShotgunAmmoBox.png]]
''Box of Shotgun Shells'' [[File:ShotgunAmmoBox.png]]
{{Retrieved|version=41|incver=78.16}}
{{CodeBox
<pre>
| {{CodeSnip
    item ShotgunShellsBox
  | lang = java
    {
  | line = true
        DisplayCategory = Ammo,
  | start = 0
        Weight = 0.9,
  | source = items_weapons.txt
        Type = Normal,
  | retrieved = true
         DisplayName = Box of Shotgun Shells,
  | version = 41
        Icon = ShotgunAmmoBox,
  | incver = 78.16
        MetalValue = 24,
  | code =
        WorldStaticModel = BoxOfShotGunShells,
item ShotgunShellsBox
        PlaceOneSound = BoxOfShellsPlaceOne,
{
        PlaceMultipleSound = BoxOfShellsPlaceAll,
  DisplayCategory     = Ammo,
    }
  Weight             = 0.9,
</pre>
  Type               = Normal,
  DisplayName         = Box of Shotgun Shells,
  Icon               = ShotgunAmmoBox,
  MetalValue         = 24,
  WorldStaticModel   = BoxOfShotGunShells,
  PlaceOneSound       = BoxOfShellsPlaceOne,
  PlaceMultipleSound = BoxOfShellsPlaceAll,
}
  }}
}}


==See also==
==See also==

Revision as of 09:22, 8 January 2024

The Game WorldItemsWeaponsFirearmsAmmoShotgun Shells
Shotgun Shells
Shotgun Shells
Shotgun Shells Box of Shotgun Shells
General
Category Ammo
Weapon(s) JS-2000 ShotgunSawed-off JS-2000 ShotgunDouble Barrel ShotgunSawed-off Double Barrel Shotgun
Loose Ammo
Encumbrance
Heavy Load
0.05
Count 6
Box of Ammo
Encumbrance
Heavy Load
0.9
Contents 24 Rounds
Technical details
Item ID Base.ShotgunShells
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 can be merged into a box of shotgun shells, being much lighter than individual shells.

This ammunition can be disassembled to created gunpowder.

Product XP gained Skill(s) Recipe Ingredient 1
ShotgunAmmo.png
Shotgun Shells x24
0 XP none Box of Shotgun Shells
Box of Shotgun Shells
(consumed)
Box of Shotgun Shells
Box of Shotgun Shells
0 XP none ShotgunAmmo.png
Shotgun Shells x24
(consumed)
GunpowderJar.png
Gunpowder
0 XP none
(consumed)

Distribution

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

Shotgun Shells ShotgunAmmo.png

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

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