Spear with Machete: Difference between revisions

From PZwiki
(Added basic information and image)
m (Added Recipie information)
Line 3: Line 3:
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Infobox weapon
{{Infobox weapon
|display_name=Spear with Fork
|display_name=Spear with Machete
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
Line 13: Line 13:
|category=Weapon
|category=Weapon
|weight=1.5
|weight=1.5
|condition_max=Default: 6 <br>Crafted: <small>''See [[Crafted  Spear|Spears]]''</small>
|condition_max=Default: 12 <br>Crafted: <small>''See [[Crafted  Spear|Spears]]''</small>
|attachment_type=Shovel
|attachment_type=Shovel
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
Line 31: Line 31:
The '''spear with machete''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Machete|machete]]. 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.
The '''spear with machete''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Machete|machete]]. 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==
==Crafting==
Spears with machete are upgraded with [[Crafted Spear|crafted spears]], [[Machete|machete]] and [[Duct Tape|duct tape]].
{{Crafting header|ing=3}}
{{Crafting header|ing=3}}
{{Crafting survivalist|113|ing=3}}
{{Crafting survivalist|113|ing=3}}
Line 37: Line 38:


==Code==
==Code==
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' (Outdated)
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' (Outdated)
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}

Revision as of 14:36, 6 January 2024

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
The Game WorldItemsToolsSpear with Machete
Spear with Machete
Spear with Machete
Spear with Machete
General
Category Weapon
Encumbrance
Heavy Load
1.5
Condition max. Default: 12
Crafted: See Spears
Skill Spear
Attachment Back
Damage
Type Spear
Attack speed 2
Range 0.98–1.55 tiles
Damage 1.3–2
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.SpearMachete

The spear with machete is a spear type weapon made from a crafted spear and a machete. 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.

Crafting

Spears with machete are upgraded with crafted spears, machete and duct tape.

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

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

See also