Shovel

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Shovel
Shovel Model.png
Shovel02 Model.png
General
Category
Gardening
Encumbrance
Moodle Icon HeavyLoad.png
2.0
Equipped
Two-handed
Slot attached
Back
Function
Skill
Properties
Max condition
10
Condition lower chance
10
Performance
Damage
0.8–1.9
Door damage
10
Tree damage
1
Range
0.61–1.6
Attack speed
0.8
Knockback
0.5
Crit chance
40%
Technical
Item ID
Base.Shovel
Base.Shovel2

A shovel is a farming tool or long blunt weapon that can move dirt, sand, and gravel. It can also till soil.

Usage

General

Shovels can be used to dig graves to permanently dispose of up to 5 corpses and all the items the corpses are wearing/carrying. It also fulfills the same functions as a trowel or hand fork, in that they can be used to till grass and dirt tiles and to find worms.

Moving tiles

While the player has the shovel and an empty sack in their main inventory, a new contextual option will appear when right-clicking any one of these aforementioned tiles. This new option allows the player to move up to four tiles of dirt, sand, or gravel into a single sack, upon changing the sack to a dirt bag, sandbag or gravel bag, respectively. Each filled sack can then be "spilled" over any other pre-existing tile, changing it to the contents of the sack.

This option only works with the spade variant of the shovel, not the square head.

This mechanic is ideal when a specific location is desired for farming in which doesn't already contain dirt tiles. There generally isn't much use in spreading sand around, but areas that have been covered in gravel will not be overgrown by erosion and saplings cannot grow there, allowing for the creation of artificial driveways. Finally, bags full of sand or gravel can be used to set up sandbag walls and gravel bag walls, which offer some protection from gunfire.

Weapon

The shovel may also be used as a blunt melee weapon with a fast attack speed and intermediate damage. However, it is fairly fragile and caps at around 20-50 zombie kills before breaking, depending on the players' maintenance and long blunt skills, respectively.

Condition

