Charcoal: Difference between revisions

From PZwiki
m (→‎Usage: change to gallery)
m (Remove lines))
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Materials}}
{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Infobox drainable
{{Infobox item
|display_name=Charcoal
|name=Charcoal
|name_colour=Tool
|model=Charcoal_Model.png
|name_text_colour=Tool
|icon=TZ_CharCoal.png
|image=Charcoal_Model.png
|icon_name=Charcoal
|alternate_image=TZ_CharCoal.png
|alternate_name=Charcoal
|category=Material
|category=Material
|weight=8
|weight=8
Line 13: Line 11:
|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]] 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.


<gallery mode="packed">
==Obtaining==
BBQ_small.png|Grill
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.
Antique_Oven.png|Antique Oven
Fireplace.gif|Fireplace
</gallery>


==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.


It can also be made from 5 [[Log]]s with help of the [[metal drum]].
{| 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==
Line 36: Line 65:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 1119
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 78.16
   | code =
   | code =
item Charcoal
item Charcoal
{
{
    DisplayCategory     = Material,
    DisplayCategory = Material,
    Weight             = 8,
Weight = 8,
    Type               = Drainable,
Type = Drainable,
    UseWhileEquipped   = FALSE,
UseWhileEquipped = FALSE,
    UseDelta           = 0.1,
UseDelta = 0.1,
    DisplayName         = Charcoal,
DisplayName = Charcoal,
    Icon               = TZ_CharCoal,
Icon = TZ_CharCoal,
    WeightEmpty         = 0.02,
WeightEmpty = 0.02,
    WorldStaticModel   = Charcoal_Ground,
WorldStaticModel = Charcoal_Ground,
    ConsolidateOption   = ContextMenu_Merge,
ConsolidateOption = ContextMenu_Merge,
}
}
  }}
}}
}}
}}


Line 62: Line 91:
*[[Fuel]]
*[[Fuel]]


{{Navbox equipment}}
{{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