Spade

From PZwiki
Revision as of 20:24, 3 May 2017 by MalonyJenkins (talk | contribs) (Replaced Navigation System with Header Version, Confirmed and Updated Code to include metal value, Cleared Old Categories except farming/weapon categories.)

Spade


Template:ToolsThe shovel is a tool which dual acts as a low-durable weapon against zombies.

It is a blunt melee weapon that can commonly be found in crates, sheds, and work shelves. The shovel has a fast attack with middling damage, but it is fairly fragile and caps out at around 20 zombie kills before breaking.

The shovel is primarily used to move dirt on the ground. Uses for the shovel is to move dirt to a non-ground level or to fill sandbags for bullet defenses.








Code

Info within media/scripts/Farming.txt file

	
    item Shovel
		Type				= Weapon,
		DisplayName			= Shovel,
		Icon				= TZ_Shovel,
		Weight				= 2.0,
		SubCategory    			= Swinging,
		MinAngle			= 0,
		MaxDamage			= 1.9,
		MinDamage			= 0.8,
		MaxRange 			= 1.5,
		MinRange 			= 0.61,
		CriticalChance 			= 10,
		PushBackMod			= 0.5,
		HitAngleMod			= -30.0,
		SwingAnim			= Bat,
		MaxHitCount 			= 1,
		WeaponSprite			= Shovel,
		IdleAnim			= Idle_Weapon2,
		RunAnim				= Run_Weapon2,
		Weight				= 1.5,
		DoorDamage			= 5,
		MinimumSwingTime 		= 2.1,
		SwingTime			= 2.1,
		SwingAmountBeforeImpact 	= 0.02,
		ConditionLowerChanceOneIn 	= 10,
		ConditionMax 			= 10,
		Categories 			= Blunt,
		TwoHandWeapon 			= TRUE,
		BreakSound  			= PZ_WoodSnap,
		KnockdownMod			= 2,
        	KnockBackOnNoDeath		= TRUE,
        	MetalValue 			= 70,


See Also

Template:Navbox/Tools Template:Navbox/Weapons