Candle: Difference between revisions
m (code fix) |
m (Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{Languages}}{{Header|The Game World|Items|Illumination|version=Version 40|incver=43}}{{Infobox normal | ||
{{ | |display_name=Candle | ||
| display_name = Candle | |name_colour= | ||
| name_colour = | |name_text_colour= | ||
| name_text_colour = | |image=Candle Model.png | ||
| image = | |image_width=300px | ||
| image_width = 300px | |alternate_image=Candle.png | ||
| alternate_image=Candle.png | |alternate_name=Candle | ||
| alternate_name=Candle | |alternate_link= | ||
| alternate_link= | |alternate_image2=CandleLit.png | ||
| alternate_image2=CandleLit.png | |alternate_name2=Lit Candle | ||
| alternate_name2=Lit Candle | |alternate_link2= | ||
| alternate_link2= | |weight=0.2 | ||
| weight = 0.2 | |function=Light source | ||
| function = Light source | |class_name=Base.Candle<br>Base.CandleLit | ||
| class_name = Base.Candle<br>Base.CandleLit | |||
}}A '''lit candle''' is a drainable illumination item. | }}A '''lit candle''' is a drainable illumination item. | ||
Line 24: | Line 23: | ||
The lit candle can be put out, extinguishing the light source and reverting it to a candle, where it must be relit. | The lit candle can be put out, extinguishing the light source and reverting it to a candle, where it must be relit. | ||
== Crafting == | ==Crafting== | ||
{{Crafting header|ing=2}} | {{Crafting header|ing=2}} | ||
{{Crafting general|004|ing=2}} | {{Crafting general|004|ing=2}} | ||
Line 38: | Line 37: | ||
{{Retrieved|version=40|incver=43}} | {{Retrieved|version=40|incver=43}} | ||
<pre> item Candle | <pre> | ||
item Candle | |||
Weight = 0.2, | Weight = 0.2, | ||
Type = Normal, | Type = Normal, | ||
Line 64: | Line 64: | ||
*[[Lighter]] | *[[Lighter]] | ||
{{Navbox | {{Navbox equipment}} |
Revision as of 23:25, 5 April 2023
Candle | |||
---|---|---|---|
| |||
General | |||
Category | Item | ||
Encumbrance | 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
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Lit Candle |
0 XP | none | Candle (consumed) |
Distribution
Candles can be found in wardrobes, counters and gift stores.
Code
From items.txt (Project Zomboid directory/media/scripts/)
Candle Retrieved: Build 40.43
item Candle Weight = 0.2, Type = Normal, DisplayName = Candle, Icon = Candle,
Lit Candle 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,