Shotgun Shells: Difference between revisions
m (shotgun shells model) |
m (→Code: put code into one CodeBox) |
||
Line 51: | Line 51: | ||
==Code== | ==Code== | ||
''Shotgun Shells'' [[File:ShotgunAmmo.png]] | {{CodeBox| | ||
''Shotgun Shells'' [[File:ShotgunAmmo.png]]<br> | |||
{{CodeSnip | |||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
Line 74: | Line 74: | ||
WorldStaticModel = ShotGunShells, | WorldStaticModel = ShotGunShells, | ||
} | } | ||
}} | }} | ||
''Box of Shotgun Shells'' [[File:ShotgunAmmoBox.png]] | ''Box of Shotgun Shells'' [[File:ShotgunAmmoBox.png]]<br> | ||
{{CodeSnip | |||
| lang = java | | lang = java | ||
| line = true | | line = true |
Revision as of 04:08, 14 January 2024
Shotgun Shells | |||
---|---|---|---|
| |||
General | |||
Category | Ammo | ||
Weapon(s) | |||
Loose Ammo | |||
Encumbrance | 0.05 | ||
Count | 6 | ||
Box of Ammo | |||
Encumbrance | 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 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 |
---|---|---|---|---|
Shotgun Shells x24 |
0 XP | none | Box of Shotgun Shells (consumed) | |
Box of Shotgun Shells |
0 XP | none | Shotgun Shells x24 (consumed) | |
Gunpowder |
0 XP | none | One of: .38 Special Round .44 Magnum Round .45 Auto Round 9mm Round 5.56mm Round .308 Round .223 Round Shotgun Shells (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
Source: ProjectZomboid\media\scripts\items_weapons.txt
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
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ShotgunShellsBox
{
DisplayCategory = Ammo,
Weight = 0.9,
Type = Normal,
DisplayName = Box of Shotgun Shells,
Icon = ShotgunAmmoBox,
MetalValue = 24,
WorldStaticModel = BoxOfShotGunShells,
PlaceOneSound = BoxOfShellsPlaceOne,
PlaceMultipleSound = BoxOfShellsPlaceAll,
}