Garden Fork: Difference between revisions

From PZwiki
(Created page with "{{languages}} {{header|The Game World|Items|Tools|version=Version 41|incver=52}} {{Infobox weapon |display_name=Crafted Spear |name_colour=Weapon |name_text_colour=Weapon |ima...")
 
m (Distribution table fix)
 
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}}
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Crafted Spear
|name=Garden Fork
|name_colour=Weapon
|model=Pitchfork_Model.png
|name_text_colour=Weapon
|icon=Pitchfork.png
|image=Pitchfork.png
|icon_name=Garden Fork
|image_width=200px
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Gardening
|weight=1.5
|weight=1.5
|function=[[Farming]]
|condition_max=10
|condition_max=10
<!--CHARACTERISTICS-->
|attachment_type=Shovel
|skill_type=Spear
<!--DAMAGE-->
<!--DAMAGE-->
|type=Spear
|type={{tooltip|Slash|Creates holes in clothing.}}
|swing_time=2
|base_speed=0.9
|min_range=0.61
|min_range=0.61
|max_range=1.37
|max_range=1.37
|min_damage=1
|min_damage=1
|max_damage=1.5
|max_damage=1.5
|door_damage=7
|tree_damage=0
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=item Garden Fork
|item_id=Base.GardenFork
}}
}}
The '''Garden Fork''' is a spear. The garden fork can alternatively be used one-handed at the cost of reduced impact. The weapon can be attached to the character's back for quick access and weight reduction.
A '''garden fork''' is an improvised spear [[Weapons|weapon]].
 
==Usage==
===Farming===
The garden fork can be used similar to a [[shovel]] or [[trowel]] as a way of [[Plowed Land|tilling]] [[grass]] for [[farming]].
 
===Weapon===
The garden fork can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 1.5 damage (unless a critical hit or using the [[#Special ability: spear charge|spear charge]]) from up to 1.37 tiles away at an attack speed of 0.9.
 
Although it is a two-handed weapon, it can be used one-handed at the cost of reduced impact. It can be attached to the character's back for quick access and weight reduction.


== Usage ==
{{pros-cons
{{pros-cons
<!-- #PROS# - below this line -->
<!-- #PROS# - below this line -->
Line 33: Line 44:
|pros3 = Spear charge ability.
|pros3 = Spear charge ability.
<!-- #CONS# - below this line -->
<!-- #CONS# - below this line -->
|cons1 = The only spear that cannot be crafted.
|cons1 = Cannot be crafted.
}}
}}
===Special Ability: Spear Charge===
====Spear charge====
Every spear has the ability to use a unique spear charge attack. To use the spear charge ability, you must sprint(Left Alt key by default), after a few seconds of sprinting, the character will begin a spear charge and any zombie on the receiving end of the charge will be killed in one blow. Spear charges are best used against lone zombies due to your character being vulnerable during the kill animation. There are other risks such as nearby zombies being alerted by your sprinting, more difficult for your character to turn while sprinting and your character falling over if they sprint into a wall.
Every spear has the ability to use a unique spear charge attack. To use the spear charge ability, you must sprint (Left Alt key by default), after a few seconds of sprinting, the character will begin a spear charge and any zombie on the receiving end of the charge will be killed in one blow. Spear charges are best used against lone zombies due to the character being vulnerable during the kill animation. It may also alert nearby zombies from your sprinting, and it is more difficult for the character to turn while sprinting.  The character will fall over if they sprint into a wall.
== Distribution ==
 
The best locations to find a garden fork would be farming stores and industrial areas such as warehouses and storage units.
==Condition==
The garden fork has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|spear]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (10 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the spear and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|spear]] skills.
{{Durability weapon|10}}
 
===Repairing===
A garden fork can be repaired with the following:
*2 × [[Wood Glue]] and level 2 [[Carpentry]]
*2 × [[Duct Tape]]
*2 × [[Glue]]
*4 × [[Adhesive Tape]]
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|GardenFork|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>GardenFork distribution
        <span class="mw-customtoggle-togglebox-GardenFork" 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-GardenFork">
    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.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_ToolBag
    | {{ll|Bag_ToolBag}}
    | 1.01%
    |-
    | Farmer
    | {{ll|crate}}
    | 3.98%
    |-
    | Farmer
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 3.98%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 15.1%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 15.1%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 15.1%
    |-
    | all
    | {{ll|crate}}
    | 0.47%
    |-
    | all
    | {{ll|toolcabinet}}
    | 3.98%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.47%
    |-
    | closet
    | {{ll|crate}}
    | 0.47%
    |-
    | closet
    | {{ll|crate}}
    | 3.98%
    |-
    | construction
    | {{ll|crate}}
    | 3.98%
    |-
    | factory
    | {{ll|crate}}
    | 3.98%
    |-
    | factory
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | farmstorage
    | {{ll|crate}}
    | 3.98%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|counter}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.47%
    |-
    | garagestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|locker}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | gardenstore
    | {{ll|shelves}}
    | 3.98%
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | generalstore
    | {{ll|shelves}}
    | 2.81%
    |-
    | generalstorestorage
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 2.81%
    |-
    | gigamart
    | {{ll|shelves}}
    | 2.81%
    |-
    | kitchen
    | {{ll|crate}}
    | 3.98%
    |-
    | loggingfactory
    | {{ll|crate}}
    | 3.98%
    |-
    | loggingfactory
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | pawnshop
    | {{ll|counter}}
    | 3.98%
    |-
    | pawnshop
    | {{ll|crate}}
    | 3.98%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 3.98%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 3.98%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | producestorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | shed
    | {{ll|crate}}
    | 3.98%
    |-
    | shed
    | {{ll|locker}}
    | 3.98%
    |-
    | shed
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.47%
    |-
    | storageunit
    | {{ll|crate}}
    | 3.98%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.47%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | toolstore
    | {{ll|counter}}
    | 3.98%
    |-
    | toolstore
    | {{ll|crate}}
    | 3.98%
    |-
    | toolstore
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | toolstore
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | toolstore
    | {{ll|shelves}}
    | 2.81%
    |-
    | toolstore
    | {{ll|shelves}}
    | 3.98%
    |-
    | toolstorestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | warehouse
    | {{ll|crate}}
    | 3.98%
    |-
    | warehouse
    | {{ll|metal_shelves}}
    | 3.98%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Farmer
    | {{ll|Truck Bed}}
    | 12.41%
    |-
    | Farmer
    | {{ll|Truck Bed}}
    | 3.98%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-GardenFork" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|GardenFork|41.78.16-->
 