The shovel has a maximum condition of 10. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (10 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blunt and maintenance skills.

Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.

For how this is calculated, see: Condition
Maintenance level Long blunt level Condition lower chance Average condition
0 0 1/10 (10%) 100
0 4 1/12 (8%) 120
0 8 1/14 (7%) 140
4 0 1/14 (7%) 140
8 0 1/18 (6%) 180
4 4 1/16 (6%) 160
4 8 1/18 (6%) 180
8 8 1/22 (5%) 220
10 10 1/24 (4%) 240

Distribution

The loot distributions can be found in the table(s) below.

Shovel distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_ToolBag Duffel Bag 2.81%
SafehouseLoot counter 15.1%
SafehouseLoot crate 10.78%
SafehouseLoot crate 15.1%
SafehouseLoot metal_shelves 10.78%
SafehouseLoot metal_shelves 15.1%
SafehouseLoot wardrobe 15.1%
SurvivorCache1 counter 15.1%
SurvivorCache2 counter 15.1%
ToolsCache1 ToolsBox 10.78%
ToolsCache1 counter 10.78%
all crate 0.65%
all metal_shelves 2.57%
all toolcabinet 10.78%
bedroom crate 0.65%
closet crate 0.65%
closet crate 10.78%
construction crate 10.78%
drugshack counter 10.78%
drugshack crate 10.78%
factory crate 10.78%
factory metal_shelves 10.78%
farmstorage crate 10.78%
farmstorage metal_shelves 10.78%
firestorage metal_shelves 10.78%
garagestorage counter 10.78%
garagestorage crate 0.65%
garagestorage crate 10.78%
garagestorage locker 10.78%
garagestorage metal_shelves 10.78%
gardenstore metal_shelves 10.78%
gardenstore shelves 10.78%
generalstore metal_shelves 10.78%
generalstore shelves 10.78%
generalstorestorage metal_shelves 10.78%
generalstorestorage shelves 10.78%
gigamart shelves 10.78%
kitchen crate 10.78%
loggingfactory crate 10.78%
loggingfactory metal_shelves 10.78%
pawnshop counter 10.78%
pawnshop crate 10.78%
pawnshop metal_shelves 10.78%
pawnshop shelves 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage metal_shelves 10.78%
producestorage metal_shelves 10.78%
shed crate 10.78%
shed locker 10.78%
shed metal_shelves 10.78%
storageunit crate 0.65%
storageunit crate 10.78%
storageunit metal_shelves 0.65%
storageunit metal_shelves 10.78%
toolstore counter 10.78%
toolstore crate 10.78%
toolstore metal_shelves 10.78%
toolstore shelves 10.78%
toolstorestorage crate 10.78%
toolstorestorage metal_shelves 10.78%
warehouse crate 10.78%
warehouse metal_shelves 10.78%
Zombie
Outfit Days survived Chance
Bandit 0 50
Shovel2 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_ToolBag Duffel Bag 2.81%
SafehouseLoot counter 15.1%
SafehouseLoot crate 10.78%
SafehouseLoot crate 15.1%
SafehouseLoot metal_shelves 10.78%
SafehouseLoot metal_shelves 15.1%
SafehouseLoot wardrobe 15.1%
SurvivorCache1 counter 15.1%
SurvivorCache2 counter 15.1%
ToolsCache1 ToolsBox 10.78%
ToolsCache1 counter 10.78%
all crate 0.65%
all metal_shelves 2.57%
all toolcabinet 10.78%
bedroom crate 0.65%
closet crate 0.65%
closet crate 10.78%
construction crate 10.78%
drugshack counter 10.78%
drugshack crate 10.78%
factory crate 10.78%
factory metal_shelves 10.78%
farmstorage crate 10.78%
farmstorage metal_shelves 10.78%
firestorage metal_shelves 10.78%
garagestorage counter 10.78%
garagestorage crate 0.65%
garagestorage crate 10.78%
garagestorage locker 10.78%
garagestorage metal_shelves 10.78%
gardenstore metal_shelves 10.78%
gardenstore shelves 10.78%
generalstore metal_shelves 10.78%
generalstore shelves 10.78%
generalstorestorage metal_shelves 10.78%
generalstorestorage shelves 10.78%
gigamart shelves 10.78%
kitchen crate 10.78%
loggingfactory crate 10.78%
loggingfactory metal_shelves 10.78%
pawnshop counter 10.78%
pawnshop crate 10.78%
pawnshop metal_shelves 10.78%
pawnshop shelves 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage metal_shelves 10.78%
producestorage metal_shelves 10.78%
shed crate 10.78%
shed locker 10.78%
shed metal_shelves 10.78%
storageunit crate 0.65%
storageunit crate 10.78%
storageunit metal_shelves 0.65%
storageunit metal_shelves 10.78%
toolstore counter 10.78%
toolstore crate 10.78%
toolstore metal_shelves 10.78%
toolstore shelves 10.78%
toolstorestorage crate 10.78%
toolstorestorage metal_shelves 10.78%
warehouse crate 10.78%
warehouse metal_shelves 10.78%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Shovel.png Base.Shovel
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Shovel
    {
        DisplayCategory = Gardening,
        Type				=			Weapon,
        DisplayName			=		Shovel,
        Icon				=		Shovel,
        Weight				=		2.0,
        SubCategory    		=     Swinging,
        MinAngle			=			0.85,
        MaxRange 			= 			1.6,
        MinRange 			= 			0.61,
        PushBackMod			=			0.5,
        HitAngleMod			=			-30.0,
        SwingAnim			=			Bat,
        MaxHitCount 		=			3,
        WeaponSprite	=	Shovel,
        IdleAnim			=			Idle_Weapon2,
        RunAnim				=			Run_Weapon2,
        Weight				=			1.5,
        DoorDamage			=			10,
        MinimumSwingTime 	= 			2.1,
        SwingTime			=			2.1,
        SwingAmountBeforeImpact = 		0.02,
        ConditionLowerChanceOneIn 	= 	10,
        ConditionMax 		= 			10,
        Categories 			=			Blunt,
        TwoHandWeapon = TRUE,
        BreakSound  =   ShovelBreak,
        DoorHitSound = ShovelHit,
		HitSound = ShovelHit,
		HitFloorSound = ShovelHit,
		SwingSound = ShovelSwing,
        KnockdownMod	=	2,
        KnockBackOnNoDeath	=	TRUE,
        MetalValue = 70,
        TreeDamage = 1,
        CriticalChance	=	40,
        CritDmgMultiplier = 2,
        MaxDamage			=			1.9,
        MinDamage			=			0.8,
        BaseSpeed = 0.8,
       	WeaponLength = 0.55,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
        Tags = ClearAshes;DigGrave;DigPlow;TakeDirt,
     }

Shovel2.png Base.Shovel2
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Shovel2
    {
        DisplayCategory = Gardening,
        Type				=			Weapon,
        DisplayName			=		Shovel,
        Icon				=		Shovel2,
        Weight				=		2.0,
        SubCategory    		=     Swinging,
        MinAngle			=			0.85,
        MaxRange 			= 			1.6,
        MinRange 			= 			0.61,
        PushBackMod			=			0.5,
        HitAngleMod			=			-30.0,
        SwingAnim			=			Bat,
        MaxHitCount 		=			3,
        WeaponSprite	=	Shovel02,
        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  =   ShovelBreak,
        DoorHitSound = ShovelHit,
        HitSound = ShovelHit,
        HitFloorSound = ShovelHit,
        SwingSound = ShovelSwing,
        KnockdownMod	=	2,
        KnockBackOnNoDeath	=	TRUE,
        MetalValue = 70,
        TreeDamage = 1,
        CriticalChance	=	40,
        CritDmgMultiplier = 2,
        MinDamage			=			0.8,
        MaxDamage			=			1.9,
        BaseSpeed = 0.8,
       	WeaponLength = 0.55,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
        Tags = ClearAshes;DigGrave;DigPlow;TakeDirt,
     }

See also