Spear with Hunting Knife

From PZwiki
Revision as of 05:51, 21 October 2021 by Keragom (talk | contribs) (Added the weapon code information from the project zomboid "items_weapons.txt")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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