Machete: Difference between revisions

From PZwiki
(Created page with "{{languages}} {{Testing|build=Build 41}} {{header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=50}} {{Infobox weapon |display_name=Machete |name_colour=W...")
 
m (Distribution table fix)
 
(39 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blade weapons}}
{{Testing|build=[[Build 41]]}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=50}}
{{Infobox item
{{Infobox weapon
|name=Machete
|display_name=Machete
|model=Machete_Model.png
|name_colour=Weapon
|icon=Machete.png
|name_text_colour=Weapon
|icon_name=Machete
|image=Machete.png
|image_width=200px
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 13: 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 22: Line 21:
|max_damage=3
|max_damage=3
|push_back=0.3
|push_back=0.3
|knockdown=3
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=WoodAxe
|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===
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 [[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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_SurvivorBag
    | {{ll|Bag_SurvivorBag}}
    | 5.54%
    |-
    | Bag_ToolBag
    | {{ll|Bag_ToolBag}}
    | 0.42%
    |-
    | Bag_WeaponBag
    | {{ll|Bag_WeaponBag}}
    | 5.54%
    |-
    | Farmer
    | {{ll|crate}}
    | 1.65%
    |-
    | Farmer
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 1.65%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 15.1%
    |-
    | SurvivorCache1
    | {{ll|SurvivorCrate}}
    | 3.98%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 15.1%
    |-
    | SurvivorCache2
    | {{ll|SurvivorCrate}}
    | 3.98%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 15.1%
    |-
    | ToolsCache1
    | {{ll|ToolsBox}}
    | 3.98%
    |-
    | all
    | {{ll|toolcabinet}}
    | 1.65%
    |-
    | armysurplus
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | armysurplus
    | {{ll|shelves}}
    | 3.98%
    |-
    | closet
    | {{ll|crate}}
    | 1.65%
    |-
    | closet
    | {{ll|crate}}
    | 3.98%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 1.63%
    |-
    | construction
    | {{ll|crate}}
    | 1.65%
    |-
    | drugshack
    | {{ll|crate}}
    | 3.98%
    |-
    | factory
    | {{ll|crate}}
    | 1.65%
    |-
    | factory
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | farmstorage
    | {{ll|crate}}
    | 1.65%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | garagestorage
    | {{ll|counter}}
    | 1.65%
    |-
    | garagestorage
    | {{ll|crate}}
    | 1.65%
    |-
    | garagestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|locker}}
    | 1.65%
    |-
    | garagestorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | gardenstore
    | {{ll|shelves}}
    | 1.65%
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | generalstore
    | {{ll|shelves}}
    | 1.65%
    |-
    | generalstorestorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 1.65%
    |-
    | gigamart
    | {{ll|shelves}}
    | 1.65%
    |-
    | kitchen
    | {{ll|crate}}
    | 1.65%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 1.63%
    |-
    | loggingfactory
    | {{ll|crate}}
    | 1.65%
    |-
    | loggingfactory
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | pawnshop
    | {{ll|counter}}
    | 1.65%
    |-
    | pawnshop
    | {{ll|counter}}
    | 3.98%
    |-
    | pawnshop
    | {{ll|crate}}
    | 1.65%
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 6.29%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 1.65%
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 3.98%
    |-
    | pawnshopoffice
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 1.65%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 3.98%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | producestorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | shed
    | {{ll|crate}}
    | 1.65%
    |-
    | shed
    | {{ll|locker}}
    | 1.65%
    |-
    | shed
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | storageunit
    | {{ll|crate}}
    | 1.65%
    |-
    | storageunit
    | {{ll|crate}}
    | 3.98%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | toolstore
    | {{ll|counter}}
    | 1.65%
    |-
    | toolstore
    | {{ll|crate}}
    | 1.65%
    |-
    | toolstore
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | toolstore
    | {{ll|shelves}}
    | 1.65%
    |-
    | toolstorestorage
    | {{ll|crate}}
    | 1.65%
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 1.65%
    |-
    | warehouse
    | {{ll|crate}}
    | 1.65%
    |-
    | warehouse
    | {{ll|metal_shelves}}
    | 1.65%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Hunter
    | {{ll|Truck Bed}}
    | 3.98%
    |-
    | Survivalist
    | {{ll|Truck Bed}}
    | 1.01%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | HockeyPsycho
    | 0
    | 20
    |-
    | All
    | 20
    | 1
    |-
    | Bandit
    | 0
    | 20
    |}
</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 wood axe 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.
*Machetes can also be found inside of barricaded buildings.
*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===
===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=50}}
{{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,
         MinAngle = 0.7,
         MinAngle = 0.7,
         Type = Weapon,
         Type = Weapon,
SwingSound = MacheteSwing,
SwingSound = MacheteSwing,
         HitFloorSound = MacheteHit,
         HitFloorSound = MacheteHit,
ImpactSound = MacheteHit,
ImpactSound = MacheteHit,
         DoorHitSound = MacheteHit,
         DoorHitSound = MacheteHit,
HitSound = MacheteHit,
HitSound = MacheteHit,
         MinimumSwingTime = 4,
         MinimumSwingTime = 4,
         KnockBackOnNoDeath = FALSE,
         KnockBackOnNoDeath = FALSE,
Line 81: Line 450:
         SplatBloodOnNoDeath = FALSE,
         SplatBloodOnNoDeath = FALSE,
         Icon = Machete,
         Icon = Machete,
        BreakSound  =  BreakMetalItem,
         TreeDamage  =  10,
         TreeDamage  =  10,
         CriticalChance = 20,
         CriticalChance = 20,
Line 92: Line 460:
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         AttachmentType = BigBlade,
         AttachmentType = BigBlade,
         Tags = CutPlant,
         Tags = CutPlant;SharpKnife,
        DoorHitSound = MacheteHit,
</pre>
HitSound = MacheteHit,
HitFloorSound = MacheteHit,
        BreakSound  =  MacheteBreak,
SwingSound = MacheteSwing,
    }
}}
}}
 
