Flashlight

From PZwiki
Jump to: navigation, search
Language policy Language: English • français • Deutsch • русский
Flashlight
Flashlight
Flashlight
General
Category Item
Weight
Heavy Load
1
Function Light source
Capacity 1,111 units
Contents Battery
Light distance 25 tiles
Light strength 2
Torch cone True
Technical details
Base ID 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. To use the flashlight, it must be equipped in either the primary or secondary hand. The light can be toggled with F. It is the strongest equippable light source in the game.

A flashlight requires a battery to function. As the flashlight is used, the battery will gradually drain. When the battery is low, the light from the flashlight will begin to flicker. Once completely drained, the battery will be consumed and a new battery will need to be put into the flashlight for it to function again.

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 CP CP = 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)
Rope.png
Rope x1
(consumed)
Flashlight.png
Flashlight x1
(consumed)

Code

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

Retrieved
Version 41.52
	item Torch
	{
	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,
	}

See also


Equipment vde
Bag BriefcaseBig Hiking BagDuffelbagFanny PackFlight CaseFirst Aid KitGarbage BagGuitar CaseHandbagNormal Hiking BagLarge BackpackLunchboxMilitary BackpackPlastic BagPurseSackSchool BagSeed BagSewing KitSuitcaseToolboxTote Bag
Kitchen Utensil Baking PanBowlEmpty JarButter KnifeCan OpenerCooking PotEmpty Bottle (Mayonnaise)Empty Bottle (Remoulade)Empty Bottle (Water)Empty Bottle (Alcohol)Empty Pop BottleEmpty JarEmpty MugForkFrying PanHunting KnifeEmpty JarKettleKitchen KnifeMortar and PestleRoasting PanRolling PinSpoon
Electrical Alarm ClockAntique TelevisionCD PlayerCordless PhoneDigital WatchEarbudsGeneratorHeadphonesHome AlarmMakeshift Ham RadioMakeshift RadioMakeshift Walkie TalkiePremium Tech. Walkie TalkiePremium Technologies Ham RadioPremium Technologies RadioPremium Technologies TelevisionSpeakerTactical Walkie TalkieTimerToys-R-Mine Walkie TalkieTV RemoteUS ARMY COMM. Ham RadioUS Army Walkie TalkieV1 Remote ControllerV2 Remote ControllerV3 Remote ControllerValuTech RadioValuTech TelevisionValuTech Walkie TalkieVideo Game
Light CandleFlashlightHand TorchLighterMatches
Lock/Key Car KeyCombination PadlockKey (Door)Key (Padlock)Padlock
Health/Hygiene Bath TowelCleaning LiquidDish TowelExtinguisherMopSoapSuture NeedleSuture Needle HolderTissueTweezersUmbrella
Survival Cage TrapCampfire MaterialsFishing Net TrapFishing RodFishing Rod (crafted)Mouse TrapNotched Wooden PlankStone AxeSnare TrapStick TrapStone HammerTent KitTrap BoxTrap CrateCrafted Spear
Stationery PenEraserNeedlePenPencilPenScissors
Tool AxeBall-peen HammerCar Battery ChargerChainsawClub HammerCrowbarGarden HoeHammerHand AxeJackLug WrenchPaint BrushPipe WrenchPropane TorchSawScrewdriverShovelSledgehammerSnow ShovelStone KnifeTire PumpTrowelWooden MalletWrench