Spade
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,