Charcoal: Difference between revisions
m (Automated CodeBox update) |
m (Distribution table update) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Materials}} | |||
{{Header|Project Zomboid|Items| | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Charcoal | ||
| | |model=Charcoal_Model.png | ||
|icon=TZ_CharCoal.png | |||
|icon_name=Charcoal | |||
| | |||
| | |||
|category=Material | |category=Material | ||
|weight=8 | |weight=8 | ||
Line 13: | Line 11: | ||
|max_units=10 | |max_units=10 | ||
|contents=Charcoal | |contents=Charcoal | ||
| | |item_id=Base.Charcoal | ||
}}'''Charcoal''' is a ''drainable'' item that can be used up to 10 times. | }} | ||
'''Charcoal''' is a ''drainable'' item that can be used up to 10 times. | |||
==Usage== | ==Usage== | ||
Charcoal is used as a source of | Charcoal is used as a source of [[fuel]] for various [[heat source]]s. 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 [[Heat | It is recommended to save charcoal until after the electricity has shut off, as until then [[Heat source#Oven|ovens]] can be used instead. | ||
==Obtaining== | ==Obtaining== | ||
Charcoal can be sustainably gained by putting 5 [[ | Charcoal can be sustainably gained by putting 5 [[log]]s directly from your inventory into a [[Metal Drum]] and [[Campfire#Lighting|lighting]] it, similarly to a campfire. | ||
==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|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 69: | Line 74: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 1119 | |||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
Line 75: | 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 94: | 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,
}