Spear with Hunting Knife: Difference between revisions

From PZwiki
(→‎Code: added recipe)
No edit summary
Line 1: Line 1:
{{Stub}}{{Languages}}
==Code==
{{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..
{{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..


Line 8: Line 5:
{{Crafting survivalist|112|ing=3}}
{{Crafting survivalist|112|ing=3}}
|}
|}
==Code==
===Item===
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''

Revision as of 23:56, 10 June 2023

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

A Spear with Hunting Knife 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..

Recipe

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

Code

Item

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

    item SpearHuntingKnife
    {
        MaxRange	=	1.48,
        WeaponSprite	=	SpearHuntingKnife,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	8,
        Weight	=	1.5,
        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,
		AttachmentType = Shovel,
        Tags = FishingSpear,
         {