Trowel: Difference between revisions
(PZ Updater automated execution(task: deploy ReLookup, eid: b84fad74da61513edad702e73a5927a5)) |
(Updated the code and added the localisation) |
||
Line 34: | Line 34: | ||
== Code == | == Code == | ||
'''''From farming.txt(ProjetZomboid\media\scripts) | |||
< | <pre> 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, | |||
}</pre> | |||
==See also== | ==See also== |
Revision as of 15:16, 28 August 2022
Trowel | |
---|---|
General | |
Category | Item |
Encumbrance | 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 x1 |
none | Trowel x1 |
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, }