Spiked Pickaxe Handle: Difference between revisions

From PZwiki
m (→‎top: Category update: "Melee weapons")
(updated condition & added CodeBox & see also)
Line 2: Line 2:
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}}
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}}
{{Infobox weapon
{{Infobox weapon
|display_name=Spiked PickAxe Handle
|display_name=Spiked Pickaxe Handle
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
Line 16: Line 16:
<!--DAMAGE-->
<!--DAMAGE-->
|type=Blunt
|type=Blunt
|swing_time=4
|base_speed=1
|min_range=0.61
|min_range=0.61
|max_range=1.1
|max_range=1.1
Line 24: Line 24:
|knockdown=2
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=PickAxeHandleSpiked
|class_name=Base.PickAxeHandleSpiked
}}
}}
 
A '''spiked pickaxe handle''' is an improvised short blunt [[Weapons|weapon]].


==Usage==
==Usage==
Line 43: Line 43:


==Condition==
==Condition==
The spiked pickaxe handle is a [[Skills#Combat|short blunt]] weapon, therefore being influenced by the blunt skills: accuracy, guard, and maintenance. It has a maximum condition of 4 and will be damaged depending on the [[Player|player's]] maintenance skill. The chance of losing durability is: <code>1 in (2 + maintenance x 2)</code>
The ice hockey stick has a maximum condition of 4. Its rate of degradation is influenced by the [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (2 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills.
{{Durability weapon|2}}


==Distribution==
==Distribution==
Line 49: Line 51:


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item PickAxeHandleSpiked
  | line = true
DisplayCategory = WeaponCrafted,
  | start = 2089
MaxRange = 1.1,
  | source = weapons.txt
WeaponSprite = PickAxeHandleSpiked,
  | retrieved = true
MinAngle = 0.65,
  | version = 41
Type = Weapon,
  | incver = 78.16
MinimumSwingTime = 4,
  | code =
KnockBackOnNoDeath = FALSE,
    item PickAxeHandleSpiked
SwingAmountBeforeImpact = 0.02,
    {
Categories = Improvised;SmallBlunt,
        DisplayCategory = WeaponCrafted,
ConditionLowerChanceOneIn = 2,
        MaxRange = 1.1,
Weight = 3,
        WeaponSprite = PickAxeHandleSpiked,
SplatNumber = 1,
        MinAngle = 0.65,
PushBackMod = 0.3,
        Type = Weapon,
SubCategory = Swinging,
        MinimumSwingTime = 4,
ConditionMax = 4,
        KnockBackOnNoDeath = FALSE,
MaxHitCount = 2,
        SwingAmountBeforeImpact = 0.02,
DoorDamage = 5,
        Categories = Improvised;SmallBlunt,
IdleAnim = Idle_Weapon2,
        ConditionLowerChanceOneIn = 2,
SwingAnim = Bat,
        Weight = 3,
DisplayName = Spiked PickAxe Handle,
        SplatNumber = 1,
MinRange = 0.61,
        PushBackMod = 0.3,
SwingTime = 4,
        SubCategory = Swinging,
KnockdownMod = 2,
        ConditionMax = 4,
SplatBloodOnNoDeath = FALSE,
        MaxHitCount = 2,
Icon = Pickaxe_Nails,
        DoorDamage = 5,
RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
TwoHandWeapon = TRUE,
        SwingAnim = Bat,
BreakSound = SpikedPickAxeHandleBreak,
        DisplayName = Spiked PickAxe Handle,
DoorHitSound = SpikedPickAxeHandleHit,
        MinRange = 0.61,
HitSound = SpikedPickAxeHandleHit,
        SwingTime = 4,
HitFloorSound = SpikedPickAxeHandleHit,
        KnockdownMod = 2,
SwingSound = SpikedPickAxeHandleSwing,
        SplatBloodOnNoDeath = FALSE,
TreeDamage = 0,
        Icon = Pickaxe_Nails,
CriticalChance = 10,
        RunAnim = Run_Weapon2,
CritDmgMultiplier = 5,
        TwoHandWeapon = TRUE,
MinDamage = 0.7,
        BreakSound =   SpikedPickAxeHandleBreak,
MaxDamage = 1,
        DoorHitSound = SpikedPickAxeHandleHit,
BaseSpeed = 1,
HitSound = SpikedPickAxeHandleHit,
DamageCategory = Slash,
HitFloorSound = SpikedPickAxeHandleHit,
DamageMakeHole = TRUE,
SwingSound = SpikedPickAxeHandleSwing,
        TreeDamage =   0,
        CriticalChance = 10,
        CritDmgMultiplier = 5,
        MinDamage = 0.7,
        MaxDamage = 1,
        BaseSpeed = 1,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
    }
}}
}}


</pre>
==See also==
*[[Pickaxe]]
*[[Pickaxe Handle]]
*[[Spiked Baseball Bat]]
*[[Table Leg]]


{{Navbox weapons}}
{{Navbox weapons}}

Revision as of 05:18, 29 December 2023

The Game WorldItemsWeaponsMelee weaponsSpiked Pickaxe Handle
Spiked Pickaxe Handle
Spiked Pickaxe Handle
Spiked Pickaxe Handle
General
Category Weapon
Encumbrance
Heavy Load
3
Equipped Two-handed
Condition max. 4
Skill Long Blunt
Damage
Type Blunt
Attack speed 1
Range 0.61–1.1 tiles
Damage 0.7–1
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.PickAxeHandleSpiked

A spiked pickaxe handle is an improvised short blunt weapon.

Usage

Pros Cons
  • Can hit up to 2 enemies with multi-hit enabled.
  • Hard to acquire.
  • Low damage.
  • Short range.
  • Weak durability.
  • Cannot be repaired.

Breaking Doors

The spiked pickaxe handle is poor at breaking doors, dealing only 5 damage per hit, as well as the low durability and high condition lower chance means that it is likely to break before destroying a door. For comparison, an axe deals 35 damage, while dealing minimal damage to the axe itself.

Condition

The ice hockey stick has a maximum condition of 4. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (2 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/2 (50%)
0 4 1/4 (25%)
0 8 1/6 (17%)
4 0 1/6 (17%)
8 0 1/10 (10%)
4 4 1/8 (13%)
4 8 1/10 (10%)
8 8 1/14 (7%)
10 10 1/16 (6%)

Distribution

The spiked pickaxe handle can currently only be acquired through foraging, in the rare portion of the junk weapons category.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\weapons.txt

Retrieved: Build 41.78.16
item PickAxeHandleSpiked
    {
        DisplayCategory = WeaponCrafted,
        MaxRange	=	1.1,
        WeaponSprite	=	PickAxeHandleSpiked,
        MinAngle	=	0.65,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;SmallBlunt,
        ConditionLowerChanceOneIn	=	2,
        Weight	=	3,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	4,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        IdleAnim	=	Idle_Weapon2,
        SwingAnim	=	Bat,
        DisplayName	=	Spiked PickAxe Handle,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Pickaxe_Nails,
        RunAnim	=	Run_Weapon2,
        TwoHandWeapon = TRUE,
        BreakSound  =   SpikedPickAxeHandleBreak,
        DoorHitSound = SpikedPickAxeHandleHit,
		HitSound = SpikedPickAxeHandleHit,
		HitFloorSound = SpikedPickAxeHandleHit,
		SwingSound = SpikedPickAxeHandleSwing,
        TreeDamage  =   0,
        CriticalChance	=	10,
        CritDmgMultiplier = 5,
        MinDamage	=	0.7,
        MaxDamage	=	1,
        BaseSpeed = 1,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
    }

See also