Spear with Machete

From PZwiki
Revision as of 23:47, 10 June 2023 by Kenji 03 (talk | contribs) (→‎Item)
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

A Spear with Machete is a Crafted Spear with a Machete attached onto it with Duct Tape. It is the best weapon in the Spear skill category, with the highest damage, the longest range, the highest durability and the second lowest durability loss chance.

Recipe

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
SpearMachete.png
Spear with Machete
0 XP none SpearStick.png
Crafted Spear
(consumed)
Machete.png
Machete
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)

Code

Item

From items_weapons.txt (Project Zomboid directory/media/scripts/) (Outdated) Retrieved: Build 41.55

    item SpearMachete
    {
        MaxRange	=	1.55,
        WeaponSprite	=	SpearMachete,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	10,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	12,
        MaxHitCount	=	2,
        DoorDamage	=	10,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Machete,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearMachete,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1.3,
        MaxDamage	=	2,
        BaseSpeed = 0.9,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearMacheteBreak,
        HitFloorSound	=	SpearMacheteHit,
        ImpactSound	=	SpearMacheteHit,
        DoorHitSound = SpearMacheteHit,
        HitSound	=	SpearMacheteHit,
        SwingSound	=	SpearMacheteSwing,
		AttachmentType = Shovel,
        Tags = FishingSpear,
         {