Flashlight

From PZwiki
Revision as of 10:43, 23 August 2013 by Zombieslayer123 (talk | contribs)


Template:Items A flashlight is used to provide light for the player when it is dark and is the strongest source of light in the game. However, the light will attract zombies in a large radius around the player. When low on battery, the flashlight will occasionally flicker.

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.


Code

item Torch
{
			LightDistance	=	16,
		Weight	=	2,
		DisappearOnUse	=	FALSE,
		Type	=	Drainable,
		TorchCone	=	TRUE,
		UseDelta	=	0.0009,
		LightStrength	=	0.8,
		DisplayName	=	Flashlight,
		ActivatedItem	=	TRUE,
		Icon	=	Flashlight,
}

History

Alpha
RC 2.9 Will slowly drain and consume batteries automatically.

See Also

Template:Navbox/Tools