Gas Can

From PZwiki
Revision as of 13:33, 10 May 2018 by Vaileasys (talk | contribs) (grammar fix)


Template:Tools The gas can is a drainable item that has an empty variant. A gas can is full of petroleum 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 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. It should be noted that without a source of power, a gas pump will not function.

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.

An empty gas can cannot be filled with water.


Crafting

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

	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

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


History

Alpha
RC 2.9 Serves no purpose with Fire removed in this version.


See Also

Template:Navbox/Tools