Spear with Machete: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Spears) |
(Bump version, update codebox, add see also) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | {{header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | ||
{{page version|41. | {{page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Spear with Machete | |name=Spear with Machete | ||
Line 34: | Line 34: | ||
|} | |} | ||
{{Clear}}<!--Remove when page gets longer--> | |||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
Line 39: | Line 40: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4928 | ||
| source = items_weapons.txt (Outdated) | | source = items_weapons.txt (Outdated) | ||
| retrieved = true | | retrieved = true | ||
Line 45: | Line 46: | ||
| incver = 55 | | incver = 55 | ||
| code = | | code = | ||
item SpearMachete | 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, | |||
} | |||
}} | }} | ||
}} | }} | ||
Line 96: | Line 99: | ||
*[[Fishing]] | *[[Fishing]] | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
[[Category:Fishing Tools]] | [[Category:Fishing Tools]] |
Revision as of 05:39, 15 February 2024
Crafted: See Spears
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 |
---|---|---|---|---|---|---|
Spear with Machete |
0 XP | none | Crafted Spear (consumed) |
Machete (consumed) |
Duct Tape (2 units) (consumed) |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt (Outdated)
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,
}