Spear with Machete: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Simplified redundant links) |
||
(27 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | ||
=== | {{Page version|41.78.16}} | ||
''''' | {{Infobox item | ||
{{ | |name=Spear with Machete | ||
|model=SpearMachete_Model.png | |||
|icon=SpearMachete.png | |||
|icon_name=Spear with Machete | |||
<!--GENERAL--> | |||
|category=Weapon | |||
|weight=1.5 | |||
|condition_max=Default: 12 <br>Crafted: <small>''See [[Crafted Spear|Spears]]''</small> | |||
|attachment_type=Shovel | |||
<!--CHARACTERISTICS--> | |||
<!--DAMAGE--> | |||
|type=Spear | |||
|swing_time=2 | |||
|min_range=0.98 | |||
|max_range=1.55 | |||
|min_damage=1.3 | |||
|max_damage=2 | |||
|push_back=0.3 | |||
|knockdown=0 | |||
<!--TECHNICAL DETAILS--> | |||
|ingredients=<!-- Omitted because there's many variations --> | |||
|item_id=Base.SpearMachete | |||
}} | |||
The '''spear with machete''' is a spear type weapon made from a [[Crafted Spear|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 Spear|crafted spears]], [[machete]], and [[Duct Tape|duct tape]]. | |||
{{Crafting/sandbox2 | |||
|spear_with_machete | |||
}} | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4928 | |||
| 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 15: | Line 55: | ||
Categories = Improvised;Spear, | Categories = Improvised;Spear, | ||
ConditionLowerChanceOneIn = 10, | ConditionLowerChanceOneIn = 10, | ||
Weight = | Weight = 3.7, | ||
SplatNumber = 1, | SplatNumber = 1, | ||
PushBackMod = 0.3, | PushBackMod = 0.3, | ||
Line 46: | Line 86: | ||
HitSound = SpearMacheteHit, | HitSound = SpearMacheteHit, | ||
SwingSound = SpearMacheteSwing, | SwingSound = SpearMacheteSwing, | ||
SoundMap = SpearStab SpearMacheteStab, | |||
AttachmentType = Shovel, | AttachmentType = Shovel, | ||
Tags = FishingSpear, | Tags = FishingSpear, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Fishing]] | |||
*[[Crafted Spear]] | |||
{{Navbox items|spears}} | |||
[[Category:Fishing tools]] | |||
[[Category:Tools]] |
Latest revision as of 12:01, 25 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Spear with Machete |
Crafted Spear ×1 Machete ×1 Duct Tape ×2 unit(s) |
none | none | none | none |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}