Flashlight: Difference between revisions

From PZwiki
No edit summary
mNo edit summary
Line 13: Line 13:
  <nowiki>item Torch
  <nowiki>item Torch
{
{
Type = Drainable,
LightDistance = 16,
DisplayName = Flashlight,
Weight = 2,
Icon = Flashlight,
DisappearOnUse = FALSE,
Weight = 2,
Type = Drainable,
DisappearOnUse = false,
TorchCone = TRUE,
UseDelta = 0.0009,
UseDelta = 0.0009,
LightStrength = 0.8,
DisplayName = Flashlight,
ActivatedItem = TRUE,
Icon = Flashlight,
}</nowiki>
}</nowiki>



Revision as of 11:11, 31 July 2013


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