Gas Can: Difference between revisions
m (Updated distribution table) |
m (Distribution table update) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Equipment|Tools|Mechanic tools}} | {{Header|Project Zomboid|Items|Equipment|Tools|Mechanic tools}} | ||
{{Page version|41. | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Gas Can | |name=Gas Can | ||
|model=GasCan_Model.png | |||
|model= | |||
|icon=Petrol.png | |icon=Petrol.png | ||
|icon_name=Gas Can | |icon_name=Gas Can | ||
|weight=5 <small>(Full)</small><br>1.6 <small>(Empty)</small> | |weight=5 <small>(Full)</small><br>1.6 <small>(Empty)</small> | ||
|primary_use= | |primary_use=Refuel [[vehicles|vehicle]] and [[generator]] | ||
|secondary_use= | |secondary_use=Start [[fire]] | ||
|max_units=8 | |max_units=8 | ||
|contents=Gasoline | |contents=Gasoline | ||
|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. | ||
Line 30: | 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 | {{Crafting/sandbox2 | ||
|molotov_cocktail_gas | |||
|fire_bomb | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|PetrolCan|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>PetrolCan distribution | |||
<span class="mw-customtoggle-togglebox-PetrolCan" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PetrolCan"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
| | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
|- | ! Chance | ||
| | |- | ||
| | | garagestorage | ||
|4 | | {{ll|counter}} | ||
| | | 4 | ||
| | | 0.5 | ||
|} | |||
</div> | |||
<div style="float:left;"> | |||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|+ {{ll|Vehicles}} | |||
! Vehicle Type/Location | |||
! Rolls | |||
! Chance | |||
|- | |- | ||
| | | FossoilTruckBed | ||
|4 | | 4 | ||
| | | 4 | ||
| | |} | ||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-PetrolCan" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|PetrolCan|41.78.16--> | |||
| | |||
|- | |||
==Code== | ==Code== | ||
Line 92: | Line 75: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | 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 | |||
{ | |||
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, | ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright, | ||
WorldStaticModel = GasCan_Ground, | WorldStaticModel = GasCan_Ground, | ||
Tags = Petrol, | |||
} | |||
}} | }} | ||
Line 118: | Line 102: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | 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 | |||
{ | |||
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, | ReplaceInPrimaryHand = Bag_GasCan_RHand holdingbagright, | ||
WorldStaticModel = GasCan_Ground, | WorldStaticModel = GasCan_Ground, | ||
Tags = EmptyPetrol, | Tags = EmptyPetrol, | ||
ReplaceTypes = PetrolSource PetrolCan, | ReplaceTypes = PetrolSource PetrolCan, | ||
} | |||
}} | }} | ||
}} | }} | ||
Line 146: | Line 131: | ||
*[[Fire]] | *[[Fire]] | ||
{{Navbox equipment}} | {{Navbox items|equipment}} | ||
[[Category:Tools]] | [[Category:Tools]] |
Revision as of 15:36, 24 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Molotov Cocktail |
One of: Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 One of: Ripped Sheets ×1 Dirty Rag ×1 |
Gas Can |
none | none | none |
Fire Bomb |
Empty Bottle ×1 Gas Can ×4 unit(s) Ripped Sheets ×1 |
none | Engineer occupation |
none | none |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
garagestorage | counter | 4 | 0.5 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
FossoilTruckBed | 4 | 4 |
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,
}