Spear with Hunting Knife: 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 Hunting Knife | |name=Spear with Hunting Knife | ||
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 = 4881 | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item SpearHuntingKnife | item SpearHuntingKnife | ||
{ | { | ||
DisplayCategory = WeaponCrafted, | |||
MaxRange = 1.48, | |||
WeaponSprite = SpearHuntingKnife, | |||
MinAngle = 0.8, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Spear, | |||
ConditionLowerChanceOneIn = 8, | |||
Weight = 2.2, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Spear, | |||
ConditionMax = 9, | |||
MaxHitCount = 2, | |||
DoorDamage = 7, | |||
SwingAnim = Spear, | |||
DisplayName = Spear With Hunting Knife, | |||
MinRange = 0.98, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = SpearHuntingKnife, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TreeDamage = 0, | |||
TwoHandWeapon = TRUE, | |||
CriticalChance = 30, | |||
CritDmgMultiplier = 10, | |||
MinDamage = 1.2, | |||
MaxDamage = 1.7, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
BreakSound = SpearHuntingKnifeBreak, | |||
HitFloorSound = SpearHuntingKnifeHit, | |||
ImpactSound = SpearHuntingKnifeHit, | |||
DoorHitSound = SpearHuntingKnifeHit, | |||
HitSound = SpearHuntingKnifeHit, | |||
SwingSound = SpearHuntingKnifeSwing, | |||
SoundMap = SpearStab SpearHuntingKnifeStab, | |||
} | AttachmentType = Shovel, | ||
Tags = FishingSpear, | |||
} | |||
}} | }} | ||
}} | }} | ||
Line 95: | Line 97: | ||
*[[Fishing]] | *[[Fishing]] | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
[[Category:Fishing Tools]] | [[Category:Fishing Tools]] |
Revision as of 05:36, 15 February 2024
Spear with Hunting Knife
Properties
Max condition
Default: 9
Crafted: See Spears
Crafted: See Spears
Performance
Damage
1.2–1.7
Range
0.98–1.48
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearHuntingKnife
The spear with hunting knife is a spear type weapon made from a crafted spear and a hunting knife it is slightly better than some other spear variants.
Crafting
Spears with hunting knife are upgraded with crafted spears, hunting knife and duct tape.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Hunting Knife |
0 XP | none | Crafted Spear (consumed) |
Hunting Knife (consumed) |
Duct Tape (2 units) (consumed) |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SpearHuntingKnife
{
DisplayCategory = WeaponCrafted,
MaxRange = 1.48,
WeaponSprite = SpearHuntingKnife,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 8,
Weight = 2.2,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Spear,
ConditionMax = 9,
MaxHitCount = 2,
DoorDamage = 7,
SwingAnim = Spear,
DisplayName = Spear With Hunting Knife,
MinRange = 0.98,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = SpearHuntingKnife,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 1.2,
MaxDamage = 1.7,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = SpearHuntingKnifeBreak,
HitFloorSound = SpearHuntingKnifeHit,
ImpactSound = SpearHuntingKnifeHit,
DoorHitSound = SpearHuntingKnifeHit,
HitSound = SpearHuntingKnifeHit,
SwingSound = SpearHuntingKnifeSwing,
SoundMap = SpearStab SpearHuntingKnifeStab,
AttachmentType = Shovel,
Tags = FishingSpear,
}