Flashlight

From PZwiki
Jump to: navigation, search
Language policy Language: English  • français • Deutsch • русский


Flashlight
Flashlight
General
Category Item
Weight
Heavy Load
2
Function Light source
Capacity 1,111 units
Contents Electricity
Light distance 20 tiles
Light strength 0.8
Torch cone True
Technical details
Class name Base.Torch

A flashlight is a drainable item providing a source of light.

Usage

A flashlight is used to provide light for the player when it is dark. It is the strongest equippable light source in the game, however the light emitted from the flashlight will attract zombies.

Requires batteries. Once a battery is in, it can be fitted and un-fitted. However, as the flashlight is used, the battery will eventually die out. A new battery can be put into the flashlight once a battery is dead. When low on battery, the flashlight will occasionally flicker.

Crafting

Product Recipe Description Skill Level
Battery.png
Battery x1
Flashlight.png


Flashlight x1
Remove Battery Electrical Level 0


Flashlight.png
Flashlight x1
Flashlight.png + Battery.png
Flashlight x1 Battery x1
(consumed)
Insert battery into flashlight Electrical Level 0


Lamponpillar.png
Lamp on Pillar
Rope.png + Flashlight.png + Plank.png + Nails.png
Rope x1 Flashlight x1 Plank x2 Nails x4
(consumed) (consumed) (consumed) (consumed)
Lights up squares in the area it's pointed at. Can be turned on and off. The flashlight still requires batteries. Carpentry Level 5


Code

From items.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 40.5
	item Torch
		LightDistance		= 20,
		Weight			= 2,
		DisappearOnUse		= FALSE,
		Type			= Drainable,
		TorchCone		= TRUE,
		UseDelta		= 0.0009,
		LightStrength		= 0.8,
		DisplayName		= Flashlight,
		ActivatedItem		= TRUE,
		Icon			= Flashlight,
		MetalValue 		= 10,
		cantBeConsolided 	= TRUE,

See also


vdeTools
Tools Baking PanBowlBucketCan OpenerCooking potEmpty Bottle (Pop)Empty Bottle (Water)Empty Bottle (Alcohol)Empty MugEmpty JarExtinguisherFishing Net TrapFishing RodFishing Rod (Crafted)Fishing TackleGardening Spray CanGas canJackJar LidKettleLug WrenchMopMortar and PestleNeedleNotched Wooden PlankPaint BrushPropane TankPropane TorchRoasting PanSawSaucepanTire PumpTrowelUmbrellaWatering CanWelding MaskWrench
Tools/Weapons AxeCrowbarFrying PanRolling PinScrewdriverSledgehammerShovelRaw AxeStone HammerWooden Spear
Illumination Lit CandleFlashlightLighterMatches
Stationery Empty NotebookEraserJournalPenPencilSheet of Paper