Candle: Difference between revisions
m (Automated infobox fix) |
m (Automated Formatting) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Equipment|Light sources}} | {{Header|Project Zomboid|Items|Equipment|Light sources}} | ||
{{Page version| | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name =Candle | |name=Candle | ||
|model= | |model=Candle_Model.png | ||
|model_width=200px | |model_width=200px | ||
|icon=Candle.png | |icon=Candle.png | ||
|icon_name=Candle | |icon_name=Candle | ||
|icon2=CandleLit.png | |icon2=CandleLit.png | ||
|icon_name2=Lit Candle | |icon_name2=Lit Candle | ||
<!--General--> | <!--General--> | ||
|category=Light Source | |category=Light Source | ||
Line 20: | Line 18: | ||
<!--Technical--> | <!--Technical--> | ||
|tags=StartFire | |tags=StartFire | ||
| | |item_id=Base.Candle<br>Base.CandleLit | ||
}} | }} | ||
A '''lit candle''' is a drainable illumination item. | A '''lit candle''' is a drainable illumination item. | ||
Line 33: | Line 30: | ||
==Crafting== | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|lit_candle | |||
}} | |||
==Distribution== | ==Distribution== | ||
Line 44: | Line 41: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 728 | |||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item Candle | |||
{ | { | ||
Weight | DisplayCategory = LightSource, | ||
Type | Weight = 0.2, | ||
DisplayName = Candle, | Type = Drainable, | ||
Icon | UseDelta = 0, | ||
DisplayName = Candle, | |||
Icon = Candle, | |||
cantBeConsolided = TRUE, | |||
StaticModel = Candle, | |||
WorldStaticModel = CandleGround, | |||
} | } | ||
}} | }} | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 741 | |||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item CandleLit | |||
{ | |||
DisplayCategory = LightSource, | |||
LightDistance = 3, | |||
Weight = 0.2, | |||
Type = Drainable, | |||
UseWhileUnequipped = TRUE, | |||
TorchCone = FALSE, | |||
UseDelta = 0.003, | |||
LightStrength = 0.6, | |||
DisplayName = Lit Candle, | |||
ActivatedItem = TRUE, | |||
Icon = CandleLit, | |||
cantBeConsolided = TRUE, | |||
StaticModel = Candle, | |||
WorldStaticModel = CandleGround, | |||
Tags = StartFire, | |||
} | |||
}} | }} | ||
}} | }} | ||
Line 82: | Line 91: | ||
==See also== | ==See also== | ||
*[[Lighter]] | *[[Lighter]] | ||
*[[Matches]] | |||
{{Navbox | {{Navbox items|survival}} |
Revision as of 07:10, 14 April 2024
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. It can also then be used to light a campfire.
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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Candle |
One of: Lighter ×1 Matches ×1 Each of: Candle ×1 |
none | none | none | none |
Distribution
Candles can be found in wardrobes, counters and gift stores.
Code
Candle
Source: ProjectZomboid\media\scripts\items.txt
item Candle
{
DisplayCategory = LightSource,
Weight = 0.2,
Type = Drainable,
UseDelta = 0,
DisplayName = Candle,
Icon = Candle,
cantBeConsolided = TRUE,
StaticModel = Candle,
WorldStaticModel = CandleGround,
}
Source: ProjectZomboid\media\scripts\items.txt
item CandleLit
{
DisplayCategory = LightSource,
LightDistance = 3,
Weight = 0.2,
Type = Drainable,
UseWhileUnequipped = TRUE,
TorchCone = FALSE,
UseDelta = 0.003,
LightStrength = 0.6,
DisplayName = Lit Candle,
ActivatedItem = TRUE,
Icon = CandleLit,
cantBeConsolided = TRUE,
StaticModel = Candle,
WorldStaticModel = CandleGround,
Tags = StartFire,
}