Charcoal: Difference between revisions
m (Removing trailing whitespace(s)) |
m (Distribution table update) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Materials}} | |||
{{Header|Project Zomboid|Items| | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Charcoal | |name=Charcoal | ||
|model=Charcoal_Model.png | |model=Charcoal_Model.png | ||
|icon=TZ_CharCoal.png | |icon=TZ_CharCoal.png | ||
Line 28: | Line 26: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Charcoal|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Charcoal distribution | |||
<span class="mw-customtoggle-togglebox-Charcoal" 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-Charcoal"> | |||
<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 | ||
| | |- | ||
|4 | | all | ||
| | | {{ll|crate}} | ||
|- | | 1 | ||
| | | 0.05 | ||
|4 | |- | ||
| | | barbecuestore | ||
|- | | {{ll|shelves}} | ||
| | | 4 | ||
|4 | | 50.0 | ||
| | |- | ||
|- | | barbecuestore | ||
| {{ll|shelves}} | |||
| | | 4 | ||
| 4 | | 10.0 | ||
| 4 | |- | ||
|} | | barbecuestore | ||
| {{ll|shelves}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Charcoal" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Charcoal|41.78.16--> | |||
==Code== | ==Code== | ||
Line 63: | Line 74: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 1119 | |||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
Line 69: | Line 81: | ||
| code = | | code = | ||
item Charcoal | item Charcoal | ||
{ | { | ||
DisplayCategory = Material, | |||
Weight = 8, | |||
Type = Drainable, | |||
UseWhileEquipped = FALSE, | |||
UseDelta = 0.1, | |||
DisplayName = Charcoal, | |||
Icon = TZ_CharCoal, | |||
WeightEmpty = 0.02, | |||
WorldStaticModel = Charcoal_Ground, | |||
ConsolidateOption = ContextMenu_Merge, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 88: | Line 100: | ||
*[[Fuel]] | *[[Fuel]] | ||
{{Navbox equipment}} | {{Navbox items|equipment}} |
Revision as of 15:09, 24 April 2024
Charcoal is a drainable item that can be used up to 10 times.
Usage
Charcoal is used as a source of fuel for various heat sources. The burn time is 30 minutes of fuel with each use.
It is recommended to save charcoal until after the electricity has shut off, as until then ovens can be used instead.
Obtaining
Charcoal can be sustainably gained by putting 5 logs directly from your inventory into a Metal Drum and lighting it, similarly to a campfire.
Distribution
The loot distributions can be found in the table(s) below.
Code
Source: ProjectZomboid\media\scripts\items.txt
item Charcoal
{
DisplayCategory = Material,
Weight = 8,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.1,
DisplayName = Charcoal,
Icon = TZ_CharCoal,
WeightEmpty = 0.02,
WorldStaticModel = Charcoal_Ground,
ConsolidateOption = ContextMenu_Merge,
}