Machete: Difference between revisions

From PZwiki
m (Distribution table update)
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blade weapons}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=53}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Machete
|name=Machete
|name_colour=Weapon
|model=Machete_Model.png
|name_text_colour=Weapon
|icon=Machete.png
|image=Machete_Model.png
|icon_name=Machete
|image_width=200px
|alternate_image=Machete.png
|alternate_name=Machete
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 15: Line 11:
|equipped=One-handed
|equipped=One-handed
|condition_max=13
|condition_max=13
<!--CHARACTERISTICS-->
|skill_type=Long Blade
|attachment_type=BigBlade
<!--DAMAGE-->
<!--DAMAGE-->
|type=Long Blade
|type=Slash
|swing_time=4
|base_speed=1
|min_range=0.61
|min_range=0.61
|max_range=1.23
|max_range=1.23
Line 26: Line 23:
|knockdown=2
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Machete
|item_id=Base.Machete
}}
}}
A '''machete''' is a one-handed long blade weapon. The weapon can be attached to the character's back for quick access and weight reduction.
A '''machete''' is a one-handed long blade [[Weapons|weapon]].
== Usage ==
 
==Usage==
{{pros-cons
{{pros-cons
<!-- #PROS# - below this line -->
<!-- #PROS# - below this line -->
|pros1 = Faster swing speed than most melee weapons(same speed as the [[Hand Axe]])
|pros1 = Deals more damage than most melee weapons.
|pros2 = Deals more damage than most melee weapons.
|pros2 = Good durability.
|pros3 = Good durability.
|pros3 = Longer range than most one-handed melee weapons.
|pros4 = Longer range than most one-handed melee weapons.
<!-- #CONS# - below this line -->
<!-- #CONS# - below this line -->
|cons1 = Hard to level up long blade skill due to the machete and [[Katana]] being the only long blade weapons.
|cons1 = Hard to level up long blade skill due to the machete and [[Katana]] being the only long blade weapons.
|cons2 = Quite difficult to find.
|cons2 = Quite difficult to find.
}}
}}
===Tool-usage===
===Tool-usage===
Can be used to remove bushes.
Can be used to remove bushes.
===Multi-hit===
 
In modes with multi-hit enabled, machetes can hit a maximum of two targets in one swing.
===Weapon===
The machete can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 3 damage to enemies (unless a critical hit) from up to 1.23 tiles away at an attack speed of 1.
 
The weapon can be attached to the character's back for quick access and weight reduction.
 
