Hammer: Difference between revisions

From PZwiki
m ({{Languages}} added)
No edit summary
Line 19: Line 19:
|}
|}


 
== Code ==
 
<nowiki>item Hammer
 
{
Type = Weapon,
DisplayName = Hammer,
Icon = Hammer,
MinAngle = 0,
MaxDamage = 1.0,
MinDamage = 1.0,
MaxRange = 0.7,
SwingAnim = Bat,
WeaponSprite = hammer,
Weight = 7,
WeaponWeight = 1.5,
MinimumSwingTime = 20,
DoorDamage = 10,
SwingTime = 26,
SwingAmountBeforeImpact = 0.3,
CanBarricade = true,
MaxHitCount = 1,
Categories = Blunt,
}</nowiki>
{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:Tools]]
[[Category:Tools]]
[[Category:Weapons]]
[[Category:weapons]]
[[Category:Version 0.2.0p]]

Revision as of 21:41, 28 March 2012


Template:Tools The hammer can be used either as a weapon or as a tool to build a barricade out of wooden boards and nails. The hammer usually requires two hits to kill a zombie. It can also be used to bash down doors.

Crafting

Name Recipe Description
























Code

item Hammer
{
	Type				=			Weapon,
	DisplayName			=			Hammer,
	Icon				=			Hammer,
	MinAngle			=			0,
	MaxDamage			=			1.0,
	MinDamage			=			1.0,
	MaxRange 			= 			0.7,
	SwingAnim			=			Bat,
	WeaponSprite		=			hammer,
	Weight				=			7,
	WeaponWeight		=			1.5,
	MinimumSwingTime 	= 			20,
	DoorDamage			=			10,
	SwingTime			=			26,
	SwingAmountBeforeImpact = 		0.3,
	CanBarricade 		=			true,
	MaxHitCount 		=			1,
	Categories 			=			Blunt,
}

Template:Navbox/Weapons