Spear with Machete: Difference between revisions

From PZwiki
(→‎Code: Codebox Update)
m (Clear)
Line 98: Line 98:
*[[Fishing]]
*[[Fishing]]
*[[Crafted Spear]]
*[[Crafted Spear]]
 
{{Clear}}<!--Remove when page gets longer-->
{{Navbox weapons}}
{{Navbox weapons}}



Revision as of 21:37, 14 January 2024

Project ZomboidItemsToolsSpear 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

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

Source: ProjectZomboid\media\scripts\items_weapons.txt (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