Spear with Knife: Difference between revisions

From PZwiki
m (Added Recipie information)
m (Cleanup)
Line 1: Line 1:
{{Stub}}
{{Languages}}
{{languages}}
{{Header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Infobox weapon
{{Infobox weapon
|display_name=Spear with Knife
|display_name=Spear with Knife
Line 13: Line 12:
|category=Weapon
|category=Weapon
|weight=1.5
|weight=1.5
|condition_max=Default: 7 <br>Crafted: <small>''See [[Crafted Spear|Spears]]''</small>
|condition_max=Default: 7 <br>Crafted: <small>''See [[Crafted Spear|Spears]]''</small>
|attachment_type=Shovel
|attachment_type=Shovel
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
Line 29: Line 28:
|class_name=Base.SpearKnife
|class_name=Base.SpearKnife
}}
}}
The '''spear with knife''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Kitchen Knife|kitchen knife]]. Compared to other spear type weapons, the spear with knife is not very effective, but will serve in a pinch
The '''spear with knife''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Kitchen Knife|kitchen knife]]. Compared to other spear type weapons, the spear with knife is not very effective, but will serve in a pinch.


==Crafting==
==Crafting==
Spears with screwdriver are upgraded with [[Crafted Spear|crafted spears]], [[Kitchen Knife|kitchen knife]] and [[Duct Tape|duct tape]].
Spears with screwdriver are upgraded with [[Crafted Spear|crafted spear]], [[Kitchen Knife|kitchen knife]] and [[Duct Tape|duct tape]].
{{Crafting header|ing=3}}
{{Crafting header|ing=3}}
{{Crafting survivalist|111|ing=3}}
{{Crafting survivalist|111|ing=3}}
Line 87: Line 86:


{{Navbox weapons}}
{{Navbox weapons}}
[[Category:Weapons]]
[[Category:Melee weapons]]
[[Category:Fishing Tools]]

Revision as of 01:54, 7 January 2024

The Game WorldItemsToolsSpear with Knife
Spear with Knife
Spear with Knife
Spear with Knife
General
Category Weapon
Encumbrance
Heavy Load
1.5
Condition max. Default: 7
Crafted: See Spears
Skill Spear
Attachment Back
Damage
Type Spear
Attack speed 2
Range 0.98–1.45 tiles
Damage 1–1.6
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.SpearKnife

The spear with knife is a spear type weapon made from a crafted spear and a kitchen knife. Compared to other spear type weapons, the spear with knife is not very effective, but will serve in a pinch.

Crafting

Spears with screwdriver are upgraded with crafted spear, kitchen knife and duct tape.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
SpearKnife.png
Spear with Knife
0 XP none SpearStick.png
Crafted Spear
(consumed)
KnifeChopping.png
Kitchen Knife
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

    item SpearKnife
    {
        MaxRange	=	1.45,
        WeaponSprite	=	SpearKnife,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	4,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	7,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Knife,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearKnife,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.6,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearKnifeBreak,
        HitFloorSound	=	SpearKnifeHit,
        ImpactSound	=	SpearKnifeHit,
        DoorHitSound = SpearKnifeHit,
        HitSound	=	SpearKnifeHit,
        SwingSound	=	SpearKnifeSwing,
		AttachmentType = Shovel,
        Tags = FishingSpear,