Flashlight

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Flashlight
FlashLight Model.png
General
Category
Light Source
Encumbrance
Moodle Icon HeavyLoad.png
1
Function
Light source
Properties
Capacity
1111.1 units
Light distance
25 tiles
Light strength
2
Torch cone
True
Energy source
Technical
Item ID
Base.Torch

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 Ingredients Tools Requirements Workstation XP
Flashlight.png
Flashlight
Flashlight.png Flashlight ×1
Battery.png Battery ×1
none none none none
Battery.png
Battery
One of:
Flashlight.png Flashlight ×1
Flashlight2.png Hand Torch ×1
Rubberducky.png Rubber Duck ×1
none none none none

Carpentry

Product Ingredients Tools Requirements Workstation XP
LamponPillar Carpentry.png
Lamp on Pillar
Plank.png Plank ×2
Nails.png Nails ×4
Rope.png Rope ×1
Flashlight.png Flashlight ×1

Hammer.png
Hammer (tag)
Carpentry 4 none 1.25 Carpentry

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


Distribution

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

Torch distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Electrician crate 10.78%
Electrician metal_shelves 10.78%
all crate 0.53%
all junk 1.61%
all metal_shelves 2.1%
all militarycrate 10.78%
all other 2.81%
armyhanger counter 10.78%
armyhanger metal_shelves 10.78%
armystorage metal_shelves 10.78%
armysurplus counter 10.78%
armysurplus metal_shelves 10.78%
armysurplus shelves 10.78%
bedroom crate 0.65%
bedroom crate 10.78%
carsupply metal_shelves 10.78%
carsupply shelves 10.78%
closet crate 0.65%
closet crate 10.78%
controlroom counter 10.78%
departmentstorage metal_shelves 10.78%
electronicsstorage metal_shelves 10.78%
electronicsstorage shelves 10.78%
electronicsstore counter 10.78%
electronicsstore shelves 10.78%
empty crate 10.78%
garagestorage crate 0.65%
garagestorage crate 10.78%
generalstore shelves 10.78%
generalstorestorage shelves 10.78%
gigamart shelves 10.78%
hall counter 10.78%
housewarestore shelves 10.78%
jewelrystore counter 10.78%
kitchen counter 10.78%
kitchenwares shelves 10.78%
livingroom counter 10.78%
livingroom crate 10.78%
lobby counter 10.78%
mechanic crate 10.78%
mechanic metal_shelves 10.78%
mechanic wardrobe 10.78%
pawnshop counter 10.78%
pawnshop crate 10.78%
pawnshop metal_shelves 10.78%
pawnshop shelves 10.78%
pawnshopoffice crate 10.78%
pawnshopoffice metal_shelves 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage metal_shelves 10.78%
plazastore1 counter 10.78%
storageunit crate 0.65%
storageunit crate 10.78%
storageunit metal_shelves 0.65%
storageunit metal_shelves 10.78%
toolstore counter 10.78%
toolstore shelves 10.78%
Vehicles
Type Container Effective chance
Transit Trunk 6.29%

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
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