Trowel

From PZwiki
Revision as of 15:16, 28 August 2022 by RaccoonWithInternetAcces (talk | contribs) (Updated the code and added the localisation)


Trowel
Trowel
General
Category Item
Encumbrance
Heavy Load
1.0
Function Till dirt
Technical details
Base ID farming.HandShovel

A trowel (commonly referred to as a hand shovel) is a tool used in farming.

Usage

Farming

For main article, see: Farming

A trowel is used to till grass or dirt, allowing seeds to be sown. Additionally, it can be used to dig graves (a way to permanently dispose of up to 5 corpses and all the items the corpses are wearing/carrying).

When digging with a trowel, there is a chance of recovering a worm which can be used for fishing, trapping or even be consumed.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Plowed Land
Plowed Land x1
none Trowel
Trowel x1
Grass
Grass x1


Distribution

It can be found in garages, crates, sheds, and in kitchens.

Code

From farming.txt(ProjetZomboid\media\scripts)

	item HandShovel
	{
	    DisplayCategory = Gardening,
	    MaxRange	=	0.9,
        WeaponSprite	=	Trowel,
        MinAngle	=	0.65,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	SmallBlade,
        ConditionLowerChanceOneIn	=	9,
        Weight	=	0.5,
        SplatNumber	=	2,
        PushBackMod	=	0.3,
        SubCategory	=	Stab,
        CloseKillMove = Jaw_Stab,
        ConditionMax	=	6,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Stab,
        WeaponWeight	=	3,
        DisplayName	=	Trowel,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	TZ_GardenTrowel,
        BreakSound = HandShovelBreak,
        HitFloorSound = HandShovelHit,
        ImpactSound = HandShovelHit,
        DoorHitSound = HandShovelHit,
        HitSound = HandShovelHit,
        SwingSound = HandShovelSwing,
        AttachmentType = Knife,
        TreeDamage  =   0,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	0.2,
        MaxDamage	=	0.4,
        WeaponLength = 0.2,
        SurvivalGear = TRUE,
        Tags = ClearAshes;DigPlow;TakeDirt,
	}

See also

Template:Navbox/ToolsTemplate:Navbox/Farming