Gas Can: Difference between revisions

From PZwiki
m (Automated {{Languages}} removal.)
m (Remove lines))
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Header/sandbox2|Project Zomboid|Items|Equipment|Tools|Mechanic tools}}
{{Header|Project Zomboid|Items|Equipment|Tools|Mechanic tools}}
{{Page version|41.51}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Gas Can
|name=Gas Can
|name_colour=Tool
|model=GasCan_Model.png
|name_text_colour=Tool
|model=GasCan Model.png
|icon=Petrol.png
|icon=Petrol.png
|icon_name=Gas Can
|icon_name=Gas Can
Line 29: Line 27:
===Recipes===
===Recipes===
A full gas can is used in crafting [[Molotov Cocktail|Molotov cocktails]] and [[Flame Trap|flame traps]]. Note that the flame trap can only be crafted by those with the [[Occupation#Engineer|engineer occupation]], and cannot be learnt with a [[Recipe magazines|recipe magazine]].
A full gas can is used in crafting [[Molotov Cocktail|Molotov cocktails]] and [[Flame Trap|flame traps]]. Note that the flame trap can only be crafted by those with the [[Occupation#Engineer|engineer occupation]], and cannot be learnt with a [[Recipe magazines|recipe magazine]].
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting general|008|ing=3}}
|molotov_cocktail_gas
{{Crafting electrical|302|ing=3}}
|fire_bomb
|}
}}


==Distribution==
==Distribution==
Line 40: Line 38:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| rowspan="2"|carsupply
|all
| [[counter]]
|[[toolcabinet]]
| 4
|4
| 1
|1
|-
|rowspan="2"|carsupply
|[[counter]]
|4
|1
|-
|-
|[[counter]]
|[[counter]]
Line 54: Line 57:
|2
|2
|-
|-
| rowspan="2"|conveniencestore
|rowspan="2"|conveniencestore
| [[shelves]]
|[[shelves]]
| 4
|4
| 1
|1
|-
|-
|[[shelves]]
|[[shelves]]
Line 63: Line 66:
|1
|1
|-
|-
| rowspan="2"|garagestorage
|rowspan="2"|garagestorage
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 72: Line 75:
|2
|2
|-
|-
| rowspan="2"|gasstorage
|rowspan="2"|gasstorage
| [[crate]]
|[[crate]]
| 4
|4
| 1
|1
|-
|-
|[[crate]]
|[[crate]]
Line 86: Line 89:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 1086
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item PetrolCan
item PetrolCan
    {
{
        DisplayCategory = VehicleMaintenance,
    DisplayCategory = VehicleMaintenance,
        Weight = 5,
Weight = 5,
        Type = Drainable,
Type = Drainable,
        UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
        UseDelta = 0.125,
UseDelta = 0.125,
        DisplayName = Gas Can,
DisplayName = Gas Can,
        Icon = Petrol,
Icon = Petrol,
        ReplaceOnDeplete = EmptyPetrolCan,
ReplaceOnDeplete = EmptyPetrolCan,
        StaticModel = GasCan,
StaticModel = GasCan,
        ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
         ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
         ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
         WorldStaticModel = GasCan_Ground,
         WorldStaticModel = GasCan_Ground,
        Tags = Petrol,
Tags = Petrol,
    }
}
}}
}}


Line 112: Line 116:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 47
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item EmptyPetrolCan
item EmptyPetrolCan
    {
{
        DisplayCategory = VehicleMaintenance,
    DisplayCategory = VehicleMaintenance,
        Weight = 1.6,
Weight = 1.6,
        Type = Normal,
Type = Normal,
        DisplayName = Empty Gas Can,
DisplayName = Empty Gas Can,
        Icon = Petrol,
Icon = Petrol,
        StaticModel = GasCan,
StaticModel = GasCan,
        SurvivalGear = TRUE,
SurvivalGear = TRUE,
        ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
ReplaceInSecondHand = Bag_GasCan_LHand holdingbagleft,
         ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
         ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright,
         WorldStaticModel = GasCan_Ground,
         WorldStaticModel = GasCan_Ground,
         Tags = EmptyPetrol,
         Tags = EmptyPetrol,
         ReplaceTypes = PetrolSource PetrolCan,
         ReplaceTypes = PetrolSource PetrolCan,
    }
}
}}
}}
}}
}}
Line 140: Line 145:
*[[Fire]]
*[[Fire]]


{{Navbox equipment}}
{{Navbox items|equipment}}
 
[[Category:Tools]]
[[Category:Tools]]

Revision as of 06:58, 15 April 2024

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.

Containers
Building/Room Container Rolls Chance
all toolcabinet 4 1
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

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