Trowel: Difference between revisions

From PZwiki
m (Automated Formatting)
(→‎Code: Codebox Update)
(One intermediate revision by one other user not shown)
Line 43: Line 43:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|HandShovel|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>HandShovel distribution
        <span class="mw-customtoggle-togglebox-HandShovel" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-HandShovel">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_ToolBag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|Outfit_Farmer}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|toolcabinet}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | gardenstore
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 4
    | 6.0
    |-
    | pawnshop
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-HandShovel" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|HandShovel|41.78.16-->
It can be found in garages, [[Wooden Crate|crates]], sheds, warehouses, hardware stores, storage units, and in kitchens and in zombie farmers.
It can be found in garages, [[Wooden Crate|crates]], sheds, warehouses, hardware stores, storage units, and in kitchens and in zombie farmers.


==Code==
==Code==
'''''From farming.txt(ProjetZomboid\media\scripts)
{{CodeBox|
<pre>
{{CodeSnip
item HandShovel
  | lang = java
  | line = true
  | start = 562
  | source = farming.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item HandShovel
{
{
    DisplayCategory = Gardening,
    DisplayCategory = Gardening,
Line 91: Line 188:
         SurvivalGear = TRUE,
         SurvivalGear = TRUE,
         Tags = ClearAshes;DigPlow;TakeDirt,
         Tags = ClearAshes;DigPlow;TakeDirt,
}
}  
</pre>
}}
}}


==See also==
==See also==

Revision as of 03:28, 25 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Trowel
Trowel Model.png
General
Category
Gardening
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Equipped
One-handed
Slot attached
Belt
Function
Skill
Properties
Max condition
6
Performance
Damage type
Blade
Damage
0.2–0.4
Door damage
5
Tree damage
0
Range
0.61–0.9
Knockback
0.3
Knockdown
2
Special ability
Jaw_Stab
Technical
Tags
ClearAshes
DigPlow
TakeDirt
Item 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.

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 Ingredients Tools Requirements Workstation XP
Plowed land.png
Plowed Land
One of:
TZ GardenTrowel.png Trowel ×1
GardeningFork.png Hand Fork ×1
Pitchfork.png Garden Fork ×1
Hoe.png Garden Hoe ×1
Shovel.png Shovel ×1
Shovel2.png Shovel ×1
SnowShovel.png Snow Shovel ×1
Each of:
Gras land.png Grass ×1
none none none none

Distribution

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

HandShovel distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_ToolBag 1 10.0
all Outfit_Farmer 1 10.0
all crate 1 1.0
all toolcabinet 4 10.0
bedroom crate 1 1.0
closet crate 4 10.0
garagestorage counter 4 10.0
gardenstore counter 4 10.0
gardenstore metal_shelves 4 10.0
generalstore metal_shelves 4 10.0
generalstore metal_shelves 4 6.0
pawnshop counter 4 10.0
toolstorestorage metal_shelves 4 10.0
toolstorestorage metal_shelves 4 6.0

It can be found in garages, crates, sheds, warehouses, hardware stores, storage units, and in kitchens and in zombie farmers.

Code

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

Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
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