Garden Fork

From PZwiki
Revision as of 14:34, 17 July 2023 by VaileasysBot (talk | contribs) (→‎Code: Category update: "Melee weapons")
The Game WorldItemsToolsGarden Fork
Garden Fork
Garden Fork
Garden Fork
General
Category Weapon
Encumbrance
Heavy Load
1.5
Condition max. 10
Skill Spear
Damage
Type Spear
Attack speed 2
Range 0.61–1.37 tiles
Damage 1–1.5
Knockback 0.3
Knockdown 0
Technical details
Base ID item Garden Fork

The Garden Fork is an uncraftable spear-type weapon. It can 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.

Usage

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

Special Ability: 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.

Distribution

The best locations to find a garden fork are farming stores and industrial areas such as warehouses and storage units. Rarely, they may be found inside survivor houses.

Gallery

Code

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

Retrieved: Build 41.50

item GardenFork
    {
        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,
        BreakSound  =   BreakWoodItem,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.5,
        BaseSpeed = 0.9,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound = HandForkBreak,
        HitFloorSound	=	HandForkHit,
        ImpactSound	=	HandForkHit,
        DoorHitSound = HandForkHit,
        HitSound	=	HandForkHit,
        AttachmentType = Shovel,
        Tags = DigPlow,
    }