Spear with Hand Fork

From PZwiki
Revision as of 14:30, 6 January 2024 by Calvy (talk | contribs) (Added basic information and image)
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
The Game WorldItemsToolsSpear with Hand Fork

Template:Infobox weapon The spear with hand fork is a spear type weapon made from a crafted spear and a hand fork compared to other spear type weapons, the spear with letter opener is not very effective, but will serve in a pinch


Code

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

    item SpearHandFork
    {
        MaxRange	=	1.45,
        WeaponSprite	=	SpearHandFork,
        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	=	6,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Hand Fork,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearGardeningFork,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1.1,
        MaxDamage	=	1.6,
        BaseSpeed = 0.95,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearHandForkBreak,
        HitFloorSound	=	SpearHandForkHit,
        ImpactSound	=	SpearHandForkHit,
        DoorHitSound = SpearHandForkHit,
        HitSound	=	SpearHandForkHit,
        SwingSound	=	SpearHandForkSwing,
		AttachmentType = Shovel,
        Tags = FishingSpear,
         {