Difference between revisions of "Pick Axe Handle"

From PZwiki
Jump to: navigation, search
m (Item)
(Added the weapon code information from the project zomboid "items_weapons.txt")
Line 4: Line 4:
 
{{Retrieved|version=41|incver=55}}
 
{{Retrieved|version=41|incver=55}}
 
  <nowiki>
 
  <nowiki>
     item PickAxeHandle
+
     item SpearIcePick
         MaxRange = 1.05,
+
    {
         WeaponSprite = PickAxeHandle,
+
         MaxRange = 1.42,
         MinAngle = 0.65,
+
         WeaponSprite = SpearIcePick,
 +
         MinAngle = 0.8,
 
         Type = Weapon,
 
         Type = Weapon,
         MinimumSwingTime = 4,
+
         MinimumSwingTime = 2,
 
         KnockBackOnNoDeath = FALSE,
 
         KnockBackOnNoDeath = FALSE,
 
         SwingAmountBeforeImpact = 0.02,
 
         SwingAmountBeforeImpact = 0.02,
         Categories = Improvised;SmallBlunt,
+
         Categories = Improvised;Spear,
 
         ConditionLowerChanceOneIn = 3,
 
         ConditionLowerChanceOneIn = 3,
         Weight = 3,
+
         Weight = 1.5,
 
         SplatNumber = 1,
 
         SplatNumber = 1,
 
         PushBackMod = 0.3,
 
         PushBackMod = 0.3,
         SubCategory = Swinging,
+
         SubCategory = Spear,
         ConditionMax = 4,
+
         ConditionMax = 6,
 
         MaxHitCount = 2,
 
         MaxHitCount = 2,
 
         DoorDamage = 5,
 
         DoorDamage = 5,
         SwingAnim = Bat,
+
         SwingAnim = Spear,
         DisplayName = PickAxe Handle,
+
         DisplayName = Spear With Ice Pick,
         MinRange = 0.61,
+
         MinRange = 0.98,
         SwingTime = 4,
+
         SwingTime = 2,
         KnockdownMod = 2,
+
         KnockdownMod = 0,
 
         SplatBloodOnNoDeath = FALSE,
 
         SplatBloodOnNoDeath = FALSE,
         Icon = Pickaxe_Handle,
+
         Icon = SpearIcePick,
         BreakSound  =   PickAxeHandleBreak,
+
         RunAnim = Run_Weapon2,
         DoorHitSound = PickAxeHandleHit,
+
         IdleAnim = Idle_Weapon2,
HitSound = PickAxeHandleHit,
 
HitFloorSound = PickAxeHandleHit,
 
SwingSound = PickAxeHandleSwing,
 
 
         TreeDamage  =  0,
 
         TreeDamage  =  0,
         CriticalChance = 10,
+
        TwoHandWeapon = TRUE,
         CritDmgMultiplier = 2,
+
         CriticalChance = 30,
         MinDamage = 0.4,
+
         CritDmgMultiplier = 10,
         MaxDamage = 0.8,
+
         MinDamage = 1,
         BaseSpeed = 1.1,
+
         MaxDamage = 1.6,
 +
        DamageCategory = Slash,
 +
        DamageMakeHole = TRUE,
 +
        BreakSound  =  SpearIcePickBreak,
 +
         HitFloorSound = SpearIcePickHit,
 +
        ImpactSound = SpearIcePickHit,
 +
        DoorHitSound = SpearIcePickHit,
 +
        HitSound = SpearIcePickHit,
 +
        SwingSound = SpearIcePickSwing,
 +
AttachmentType = Shovel,
 +
        Tags = FishingSpear,
 
         {</nowiki>
 
         {</nowiki>

Revision as of 06:52, 21 October 2021

Code

Item

From items_weapons.txt (Project Zomboid directory/media/scripts/)

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