Shovel

From PZwiki
Jump to navigation Jump to search
PZwiki:Language policy Language: English • 日本語 • русский
Shovel
Shovel
Shovel Shovel
General
Category Weapon
Weight
Heavy Load
1.5
Function Farming
Equipped Two-handed
Condition max. 10
Skill Long Blunt
Damage
Type Slash
Attack speed 2.1
Range 0.61–1.6 tiles
Damage 0.8–1.9
Knockback 0.5
Knockdown 2
Technical details
Base ID farming.Shovel

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 long blunt level.

Distribution

Shovels can commonly be found inside crates, sheds, and work shelves.

Code

From farming.txt (Project Zomboid directory/media/scripts/)

	    
    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,


See also


Equipment vde
Container BriefcaseBig Hiking BagBowling Ball BagCoolerDoctor BagDuffelbagFanny PackFlight CaseFirst Aid KitGarbage BagGuitar CaseGun Case (Small)Gun Case (Large)HandbagHiking BagKey RingLarge BackpackLunchboxMilitary BackpackPaper BagPlastic BagPurseSackSatchelSchool BagSeed BagSewing KitSuitcaseToolboxTote BagNormal Hiking BagRemoved!
Electrical Alarm ClockAluminumAmplifierAntique TelevisionBatteryCar BatteryValuTech PortaDiscCordless PhoneCrafted TimerCrafted TriggerDigital WatchEarbudsElectric WireElectronics ScrapGeneratorHeadphonesHome AlarmMakeshift Ham RadioLight BulbMakeshift RadioMakeshift Walkie TalkieMotion SensorPremium Tech. Walkie TalkiePremium Technologies Ham RadioPremium Technologies RadioPremium Technologies TelevisionRadio TransmitterRadio ReceiverScanner ModuleSpeakerTactical Walkie TalkieTimerToys-R-Mine Walkie TalkieTV RemoteUS ARMY COMM. Ham RadioUS Army Walkie TalkieV1 Remote ControllerV2 Remote ControllerV3 Remote ControllerValuTech RadioValuTech TelevisionValuTech Walkie TalkieVideo Game
Farming and Fishing Broccoli SeedsCabbage SeedsCarrot SeedsCompost BagFishing TackleGardening Spray CanHand ForkNPK FertilizerPotato SeedsRadish SeedsStrawberry SeedsTomato SeedsWatering Can
Fuel CharcoalGas CanLogPropane TankSturdy Stick
Health/Hygiene Bath TowelCleaning LiquidDish TowelExtinguisherMopSoapSuture NeedleSuture Needle HolderTissueTweezersUmbrellaRazor
Kitchen Utensil Baking PanBowlBox of JarsButter KnifeCan OpenerCooking PotEmpty Bottle (Beer)Empty Bottle (Bourbon)Empty Bottle (Mayonnaise)Empty Bottle (Red Wine)Empty Bottle (Remoulade)Empty Bottle (Water)Empty Bottle (White Wine)Empty JarEmpty MugEmpty Orange Soda BottleForkFrying PanHunting KnifeJar LidKettleKitchen KnifeMortar and PestlePlastic CupRoasting PanRolling PinSpoon
Light CandleFlashlightHand TorchLighterMatches
Lock/Key Car KeyCombination PadlockKey (Door)Key (Padlock)Padlock
Stationery Blue PenEraserNeedlePenPencilRed PenScissors
Survival Cage TrapCampfire MaterialsChipped StoneFishing Net TrapFishing RodFishing Rod (crafted)Mouse TrapNotched Wooden PlankStone AxeSnare TrapStick TrapStone HammerTent KitTrap BoxTrap CrateCrafted Spear
Tool AxeBall-peen HammerCar Battery ChargerChainsawClub HammerCrowbarGarden HoeHammerHand AxeJackLug WrenchPaint BrushPipe WrenchPropane TorchSawScrewdriverShovelSledgehammerSnow ShovelStone KnifeTire PumpTrowelWooden MalletWrench
Weapons vde
Axe Hand AxeStone AxeAxeWood AxePick Axe
Long Blunt Acoustic GuitarBadminton RacketBarbellBaseball BatBroomCanoe PaddleCanoe Paddle - Double-bladedChainsawCrowbarElectric BassElectric GuitarFishing RodFishing Rod (crafted)Fishing Rod without LineGarden HoeGolf ClubHockey StickIce Hockey StickKeytarLacrosse StickLeaf RakePlankPool CueRakeSaxophoneShovelSledgehammerSnow ShovelSpiked Baseball BatSpiked PlankTennis RacketTrumpet
Short Blunt Ball-peen HammerBanjoChair LegClub HammerDumbbellDrumstickFluteFrying PanGriddle PanHammerLead PipeMetal BarMetal PipeNightstickPlungerPipe WrenchPickaxe HandleRolling PinSaucepanSpiked Pickaxe HandleStone HammerTable LegViolinWooden MalletWrench
Long Blade MacheteKatana
Short Blade Butter KnifeBread KnifeForkHand ForkHand ScytheHunting KnifeIce PickLetter OpenerKitchen KnifeMeat CleaverScalpelScissorsScrewdriverSmashed BottleSpoonStakeStone Knife
Spear Closed UmbrellaCrafted SpearGarden ForkSpear with Bread KnifeSpear with Butter KnifeSpear with ForkSpear with Hand ForkSpear with Hunting KnifeSpear with Ice PickSpear with KnifeSpear with Letter OpenerSpear with MacheteSpear with ScalpelSpear with ScissorsSpear with ScrewdriverSpear with Spoon
Firearm D-E PistolDouble Barrel ShotgunJS-2000 ShotgunM14 RifleM16 Assault RifleM1911 PistolM36 RevolverM625 RevolverM9 PistolMagnumMSR700 RifleMSR788 RifleSawed-off Double Barrel ShotgunSawed-off JS-2000 Shotgun
Ammo .223 Round.308 Round.38 Special Round.44 Magnum Round.45 Auto Round5.56mm Round9mm RoundShotgun Shells
Weapon mods .223 Magazine.308 Magazine.44 Magazine.45 Auto Magazine5.56mm Magazine9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope
Throwable Aerosol BombAerosol Bomb with SensorAerosol Bomb with TimerFire BombFire Bomb with SensorFire Bomb with TimerMolotov CocktailNoise MakerNoise Maker with SensorNoise Maker with TimerPipe BombPipe Bomb with SensorPipe Bomb with TimerRemote Aerosol BombRemote Fire BombRemote Noise MakerRemote Pipe BombRemote Smoke BombSmoke BombSmoke Bomb with SensorSmoke Bomb with Timer
Other Bare HandsBlue PenPenPencilRed Pen