Gas Can: Difference between revisions

From PZwiki
m (grammar)
(Applied new boilerplate and removed history)
Line 1: Line 1:
__NOTOC__
{{languages|Gas Can}}
{{languages|Gas Can}}
{{header|The Game World|Items|version=Version 39|incver=52}}
{{header|The Game World|Items|version=Version 39|incver=67.5}}{{Infobox drainable
{{Tools
|display_name=Gas Can
| primaryuse = Carry Gasoline
|image=Petrol_120px.png
| otheruses = Start Fires
|weight=5 <small>(0.3 empty)</small>
| image = Petrol_120px.png
|weight_bkg=1
| weight = 5<br>'''Weight Empty:''' 0.3
|primary_use=Refuel [[vehicles]] and [[generator]]s
|primary_use_bkg=
|secondary_use=Start [[fire]]s
|secondary_use_bkg=1
|max_units=8
|max_units_bkg=
|contents=Gasoline
|contents_bkg=1
|class_name=Base.PetrolCan<br><small>(Empty: Base.EmptyPetrolCan)</small>
|class_name_bkg=
}}
}}
The '''gas can''' is a ''drainable'' item that becomes an empty gas can once used. A gas can is full of 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. It is possible to refill a gas can by either siphoning gas from a vehicle, or at a [[Gas Pump|gas pump]]. It should be noted that without a source of power, a gas pump will not function.  
The '''gas can''' is a ''drainable'' item that becomes an '''empty gas can''' once used.  


A gas can can be used in place of [[Items#Kindling|kindling]] when starting a fire, along with being added as a source of [[Items#Fuel|fuel]] to a fire. 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.  
==Usage==
===Refilling===
An empty gas can ''only'' be filled with gasoline and therefore ''cannot'' be filled with water. It is possible to refill a gas can by either siphoning gas from a vehicle, or at a [[Gas Pump|gas pump]]. It should be noted that without a source of power, a gas pump will not function.  


An empty gas can ''cannot'' be filled with water.
===Fuel===
A gas can contains 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===
A gas can can be used in place of [[Items#Kindling|kindling]] when starting a fire, along with being added as a source of [[Items#Fuel|fuel]] to a fire. 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.


== Crafting ==
===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]].
{| class="wikitable sortable" style="text-align:center;"  
{| class="wikitable sortable" style="text-align:center;"  
Line 26: Line 39:
{{RecipeLookup|7013}}
{{RecipeLookup|7013}}
|}
|}


== Code ==
== Code ==
Line 32: Line 44:


''Gas Can'' [[File:Petrol.png|link=]]
''Gas Can'' [[File:Petrol.png|link=]]
{{Retrieved|version=39|incver=67.5}}
  <nowiki>
  <nowiki>
item PetrolCan
item PetrolCan
Line 42: Line 55:
ReplaceOnDeplete = EmptyPetrolCan,
ReplaceOnDeplete = EmptyPetrolCan,
</nowiki>
</nowiki>


'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''


''Empty Gas Can'' [[File:Petrol.png|link=]]
''Empty Gas Can'' [[File:Petrol.png|link=]]
{{Retrieved|version=39|incver=67.5}}
  <nowiki>
  <nowiki>
item EmptyPetrolCan
item EmptyPetrolCan
Line 55: Line 68:
</nowiki>
</nowiki>


 
==See also==
==History==
{| class="wikitable" width="550" style="text-align:center;"
|-
! colspan="2" | Alpha 
|-
| RC 2.9 || Serves no purpose with Fire removed in this version.
|-
|}
 
 
==See Also==
*[[Vehicles]]
*[[Vehicles]]
*[[Generator]]
*[[Generator]]

Revision as of 08:35, 12 July 2018

Gas Can
Gas Can
General
Category Item
Encumbrance
Heavy Load
5 (0.3 empty)
Function Refuel vehicles and generators
Start fires
Capacity 8 units
Contents Gasoline
Technical details
item ID Base.PetrolCan
(Empty: Base.EmptyPetrolCan)

The gas can is a drainable item that becomes an empty gas can once used.

Usage

Refilling

An empty gas can only be filled with gasoline and therefore cannot be filled with water. 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.

Fuel

A gas can contains 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 can be used in place of kindling when starting a fire, along with being added as a source of fuel to a fire. 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.

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.

Output Ingredients Description Skill Level
























Code

From items.txt (Project Zomboid directory/media/scripts/)

Gas Can Petrol.png Retrieved: Build 39.67.5

	item PetrolCan
		Weight			= 5,
		Type			= Drainable,
		UseWhileEquipped	= FALSE,
		UseDelta		= 0.125,
		DisplayName		= Gas Can,
		Icon			= Petrol,
		ReplaceOnDeplete	= EmptyPetrolCan,

From newitems.txt (Project Zomboid directory/media/scripts/)

Empty Gas Can Petrol.png Retrieved: Build 39.67.5

	item EmptyPetrolCan
		Weight		= 0.3,
		Type		= Normal,
		DisplayName	= Empty Gas Can,
		Icon		= Petrol,

See also

Template:Navbox/Tools