Flashlight

From PZwiki


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.

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