==Condition==
The machete has a maximum condition of 13. Its rate of degradation is influenced by the [[Skills|long blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (25 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the long blade and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blade]] skills.
{{Durability weapon|25}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Machete|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Machete distribution
        <span class="mw-customtoggle-togglebox-Machete" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Machete">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | all
    | {{ll|Bag_SurvivorBag}}
    | 2
    | 4.0
    |-
    | all
    | {{ll|Bag_ToolBag}}
    | 1
    | 0.01
    |-
    | all
    | {{ll|SurvivorCrate}}
    | 4
    | 1.0
    |-
    | all
    | {{ll|toolcabinet}}
    | 4
    | 0.01
    |-
    | armysurplus
    | {{ll|metal_shelves}}
    | 4
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 0.01
    |-
    | closet
    | {{ll|metal_shelves}}
    | 4
    | 0.001
    |-
    | drugshack
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 0.01
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 4
    | 0.01
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 4
    | 0.01
    |-
    | pawnshop
    | {{ll|counter}}
    | 4
    | 0.01
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 4
    | 2.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 0.01
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | HunterTruckBed
    | 4
    | 1
    |-
    | SurvivalistTruckBed
    | 1
    | 1
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Machete" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Machete|41.78.16-->
===Buildings===
===Buildings===
*The best method of finding a machete is looting hardware stores. The [[West Point]] and [[Riverside]] shopping district each have a hardware store.
*The best method of finding a machete is looting hardware stores. The [[West Point]] and [[Riverside]] shopping district each have a hardware store.
*Pawn shops and military surplus stores have a high chance of spawning machetes. Both can be found in [[Louisville]].
*Pawn shops and military surplus stores have a high chance of spawning machetes. Both can be found in [[Louisville]].
*Machetes can also be found inside of barricaded buildings.
*Machetes can spawn in metal shelves in warehouses.
*Machetes can also be found inside barricaded buildings.


===Zombies===
===Zombies===
*After 20 days survived, a machete can be rarely found impaled in some [[zombie]]s.
*After 20 days survived, a machete can be rarely found impaled in some [[zombie]]s.
*Can be found impaled in a rare [[zombie]] dressed as the Friday the Thirteenth antagonist [https://en.wikipedia.org/wiki/Jason_Voorhees Jason Voorhees]; regardless of days survived.


==Gallery==
==Gallery==
<gallery>
<gallery>
File:HoldingMachete.jpg|Survivor wielding the machete.
File:HoldingMachete.jpg|Survivor wielding the machete
</gallery>
</gallery>
== Code ==
 
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
==Code==
{{Retrieved|version=41|incver=56}}
{{CodeBox
<pre>    item Machete
| {{CodeSnip
  | lang = java
  | line = true
  | start = 354
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Machete
     {
     {
        DisplayCategory = Weapon,
         MaxRange = 1.23,
         MaxRange = 1.23,
         WeaponSprite = Machete,
         WeaponSprite = Machete,
Line 101: Line 235:
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         AttachmentType = BigBlade,
         AttachmentType = BigBlade,
         Tags = CutPlant,
         Tags = CutPlant;SharpKnife,
         DoorHitSound = MacheteHit,
         DoorHitSound = MacheteHit,
HitSound = MacheteHit,
HitSound = MacheteHit,
Line 107: Line 241:
         BreakSound  =  MacheteBreak,
         BreakSound  =  MacheteBreak,
SwingSound = MacheteSwing,
SwingSound = MacheteSwing,
     }</pre>
     }
}}
}}


==See also==
==See also==
*[[Katana]]
*[[Katana]]


{{Navbox_weapons}}
{{Navbox items|blade}}
 
 
[[Category:Cooking tools]]
[[Category:Tools]]

Revision as of 16:00, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Machete
Machete Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
2
Equipped
One-handed
Slot attached
Back
Skill
Properties
Max condition
13
Performance
Damage
2–3
Range
0.61–1.23
Attack speed
1
Knockback
0.3
Knockdown
2
Technical
Item ID
Base.Machete

A machete is a one-handed long blade weapon.

Usage

Pros Cons
  • Deals more damage than most melee weapons.
  • Good durability.
  • Longer range than most one-handed melee weapons.
  • Hard to level up long blade skill due to the machete and Katana being the only long blade weapons.
  • Quite difficult to find.

Tool-usage

Can be used to remove bushes.

Weapon

The machete can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 3 damage to enemies (unless a critical hit) from up to 1.23 tiles away at an attack speed of 1.

The weapon can be attached to the character's back for quick access and weight reduction.

Condition

The machete has a maximum condition of 13. Its rate of degradation is influenced by the long blade and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (25 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blade and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blade skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/25 (4%)
0 4 1/27 (4%)
0 8 1/29 (3%)
4 0 1/29 (3%)
8 0 1/33 (3%)
4 4 1/31 (3%)
4 8 1/33 (3%)
8 8 1/37 (3%)
10 10 1/39 (3%)

Distribution

The loot distributions can be found in the table(s) below.

Machete distribution Show / Hide
Containers
Building / Room Container Rolls Chance
SafehouseLoot counter 4 6.0
all Bag_SurvivorBag 2 4.0
all Bag_ToolBag 1 0.01
all SurvivorCrate 4 1.0
all toolcabinet 4 0.01
armysurplus metal_shelves 4 1.0
closet crate 4 1.0
closet crate 4 0.01
closet metal_shelves 4 0.001
drugshack crate 4 1.0
garagestorage counter 4 0.01
gardenstore metal_shelves 4 0.01
generalstore metal_shelves 4 0.01
pawnshop counter 4 0.01
pawnshop displaycase 4 2.0
toolstorestorage metal_shelves 4 0.01
Vehicles
Vehicle Type/Location Rolls Chance
HunterTruckBed 4 1
SurvivalistTruckBed 1 1

Buildings

  • The best method of finding a machete is looting hardware stores. The West Point and Riverside shopping district each have a hardware store.
  • Pawn shops and military surplus stores have a high chance of spawning machetes. Both can be found in Louisville.
  • Machetes can spawn in metal shelves in warehouses.
  • Machetes can also be found inside barricaded buildings.

Zombies

  • After 20 days survived, a machete can be rarely found impaled in some zombies.
  • Can be found impaled in a rare zombie dressed as the Friday the Thirteenth antagonist Jason Voorhees; regardless of days survived.

Gallery

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 Machete
    {
        DisplayCategory = Weapon,
        MaxRange	=	1.23,
        WeaponSprite	=	Machete,
        MinAngle	=	0.7,
        Type	=	Weapon,
		SwingSound = MacheteSwing,
        HitFloorSound	=	MacheteHit,
		ImpactSound	=	MacheteHit,
        DoorHitSound = MacheteHit,
		HitSound	=	MacheteHit,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	LongBlade,
        ConditionLowerChanceOneIn	=	25,
        Weight	=	2,
        SplatNumber	=	2,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	13,
        MaxHitCount	=	2,
        DoorDamage	=	10,
        SwingAnim	=	Bat,
        DisplayName	=	Machete,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Machete,
        TreeDamage  =   10,
        CriticalChance	=	20,
        CritDmgMultiplier = 5,
        MinDamage	=	2,
        MaxDamage	=	3,
        BaseSpeed = 1,
        WeaponLength = 0.3,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = BigBlade,
        Tags = CutPlant;SharpKnife,
        DoorHitSound = MacheteHit,
		HitSound = MacheteHit,
		HitFloorSound = MacheteHit,
        BreakSound  =   MacheteBreak,
		SwingSound = MacheteSwing,
     }

See also