Gas Can: Difference between revisions
m (Added Category:Tools) |
m (Removing trailing whitespace(s)) |
||
Line 16: | Line 16: | ||
|item_id=Base.PetrolCan<br>Base.EmptyPetrolCan | |item_id=Base.PetrolCan<br>Base.EmptyPetrolCan | ||
}} | }} | ||
A '''gas can''' is a ''drainable'' item that becomes an '''empty gas can''' once used. | A '''gas can''' is a ''drainable'' item that becomes an '''empty gas can''' once used. | ||
==Usage== | ==Usage== | ||
===Fuel=== | ===Fuel=== | ||
A gas can contain gasoline which can be poured into [[vehicles]], filling their [[Gas Tank|gas tank]]. Along with vehicles, it is also the primary source of fuel for [[generator]]s. One full gas can will refill 80% of a generator's fuel tank. | A gas can contain gasoline which can be poured into [[vehicles]], filling their [[Gas Tank|gas tank]]. Along with vehicles, it is also the primary source of fuel for [[generator]]s. One full gas can will refill 80% of a generator's fuel tank. | ||
===Fire starting=== | ===Fire starting=== | ||
A gas can be used as a kindling when starting a [[campfire]]. Having a gas can in the secondary slot, with a [[lighter]] in the primary, it is possible to burn [[corpse]]s, removing any negative [[moodles]] that are caused by their presence. | A gas can be used as a kindling when starting a [[campfire]]. Having a gas can in the secondary slot, with a [[lighter]] in the primary, it is possible to burn [[corpse]]s, removing any negative [[moodles]] that are caused by their presence. | ||
===Refilling=== | ===Refilling=== | ||
Line 46: | Line 46: | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" |Chance | ||
|- | |- | ||
| rowspan="2"|carsupply | | rowspan="2"|carsupply | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 55: | Line 55: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="2"|conveniencestore | | rowspan="2"|conveniencestore | ||
| [[shelves]] | | [[shelves]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 64: | Line 64: | ||
|1 | |1 | ||
|- | |- | ||
| rowspan="2"|garagestorage | | rowspan="2"|garagestorage | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 73: | Line 73: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="2"|gasstorage | | rowspan="2"|gasstorage | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- |
Revision as of 07:45, 28 February 2024
Base.EmptyPetrolCan
A gas can is a drainable item that becomes an empty gas can once used.
Usage
Fuel
A gas can contain gasoline which can be poured into vehicles, filling their gas tank. Along with vehicles, it is also the primary source of fuel for generators. One full gas can will refill 80% of a generator's fuel tank.
Fire starting
A gas can be used as a kindling when starting a campfire. Having a gas can in the secondary slot, with a lighter in the primary, it is possible to burn corpses, removing any negative moodles that are caused by their presence.
Refilling
It is possible to refill a gas can by either siphoning gas from a vehicle, or at a gas pump. It should be noted that without a source of power, a gas pump will not function. An empty gas can can only be filled with gasoline, and cannot be used to store water.
Recipes
A full gas can is used in crafting Molotov cocktails and flame traps. Note that the flame trap can only be crafted by those with the engineer occupation, and cannot be learnt with a recipe magazine.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Molotov Cocktail |
0 XP | none | (consumed) |
Gas Can (1 unit) (consumed) |
(consumed) | |
Fire Bomb |
0 XP | none | Empty Bottle (consumed) |
Gas Can (4 units) (consumed) |
Ripped Sheets (consumed) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
carsupply | counter | 4 | 1 |
counter | 4 | 2 | |
conveniencestore | shelves | 4 | 1 |
shelves | 4 | 1 | |
garagestorage | counter | 4 | 1 |
counter | 4 | 2 | |
gasstorage | crate | 4 | 1 |
crate | 4 | 2 |
Code
PetrolCan
Source: ProjectZomboid\media\scripts\items.txt
item PetrolCan
{
DisplayCategory = VehicleMaintenance,
Weight = 5,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.125,
DisplayName = Gas Can,
Icon = Petrol,
ReplaceOnDeplete = EmptyPetrolCan,
StaticModel = GasCan,
ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
WorldStaticModel = GasCan_Ground,
Tags = Petrol,
}
EmptyPetrolCan
Source: ProjectZomboid\media\scripts\newitems.txt
item EmptyPetrolCan
{
DisplayCategory = VehicleMaintenance,
Weight = 1.6,
Type = Normal,
DisplayName = Empty Gas Can,
Icon = Petrol,
StaticModel = GasCan,
SurvivalGear = TRUE,
ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
WorldStaticModel = GasCan_Ground,
Tags = EmptyPetrol,
ReplaceTypes = PetrolSource PetrolCan,
}