Gas Can

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Gas Can
GasCan Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
5 (Full)
1.6 (Empty)
Function
Refuel vehicle and generator
Start fire
Properties
Contents
Gasoline
Capacity
8 units
Technical
Item ID
Base.PetrolCan
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 Ingredients Tools Requirements Workstation XP
Molotov.png
Molotov Cocktail
One of:
WhiskeyEmpty.png Empty Bottle (disambiguation) ×1
WineEmpty.png Empty Bottle (disambiguation) ×1
Wine2Empty.png Empty Bottle (disambiguation) ×1
One of:
Rag.png Ripped Sheets ×1
RagDirty.png Dirty Rag ×1
Petrol.png
Gas Can
none none none
BottleWithGas.png
Fire Bomb
WaterBottle Empty.png Empty Bottle ×1
Petrol.png Gas Can ×4 unit(s)
Rag.png Ripped Sheets ×1
none
Profession engineer.png
Engineer occupation
none none

Distribution

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

EmptyPetrolCan distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all toolcabinet 23.28%
carsupply counter 23.28%
carsupply counter 41.14%
carsupply shelves 23.28%
carsupply shelves 41.14%
closet crate 23.28%
conveniencestore shelves 23.28%
cornerstore shelves 23.28%
fossoil shelves 23.28%
garagestorage counter 23.28%
garagestorage counter 41.14%
garagestorage crate 23.28%
garagestorage metal_shelves 23.28%
garagestorage metal_shelves 41.14%
gasstorage crate 23.28%
gasstorage crate 41.14%
gasstorage metal_shelves 23.28%
gasstorage metal_shelves 41.14%
gasstore shelves 23.28%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
storageunit crate 23.28%
storageunit metal_shelves 23.28%
zippeestore shelves 23.28%
Vehicles
Type Container Effective chance
Ambulance Trunk 23.28%
Carpenter Trunk 23.28%
Clothing Trunk 23.28%
Construction Worker Trunk 23.28%
Distillery Trunk 23.28%
Doctor Trunk 23.28%
Electrician Trunk 23.28%
Farmer Trunk 23.28%
Fire Trunk 23.28%
Fisherman Trunk 23.28%
Fossoil Trunk 23.28%
Fossoil Trunk 41.14%
Fossoil Trunk 76.55%
Golf Trunk 23.28%
Groceries Trunk 23.28%
Heralds Trunk 23.28%
Mass Gen Fac Trunk 23.28%
McCoy Trunk 23.28%
Metal Welder Trunk 23.28%
Painter Trunk 23.28%
Police Trunk 23.28%
Postal Trunk 23.28%
Radio Trunk 23.28%
Ranger Trunk 23.28%
Survivalist Trunk 23.28%
Taxi Trunk 23.28%
Transit Trunk 23.28%
Heavy Trunk 23.28%
Sports Trunk 23.28%
Standard Trunk 23.28%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
1 0 all with 1 chance - - - - all - -
PetrolCan distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
garagestorage counter 2.81%
garagestorage metal_shelves 2.81%
Vehicles
Type Container Effective chance
Fossoil Trunk 10.78%

Code

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

Petrol.png PetrolCan
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
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,
	}

Petrol.png EmptyPetrolCan
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
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,
	}

See also