Gunpowder: Difference between revisions
m (Added model image) |
(→Code: Codebox Update) |
||
Line 38: | Line 38: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item GunPowder | |||
{ | |||
DisplayCategory = Material, | |||
Weight = 0.1, | |||
Type = Drainable, | |||
UseDelta = 0.1, | |||
UseWhileEquipped = FALSE, | |||
DisplayName = Gunpowder, | |||
Icon = GunpowderJar, | |||
WeightEmpty = 0.01, | |||
WorldStaticModel = GunpowderJar, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:21, 8 January 2024
Gunpowder | |||
---|---|---|---|
| |||
General | |||
Category | Item | ||
Encumbrance | 0.1 | ||
Function | Craft pipe bomb | ||
Capacity | 10 units | ||
Contents | Gunpowder | ||
Technical details | |||
item ID | Base.GunPowder |
Gunpowder is an item used in crafting electrical items.
Usage
Gunpowder is used in crafting a pipe bomb.
Crafting
Obtaining
Product | XP gained | Skill(s) | Recipe | Ingredient 1 |
---|---|---|---|---|
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) |
What it can craft
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 | Ingredient 5 |
---|---|---|---|---|---|---|---|---|
Pipe Bomb |
0 XP | none | (keep) |
Metal Pipe (consumed) |
Scrap Electronics x3 (consumed) |
Gunpowder (20 units) (consumed) |
Twine (1 unit) (consumed) |
Distribution
Although rare, gunpowder can be found while foraging.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item GunPowder
{
DisplayCategory = Material,
Weight = 0.1,
Type = Drainable,
UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Gunpowder,
Icon = GunpowderJar,
WeightEmpty = 0.01,
WorldStaticModel = GunpowderJar,
}