Spear with Machete: Difference between revisions

From PZwiki
(Added basic information and image)
m (Automated Formatting)
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Stub}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}}
{{languages}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Infobox item
{{Infobox weapon
|name=Spear with Machete
|display_name=Spear with Fork
|model=SpearMachete_Model.png
|name_colour=Weapon
|icon=SpearMachete.png
|name_text_colour=Weapon
|icon_name=Spear with Machete
|image=SpearMachete Model.png
|image_width=200px
|alternate_image=SpearMachete.png
|alternate_name=Spear with Machete
<!--GENERAL-->
<!--GENERAL-->
|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 27: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|ingredients=<!-- Omitted because there's many variations -->
|ingredients=<!-- Omitted because there's many variations -->
|class_name=Base.SpearMachete
|item_id=Base.SpearMachete
}}
}}
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==
{{Crafting header|ing=3}}
Spears with machete are upgraded with [[Crafted Spear|crafted spears]], [[machete]], and [[Duct Tape|duct tape]].
{{Crafting survivalist|113|ing=3}}
{{Crafting/sandbox2
|}
|spear_with_machete
}}


==Code==
==Code==
 
{{CodeBox
===Item===
| {{CodeSnip
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' (Outdated)
  | lang = java
{{Retrieved|version=41|incver=55}}
  | line = true
<pre>
  | start = 4928
    item SpearMachete
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SpearMachete
     {
     {
        DisplayCategory = WeaponCrafted,
         MaxRange = 1.55,
         MaxRange = 1.55,
         WeaponSprite = SpearMachete,
         WeaponSprite = SpearMachete,
Line 53: Line 55:
         Categories = Improvised;Spear,
         Categories = Improvised;Spear,
         ConditionLowerChanceOneIn = 10,
         ConditionLowerChanceOneIn = 10,
         Weight = 1.5,
         Weight = 3.7,
         SplatNumber = 1,
         SplatNumber = 1,
         PushBackMod = 0.3,
         PushBackMod = 0.3,
Line 84: Line 86:
         HitSound = SpearMacheteHit,
         HitSound = SpearMacheteHit,
         SwingSound = SpearMacheteSwing,
         SwingSound = SpearMacheteSwing,
        SoundMap = SpearStab SpearMacheteStab,
AttachmentType = Shovel,
AttachmentType = Shovel,
         Tags = FishingSpear,
         Tags = FishingSpear,
        {
    }
</pre>
}}
}}


==See also==
==See also==
Line 93: Line 97:
*[[Crafted Spear]]
*[[Crafted Spear]]


[[Category:Weapons]]
{{Navbox items|spears}}
[[Category:Melee weapons]]
 
[[Category:Fishing Tools]]
 
[[Category:Fishing tools]]
[[Category:Tools]]

Revision as of 12:17, 14 April 2024

Project ZomboidItemsWeaponsMelee weaponsSpearsSpear with Machete
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Spear with Machete
SpearMachete Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Slot attached
Back
Properties
Max condition
Default: 12
Crafted: See Spears
Performance
Damage
1.3–2
Range
0.98–1.55
Knockback
0.3
Knockdown
0
Technical
Item 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 Ingredients Tools Requirements Workstation XP
SpearMachete.png
Spear with Machete
SpearStick.png Crafted Spear ×1
Machete.png Machete ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none

Code

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

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item SpearMachete
    {
        DisplayCategory = WeaponCrafted,
        MaxRange	=	1.55,
        WeaponSprite	=	SpearMachete,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	10,
        Weight	=	3.7,
        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,
        SoundMap = SpearStab SpearMacheteStab,
		AttachmentType = Shovel,
        Tags = FishingSpear,
    }

See also