==Gallery==
==Gallery==
<gallery>
<gallery>
File:HoldingGardenFork.jpg|Survivor holding the garden fork.
File:HoldingGardenFork.jpg|Survivor holding the garden fork
</gallery>
</gallery>
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''


{{Retrieved|version=41|incver=50}}
==Code==
<pre>item GardenFork
{{CodeBox|
 
===Item===
{{CodeSnip
  | lang = java
  | line = true
  | start = 4363
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item GardenFork
     {
     {
        DisplayCategory = Gardening,
         MaxRange = 1.37,
         MaxRange = 1.37,
         WeaponSprite = GardenFork,
         WeaponSprite = GardenFork,
Line 74: Line 389:
         RunAnim = Run_Weapon2,
         RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
        BreakSound  =  BreakWoodItem,
         TreeDamage  =  0,
         TreeDamage  =  0,
         TwoHandWeapon = TRUE,
         TwoHandWeapon = TRUE,
Line 84: Line 398:
         DamageCategory = Slash,
         DamageCategory = Slash,
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         BreakSound = HandForkBreak,
         BreakSound =   GardenForkBreak,
         HitFloorSound = HandForkHit,
         HitFloorSound = GardenForkHit,
         ImpactSound = HandForkHit,
         ImpactSound = GardenForkHit,
         DoorHitSound = HandForkHit,
         DoorHitSound = GardenForkHit,
         HitSound = HandForkHit,
         HitSound = GardenForkHit,
        SwingSound = GardenForkSwing,
         AttachmentType = Shovel,
         AttachmentType = Shovel,
         Tags = DigPlow,
         Tags = DigPlow,
     }
     }
</pre>
}}
[[Category:Weapons]]
 
[[Category:Melee Weapons]]
===Repair===
{{CodeSnip
  | lang = java
  | line = true
  | start = 543
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    fixing Fix Garden Fork
    {
      Require : GardenFork,
 
      Fixer : Woodglue=2; Woodwork=2,
      Fixer : DuctTape=2,
      Fixer : Glue=2,
      Fixer : Scotchtape=4,
    }
}}
}}
 
==See also==
*[[Hand Fork]]
*[[Hand Scythe]]
 
{{Navbox items|spears}}
 
 
[[Category:Farming tools]]
[[Category:Tools]]

Latest revision as of 19:14, 30 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]
Garden Fork
Pitchfork Model.png
General
Category
Gardening
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Slot attached
Back
Function
Skill
Spear
Properties
Max condition
10
Performance
Damage
1–1.5
Door damage
7
Tree damage
0
Range
0.61–1.37
Attack speed
0.9
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.GardenFork

A garden fork is an improvised spear weapon.

Usage

Farming

The garden fork can be used similar to a shovel or trowel as a way of tilling grass for farming.

