Flashlight: Difference between revisions

From PZwiki
(Move image to gallery, minor)
m (It is already mentioned below, so I guess it's safe to remove?)
Line 27: Line 27:


Flashlights require a [[battery]] to function. There is a chance that the flashlight will spawn with one already installed. While the light is turned on, the battery will gradually drain. When the battery is low, the light will begin to flicker and once completely drained the battery will be consumed. If the player has another battery, they can install it to continue using the flashlight. A full battery can also be taken out of a flashlight if needed for another device.  
Flashlights require a [[battery]] to function. There is a chance that the flashlight will spawn with one already installed. While the light is turned on, the battery will gradually drain. When the battery is low, the light will begin to flicker and once completely drained the battery will be consumed. If the player has another battery, they can install it to continue using the flashlight. A full battery can also be taken out of a flashlight if needed for another device.  
The flashlight is also used in the [[carpentry]] recipe [[Lamp on Pillar|lamp on pillar]].


==Crafting==
==Crafting==

Revision as of 00:40, 13 January 2024

Template:Infobox drainable Flashlight is a drainable item that provides a source of light.

Usage

The flashlight is an item that can be used to provide light for the player when it is dark. To use it, the player must first equip it in either their primary or secondary hand. If the player has an item such as a weapon already equipped, equipping the flashlight will make the player hold the item one-handed if possible, otherwise it will be unequipped.

The light can be toggled by pressing F. The light will shine in a cone reaching up to 25 tiles in front of the player. The flashlight is significantly brighter than the hand torch and is the strongest equippable light source in the game.

Flashlights require a battery to function. There is a chance that the flashlight will spawn with one already installed. While the light is turned on, the battery will gradually drain. When the battery is low, the light will begin to flicker and once completely drained the battery will be consumed. If the player has another battery, they can install it to continue using the flashlight. A full battery can also be taken out of a flashlight if needed for another device.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Flashlight.png
Flashlight
0 XP none Flashlight.png
Flashlight
(consumed)
Battery.png
Battery
(consumed)
Battery.png
Battery
0 XP none
(keep)

Carpentry

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
LamponPillar Carpentry.png
Lamp on Pillar
1.25 Carpentry Carpentry 4 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)
Rope.png
Rope x1
(consumed)
Flashlight.png
Flashlight x1
(consumed)

Trivia

  • While the torch and flashlight are two separate items in game, they often refer to the same real world item. Flashlight is the more common term in North America, while torch is most common in other English-speaking countries.

Gallery

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 Torch
{
  DisplayCategory    = LightSource,
  LightDistance      = 25,
  Weight             = 1,
  DisappearOnUse     = FALSE,
  Type               = Drainable,
  TorchCone          = TRUE,
  UseDelta           = 0.0009,
  LightStrength      = 2,
  TorchDot           = 0.66,
  DisplayName        = Flashlight,
  ActivatedItem      = TRUE,
  Icon               = Flashlight,
  MetalValue         = 10,
  cantBeConsolided   = TRUE,
  StaticModel        = FlashLight,
  primaryAnimMask    = HoldingTorchRight,
  secondaryAnimMask  = HoldingTorchLeft,
  WorldStaticModel   = FlashLightGround,
}

See also