Spear with Hunting Knife: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Stub}}{{Languages}}A {{PAGENAME}} is a [[Crafted Spear]] with a [[Hunting Knife]] attached onto it with [[Duct Tape]]. It is the 2nd best weapon in the Spear skill category, with the 2nd highest damage, the 2nd longest range, and the 2nd highest durability..
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}}
{{Page version|41.78.16}}
{{Infobox item
|name=Spear with Hunting Knife
|model=SpearHuntingKnife_Model.png
|icon=SpearHuntingKnife.png
|icon_name=Spear with Hunting Knife
<!--GENERAL-->
|category=Weapon
|weight=1.5
|condition_max=Default: 9 <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.48
|min_damage=1.2
|max_damage=1.7
|push_back=0.3
|knockdown=0
<!--TECHNICAL DETAILS-->
|ingredients=<!-- Omitted because there's many variations -->
|item_id=Base.SpearHuntingKnife
}}
The '''spear with hunting knife''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Hunting Knife|hunting knife]] it is slightly better than some other spear variants.


==Recipe==
==Crafting==
{{Crafting header|ing=3}}
Spears with hunting knife are upgraded with [[Crafted Spear|crafted spears]], [[Hunting Knife|hunting knife]] and [[Duct Tape|duct tape]].
{{Crafting survivalist|112|ing=3}}
{{Crafting/sandbox2
|}
|spear_with_hunting_knife
}}


==Code==
==Code==
 
{{CodeBox
===Item===
| {{CodeSnip
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
  | lang = java
{{Retrieved|version=41|incver=55}}
  | line = true
<pre>
  | start = 4881
    item SpearHuntingKnife
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SpearHuntingKnife
     {
     {
        DisplayCategory = WeaponCrafted,
         MaxRange = 1.48,
         MaxRange = 1.48,
         WeaponSprite = SpearHuntingKnife,
         WeaponSprite = SpearHuntingKnife,
Line 23: Line 55:
         Categories = Improvised;Spear,
         Categories = Improvised;Spear,
         ConditionLowerChanceOneIn = 8,
         ConditionLowerChanceOneIn = 8,
         Weight = 1.5,
         Weight = 2.2,
         SplatNumber = 1,
         SplatNumber = 1,
         PushBackMod = 0.3,
         PushBackMod = 0.3,
Line 53: Line 85:
         HitSound = SpearHuntingKnifeHit,
         HitSound = SpearHuntingKnifeHit,
         SwingSound = SpearHuntingKnifeSwing,
         SwingSound = SpearHuntingKnifeSwing,
AttachmentType = Shovel,
        SoundMap = SpearStab SpearHuntingKnifeStab,
        AttachmentType = Shovel,
         Tags = FishingSpear,
         Tags = FishingSpear,
        {
    }
</pre>
}}
}}
 
==See also==
*[[Fishing]]
*[[Crafted Spear]]
 
{{Navbox items|spears}}
 


{{Navbox weapons}}
[[Category:Fishing tools]]
[[Category:Tools]]

Revision as of 12:16, 14 April 2024

Project ZomboidItemsWeaponsMelee weaponsSpearsSpear with Hunting Knife
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Spear with Hunting Knife
SpearHuntingKnife Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Slot attached
Back
Properties
Max condition
Default: 9
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 Ingredients Tools Requirements Workstation XP
SpearHuntingKnife.png
Spear with Hunting Knife
SpearStick.png Crafted Spear ×1
HuntingKnife.png Hunting Knife ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none

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 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,
    }

See also