Weapon

The garden fork can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 1.5 damage (unless a critical hit or using the spear charge) from up to 1.37 tiles away at an attack speed of 0.9.

Although it is a two-handed weapon, it can be used one-handed at the cost of reduced impact. It can be attached to the character's back for quick access and weight reduction.

Pros Cons
  • Long reach, great for not getting too close to zombies.
  • Highest durability of any spear.
  • Spear charge ability.
  • Cannot be crafted.

Spear charge

Every spear has the ability to use a unique spear charge attack. To use the spear charge ability, you must sprint (Left Alt key by default), after a few seconds of sprinting, the character will begin a spear charge and any zombie on the receiving end of the charge will be killed in one blow. Spear charges are best used against lone zombies due to the character being vulnerable during the kill animation. It may also alert nearby zombies from your sprinting, and it is more difficult for the character to turn while sprinting. The character will fall over if they sprint into a wall.

Condition

The garden fork has a maximum condition of 10. Its rate of degradation is influenced by the spear 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 spear and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and spear skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/10 (10%)
0 4 1/12 (8%)
0 8 1/14 (7%)
4 0 1/14 (7%)
8 0 1/18 (6%)
4 4 1/16 (6%)
4 8 1/18 (6%)
8 8 1/22 (5%)
10 10 1/24 (4%)

Repairing

A garden fork can be repaired with the following:

Distribution

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

GardenFork 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 Bag_ToolBag 1.01%
Farmer crate 3.98%
Farmer metal_shelves 3.98%
SafehouseLoot counter 15.1%
SafehouseLoot crate 3.98%
SafehouseLoot crate 15.1%
SafehouseLoot metal_shelves 3.98%
SafehouseLoot metal_shelves 15.1%
SafehouseLoot wardrobe 15.1%
SurvivorCache1 counter 15.1%
SurvivorCache2 counter 15.1%
all crate 0.47%
all toolcabinet 3.98%
bedroom crate 0.47%
closet crate 0.47%
closet crate 3.98%
construction crate 3.98%
factory crate 3.98%
factory metal_shelves 3.98%
farmstorage crate 3.98%
farmstorage metal_shelves 3.98%
garagestorage counter 3.98%
garagestorage crate 0.47%
garagestorage crate 3.98%
garagestorage locker 3.98%
garagestorage metal_shelves 3.98%
gardenstore metal_shelves 3.98%
gardenstore shelves 3.98%
generalstore metal_shelves 2.81%
generalstore shelves 2.81%
generalstorestorage metal_shelves 2.81%
generalstorestorage shelves 2.81%
gigamart shelves 2.81%
kitchen crate 3.98%
loggingfactory crate 3.98%
loggingfactory metal_shelves 3.98%
pawnshop counter 3.98%
pawnshop crate 3.98%
pawnshop metal_shelves 3.98%
pawnshop shelves 3.98%
pawnshopstorage crate 3.98%
pawnshopstorage metal_shelves 3.98%
producestorage metal_shelves 3.98%
shed crate 3.98%
shed locker 3.98%
shed metal_shelves 3.98%
storageunit crate 0.47%
storageunit crate 3.98%
storageunit metal_shelves 0.47%
storageunit metal_shelves 3.98%
toolstore counter 3.98%
toolstore crate 3.98%
toolstore metal_shelves 2.81%
toolstore metal_shelves 3.98%
toolstore shelves 2.81%
toolstore shelves 3.98%
toolstorestorage crate 3.98%
toolstorestorage metal_shelves 2.81%
toolstorestorage metal_shelves 3.98%
warehouse crate 3.98%
warehouse metal_shelves 3.98%
Vehicles
Type Container Effective chance
Farmer Trunk 12.41%
Farmer Trunk 3.98%

Gallery

Code

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

Item

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item GardenFork
    {
        DisplayCategory = Gardening,
        MaxRange	=	1.37,
        WeaponSprite	=	GardenFork,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	15,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	2,
        DoorDamage	=	7,
        SwingAnim	=	Spear,
        DisplayName	=	Garden Fork,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Pitchfork,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.5,
        BaseSpeed = 0.9,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   GardenForkBreak,
        HitFloorSound	=	GardenForkHit,
        ImpactSound	=	GardenForkHit,
        DoorHitSound = GardenForkHit,
        HitSound	=	GardenForkHit,
        SwingSound = GardenForkSwing,
        AttachmentType = Shovel,
        Tags = DigPlow,
    }

Repair

Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Garden Fork
    {
       Require : GardenFork,

       Fixer : Woodglue=2; Woodwork=2,
       Fixer : DuctTape=2,
       Fixer : Glue=2,
       Fixer : Scotchtape=4,
    }

See also