Pickaxe Handle

From PZwiki
Revision as of 05:52, 21 October 2021 by Keragom (talk | contribs) (Added the weapon code information from the project zomboid "items_weapons.txt")

Code

Item

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

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