Charcoal: Difference between revisions

From PZwiki
m (Checked content and updated version to 40.43)
m (Remove lines))
(34 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages|Charcoal}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=43}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name=Charcoal
{{Infobox item
|name_colour=Tool
|name=Charcoal
|name_text_colour=Tool
|model=Charcoal_Model.png
|image=TZ_CharCoal_120px.png
|icon=TZ_CharCoal.png
|icon_name=Charcoal
|category=Material
|weight=8
|weight=8
|primary_use=[[Heat source|Fuel]]
|primary_use=[[Fuel]]
|max_units=10
|max_units=10
|contents=Charcoal
|contents=Charcoal
|class_name=Base.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 fuel for the [[Heat Source#Charcoal Barbecue|charcoal barbecue]], [[Heat Source#Campfire|campfire]] and [[Heat Source#Antique Oven|antique oven]]. The burn time is 30 minutes of fuel with each use.  
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 Source#Oven|ovens]] can be used instead.  
It is recommended to save charcoal until after the electricity has shut off, as until then [[Heat source#Oven|ovens]] can be used instead.


<div><ul>
==Obtaining==
<li style="display: inline-block;"> [[File:BBQ_small.png|frame|link=Heat Source#Grill|<div style="text-align: center">Grill</div>]]</li>
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.
<li style="display: inline-block;"> [[File:Antique_Oven.png|frame|link=Heat Source#Antique Oven|<div style="text-align: center">Antique Oven</div>]]</li>
<li style="display: inline-block;"> [[File:Fireplace.gif|frame|link=Heat Source#Fireplace|<div style="text-align: center">Fireplace</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>


==Item distribution==
==Distribution==
Charcoal can commonly be found in [[Containers#Wooden Crate|wooden crates]], which are most common in storage areas.
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
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<nowiki>
  | lang = java
item Charcoal
  | line = true
Weight = 8,
  | start = 1119
Type = Drainable,
  | source = items.txt
UseWhileEquipped = FALSE,
  | retrieved = true
UseDelta = 0.1,
  | version = 41.78.16
DisplayName = Charcoal,
  | code =
Icon = Charcoal,
item Charcoal
</nowiki>
{
    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