Spear with Machete

From PZwiki
Revision as of 05:24, 17 January 2022 by Obamagaming (talk | contribs) (Did stuff)

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 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/) 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,
         {