Candle: Difference between revisions

From PZwiki
m (clean up, replaced: wikitable → pztable (2))
(Checked and updated to version 40.43. Merged Lit Candle)
Tag: categories removed
Line 1: Line 1:
__NOTOC__
{{languages|Candle}}
{{languages|Candle}}
 
{{header|The Game World|Items|Illumination|version=Version 40|incver=43}}{{Infobox normal
{{Items
| display_name = Candle
| name_colour =
| name_text_colour =
| image = Candle.png
| image = Candle.png
| image_width = 120px
| alternate_image=CandleLit.png
| alternate_name=Lit Candle
| weight = 0.2
| weight = 0.2
}}
| function = Light source
| class_name = Base.Candle<br>Base.CandleLit
}}A '''lit candle''' is a drainable illumination item.
 
==Usage==
The '''candle''' itself does not do anything. However, if the candle is lit, it will become a light source for the player.
 
When equipped, a lit candle projects a ring of light around the player stronger than that of a [[lighter]], but weaker than a [[flashlight]]. It has a limited usable time, which once drained, will be destroyed.


==Description==
The lit candle can be put out, extinguishing the light source and reverting it to a candle, where it must be relit.  
The candle itself does not do anything. However, if the candle is lit, it will become a light source for the player.


==Crafting==
==Crafting==
{| class="pztable sortable" style="text-align:center;"
{{Crafting table header}}
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|4004}}
{{RecipeLookup|4004}}
|}
{{Crafting table footer}}
 
==Distribution==
Candles can be found in wardrobes, counters and gift stores.


==Code==
==Code==
<nowiki>item Candle
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
Type = Normal,
DisplayName = Candle,
Icon = Candle,
Weight = 0.2,
}</nowiki>


==History==
''Candle'' [[File:Candle.png]]
{| class="pztable" width="550" style="text-align:center;"
{{Retrieved|version=40|incver=43}}
|-
 
! Alpha || 
<pre> item Candle
|-
Weight = 0.2,
| RC 2.9 || Added to the game.  
Type = Normal,
|}
DisplayName = Candle,
Icon = Candle,
</pre>
 
''Lit Candle'' [[File:CandleLit.png]]
{{Retrieved|version=40|incver=43}}
<pre>
item CandleLit
LightDistance = 3,
Weight = 0.2,
Type = Drainable,
TorchCone = FALSE,
UseDelta = 0.003,
LightStrength = 0.6,
DisplayName = Lit Candle,
ActivatedItem = TRUE,
Icon = CandleLit,
cantBeConsolided = TRUE,
</pre>


==See also==
==See also==
*[[A Lit Candle]]
*[[Lighter]]
*[[Lighter]]
*[[Matches]]


{{Navbox/Tools}}
{{Navbox/Tools}}
[[Category:Version 0.2.0p]]
[[Category:Illumination]]
[[Category:Items]]

Revision as of 06:32, 7 July 2019

Candle
Candle
Lit Candle
General
Category Item
Encumbrance
Heavy Load
0.2
Function Light source
Technical details
Base ID Base.Candle
Base.CandleLit

A lit candle is a drainable illumination item.

Usage

The candle itself does not do anything. However, if the candle is lit, it will become a light source for the player.

When equipped, a lit candle projects a ring of light around the player stronger than that of a lighter, but weaker than a flashlight. It has a limited usable time, which once drained, will be destroyed.

The lit candle can be put out, extinguishing the light source and reverting it to a candle, where it must be relit.

Crafting

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Candles can be found in wardrobes, counters and gift stores.

Code

From items.txt (Project Zomboid directory/media/scripts/)

Candle Candle.png Retrieved: Build 40.43

	item Candle
		Weight		= 0.2,
		Type		= Normal,
		DisplayName	= Candle,
		Icon		= Candle,

Lit Candle CandleLit.png Retrieved: Build 40.43

	item CandleLit
		LightDistance		= 3,
		Weight			= 0.2,
		Type			= Drainable,
		TorchCone		= FALSE,
		UseDelta		= 0.003,
		LightStrength		= 0.6,
		DisplayName		= Lit Candle,
		ActivatedItem		= TRUE,
		Icon			= CandleLit,
		cantBeConsolided 	= TRUE,

See also

Template:Navbox/Tools