==See also==
*[[Katana]]
 
{{Navbox items|blade}}
 
 
[[Category:Cooking tools]]
[[Category:Tools]]

Latest revision as of 19:27, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_SurvivorBag Bag_SurvivorBag 5.54%
Bag_ToolBag Bag_ToolBag 0.42%
Bag_WeaponBag Bag_WeaponBag 5.54%
Farmer crate 1.65%
Farmer metal_shelves 1.65%
SafehouseLoot counter 15.1%
SafehouseLoot crate 1.65%
SafehouseLoot crate 15.1%
SafehouseLoot metal_shelves 1.65%
SafehouseLoot metal_shelves 15.1%
SafehouseLoot wardrobe 15.1%
SurvivorCache1 SurvivorCrate 3.98%
SurvivorCache1 counter 15.1%
SurvivorCache2 SurvivorCrate 3.98%
SurvivorCache2 counter 15.1%
ToolsCache1 ToolsBox 3.98%
all toolcabinet 1.65%
armysurplus metal_shelves 3.98%
armysurplus shelves 3.98%
closet crate 1.65%
closet crate 3.98%
closet metal_shelves 1.63%
construction crate 1.65%
drugshack crate 3.98%
factory crate 1.65%
factory metal_shelves 1.65%
farmstorage crate 1.65%
farmstorage metal_shelves 1.65%
garagestorage counter 1.65%
garagestorage crate 1.65%
garagestorage crate 3.98%
garagestorage locker 1.65%
garagestorage metal_shelves 1.65%
gardenstore metal_shelves 1.65%
gardenstore shelves 1.65%
generalstore metal_shelves 1.65%
generalstore shelves 1.65%
generalstorestorage metal_shelves 1.65%
generalstorestorage shelves 1.65%
gigamart shelves 1.65%
kitchen crate 1.65%
livingroom wardrobe 1.63%
loggingfactory crate 1.65%
loggingfactory metal_shelves 1.65%
pawnshop counter 1.65%
pawnshop counter 3.98%
pawnshop crate 1.65%
pawnshop displaycase 6.29%
pawnshop metal_shelves 1.65%
pawnshop shelves 1.65%
pawnshopoffice crate 3.98%
pawnshopoffice metal_shelves 3.98%
pawnshopstorage crate 1.65%
pawnshopstorage crate 3.98%
pawnshopstorage metal_shelves 1.65%
pawnshopstorage metal_shelves 3.98%
producestorage metal_shelves 1.65%
shed crate 1.65%
shed locker 1.65%
shed metal_shelves 1.65%
storageunit crate 1.65%
storageunit crate 3.98%
storageunit metal_shelves 1.65%
toolstore counter 1.65%
toolstore crate 1.65%
toolstore metal_shelves 1.65%
toolstore shelves 1.65%
toolstorestorage crate 1.65%
toolstorestorage metal_shelves 1.65%
warehouse crate 1.65%
warehouse metal_shelves 1.65%
Vehicles
Type Container Effective chance
Hunter Trunk 3.98%
Survivalist Trunk 1.01%
Zombie
Outfit Days survived Chance
HockeyPsycho 0 20
All 20 1
Bandit 0 20

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