Charcoal: Difference between revisions

From PZwiki
(added boilerplate along with missing details. Rewrote description)
m (Remove lines))
(38 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{languages|Charcoal}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|Tools|version=Version 39|incver=52}}
{{Page version|41.78.16}}
{{Items
{{Infobox item
|image = TZ_CharCoal_120px.png
|name=Charcoal
|weight = 8
|model=Charcoal_Model.png
|icon=TZ_CharCoal.png
|icon_name=Charcoal
|category=Material
|weight=8
|primary_use=[[Fuel]]
|max_units=10
|contents=Charcoal
|item_id=Base.Charcoal
}}
}}
'''Charcoal''' is a ''drainable'' item that is used as a source of fuel for the [[Heat Source#Grill|grill]], [[Heat Source#Campfire|campfire]] and [[Heat Source#antique oven|antique oven]]. A single ''full'' stack can be used ''sixteen'' times, adding 30 minutes of fuel with each use. Charcoal can commonly be found in [[Containers#Wooden Crate|wooden crates]], which are most common in storage areas.
'''Charcoal''' is a ''drainable'' item that can be used up to 10 times.


Charcoal should be saved until after the electricity has shut off, as until then [[Heat Source#Oven|ovens]] can be used instead.  
==Usage==
Charcoal is used as a source of [[fuel]] for various [[heat source]]s. The burn time is 30 minutes of fuel with each use.


<div><ul>
It is recommended to save charcoal until after the electricity has shut off, as until then [[Heat source#Oven|ovens]] can be used instead.
<li style="display: inline-block;"> [[File:BBQ_small.png|frame|link=Heat Source#Grill|<div style="text-align: center">Grill</div>]]</li>
<li style="display: inline-block;"> [[File:Fireplace.png|frame|link=Heat Source#Antique Oven|<div style="text-align: center">Antique Oven</div>]]</li>
<li style="display: inline-block;"> [[File:Campfire.png|frame|link=Heat Source#Campfire|<div style="text-align: center">Campfire</div>]]</li>
</ul></div>


==Obtaining==
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==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="5"|barbecuestore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|5
|-
|garagestorage
|[[crate]]
|4
|4
|}


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki>
| {{CodeSnip
item Charcoal
  | lang = java
Weight = 8,
  | line = true
Type = Drainable,
  | start = 1119
UseWhileEquipped = FALSE,
  | source = items.txt
UseDelta = 0.1,
  | retrieved = true
DisplayName = Charcoal,
  | version = 41.78.16
Icon = Charcoal,
  | code =
</nowiki>
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,
}
}}
}}


==See Also==
==See also==
*[[Heat Source]]
*[[Heat source]]
*[[Items#Fuel|Other Fuel Items]]
*[[Fuel]]


{{Navbox/Tools}}
{{Navbox items|equipment}}

Revision as of 06:39, 15 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Charcoal
Charcoal Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
8
Function
Properties
Contents
Charcoal
Capacity
10 units
Technical
Item ID
Base.Charcoal

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.

Containers
Building/Room Container Rolls Chance
barbecuestore shelves 4 1
shelves 4 1
shelves 4 2
shelves 4 2
shelves 4 5
garagestorage crate 4 4

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
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,
	}

See also