Candle: Difference between revisions

From PZwiki
(update header & categories)
m (Removing trailing whitespace(s))
Line 26: Line 26:


==Usage==
==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]].  
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.  
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.
The lit candle can be put out, extinguishing the light source and reverting it to a candle, where it must be relit.

Revision as of 06:13, 28 February 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (40.43).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Candle
Candle Model.png
Lit Candle
General
Category
Light Source
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Light source
Properties
Capacity
333 units
Light strength
0.6
Technical
Tags
StartFire
Item 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. 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Lit Candle
Lit Candle
0 XP none Candle.png
Candle
(consumed)

Distribution

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Candle.png Candle
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 40.43
item Candle
    {
        Weight      = 0.2,
        Type        = Normal,
        DisplayName = Candle,
        Icon        = Candle,
    }

Source: ProjectZomboid\media\scripts\items.txt

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