Flashlight
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 |
Flashlight ×1 Battery ×1 |
none | none | none | none |
Battery |
One of: Flashlight ×1 Hand Torch ×1 Rubber Duck ×1 |
none | none | none | none |
Carpentry
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Lamp on Pillar |
Plank ×2 Nails ×4 Rope ×1 Flashlight ×1 |
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.
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% |
Code
Source: ProjectZomboid\media\scripts\items.txt
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,
}