Lighter

From PZwiki
Revision as of 09:22, 11 February 2024 by Calvy (talk | contribs) (→‎Distribution: Manual update)
Lighter
Lighter
Lighter
General
Category Item
Encumbrance
Heavy Load
0.1
Function Fire starting
Light source
Capacity 32 units
Contents Lighter fluid
Light distance 2 tiles
Light strength 0.4
Technical details
item ID Base.Lighter

A lighter is a drainable item with various uses.

Usage

A lighter can be used to light candles, molotov cocktails, cigarettes, campfires, or antique ovens, burn corpses, or as a light source. In order to use a molotov, a lighter must be equipped in the secondary slot of the inventory. Corpses can be burnt if a lighter is in the primary slot and a gas can is in the secondary slot.

Light source

The light provided by a lighter is inferior to that of a flashlight, but will provide a ring of light around the player. If a flashlight isn't in the player's inventory, pressing the 'F' key (default) will equip a lighter and turn it on. Once equipped, pressing 'F' will turn it on or off.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Lit Candle
Lit Candle
0 XP none Candle.png
Candle
(consumed)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all other 1 4
armysurplus counter 4 1
bar counter 4 1
bedroom desk 4 4
desk 4 4
conveniencestore shelves 4 1
shelves 4 2
drugshack counter 4 4
empty crate 4 4
gasstorage counter 4 4
crate 4 1
kitchen counter 4 4
office desk 4 4
prisoncells wardrobe 4 4

Vehicles

Profession Container Rolls Chance
All Glove Box 1 5
Car Seat 1 1

Trivia

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.65
item Lighter
{
  DisplayCategory      = LightSource,
  LightDistance        = 2,
  Weight               = 0.1,
  Type                 = Drainable,
  UseWhileEquipped     = TRUE,
  TorchCone            = FALSE,
  LightStrength        = 0.4,
  DisplayName          = Lighter,
  ActivatedItem        = TRUE,
  Icon                 = Lighter,
  MetalValue           = 1,
  cantBeConsolided     = TRUE,
  StaticModel          = Zippo,
  WorldStaticModel     = ZippoGround,
  ticksPerEquipUse     = 110,
  Tags                 = StartFire,
}

History

Alpha
RC 2.9 Added to the game
2.9.9.17
Build 23
All light sources are a bit stronger
Build 28 Burn zombie corpses ! It'll need some petrol and a lighter/matches.
Build 35 Bug Fix: lighter can't be consolidated

See also