Pickaxe Handle: Difference between revisions

From PZwiki
m (Minor cleanup)
(Fleshed out page to include more details about the weapon, rather than only being code)
Line 1: Line 1:
{{Stub}}{{Languages}}
{{languages}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=78.16}}
{{Infobox weapon
|display_name=Pickaxe Handle
|name_colour=Weapon
|name_text_colour=Weapon
|image=PickaxeHandle_Model.png
|image_width=200px
|alternate_image=Pickaxe_Handle.png
|alternate_namePickaxe Handle
<!--GENERAL-->
|category=Weapon
|weight=3
|equipped=Two-handed
|condition_max=4
<!--DAMAGE-->
|type=Blunt
|swing_time=4
|min_range=0.61
|max_range=1.05
|min_damage=0.4
|max_damage=0.8
|push_back=0.3
|knockdown=2
<!--TECHNICAL DETAILS-->
|class_name=PickAxeHandle
}}
 
==Usage==
{{pros-cons
<!-- #PROS# - below this line -->
|pros1 = Can hit up to 2 enemies with multi-hit enabled.
<!-- #CONS# - below this line -->
|cons1 = Hard to acquire.
|cons2 = Low damage.
|cons3 = Short range.
|cons4 = Weak durability.
|cons5 = Cannot be repaired.
}}
===Breaking Doors===
The 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 after breaking 1 door it will likely have lost almost all of its durability. For comparison, an [[axe]] deals 35 damage, while dealing minimal damage to the [[axe]] itself.
 
==Condition==
The 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 (3 + maintenance x 2)</code>
 
==Distribution==
The pickaxe handle can currently only be acquired through [[Foraging|foraging]], in the rare portion of the junk weapons category.


==Code==
==Code==
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
    item PickAxeHandle
item PickAxeHandle
    {
DisplayCategory = ToolWeapon,
        MaxRange = 1.05,
MaxRange = 1.05,
        WeaponSprite = PickAxeHandle,
WeaponSprite = PickAxeHandle,
        MinAngle = 0.65,
MinAngle = 0.65,
        Type = Weapon,
Type = Weapon,
        MinimumSwingTime = 4,
MinimumSwingTime = 4,
        KnockBackOnNoDeath = FALSE,
KnockBackOnNoDeath = FALSE,
        SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
        Categories = Improvised;SmallBlunt,
Categories = Improvised;SmallBlunt,
        ConditionLowerChanceOneIn = 3,
ConditionLowerChanceOneIn = 3,
        Weight = 3,
Weight = 3,
        SplatNumber = 1,
SplatNumber = 1,
        PushBackMod = 0.3,
PushBackMod = 0.3,
        SubCategory = Swinging,
SubCategory = Swinging,
        ConditionMax = 4,
ConditionMax = 4,
        MaxHitCount = 2,
MaxHitCount = 2,
        DoorDamage = 5,
DoorDamage = 5,
        SwingAnim = Bat,
IdleAnim = Idle_Weapon2,
        DisplayName = PickAxe Handle,
SwingAnim = Bat,
        MinRange = 0.61,
DisplayName = PickAxe Handle,
        SwingTime = 4,
MinRange = 0.61,
        KnockdownMod = 2,
SwingTime = 4,
        SplatBloodOnNoDeath = FALSE,
KnockdownMod = 2,
        Icon = Pickaxe_Handle,
SplatBloodOnNoDeath = FALSE,
        BreakSound =   PickAxeHandleBreak,
Icon = Pickaxe_Handle,
        DoorHitSound = PickAxeHandleHit,
RunAnim = Run_Weapon2,
HitSound = PickAxeHandleHit,
TwoHandWeapon = TRUE,
HitFloorSound = PickAxeHandleHit,
BreakSound = PickAxeHandleBreak,
SwingSound = PickAxeHandleSwing,
DoorHitSound = PickAxeHandleHit,
        TreeDamage =   0,
HitSound = PickAxeHandleHit,
        CriticalChance = 10,
HitFloorSound = PickAxeHandleHit,
        CritDmgMultiplier = 2,
SwingSound = PickAxeHandleSwing,
        MinDamage = 0.4,
TreeDamage = 0,
        MaxDamage = 0.8,
CriticalChance = 10,
        BaseSpeed = 1.1,
CritDmgMultiplier = 2,
MinDamage = 0.4,
MaxDamage = 0.8,
BaseSpeed = 1.1,
 
</pre>
</pre>


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

Revision as of 18:20, 13 May 2023

The Game WorldItemsWeaponsMelee WeaponsPickaxe Handle
Pickaxe Handle
Pickaxe Handle
Pickaxe Handle.png
General
Category Weapon
Encumbrance
Heavy Load
3
Equipped Two-handed
Condition max. 4
Skill Long Blunt
Damage
Type Blunt
Attack speed 4
Range 0.61–1.05 tiles
Damage 0.4–0.8
Knockback 0.3
Knockdown 2
Technical details
Base ID PickAxeHandle


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 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 after breaking 1 door it will likely have lost almost all of its durability. For comparison, an axe deals 35 damage, while dealing minimal damage to the axe itself.

Condition

The pickaxe handle is a 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's maintenance skill. The chance of losing durability is: 1 in (3 + maintenance x 2)

Distribution

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

Code

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

	item PickAxeHandle
		DisplayCategory			= ToolWeapon,
		MaxRange			= 1.05,
		WeaponSprite			= PickAxeHandle,
		MinAngle			= 0.65,
		Type				= Weapon,
		MinimumSwingTime		= 4,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised;SmallBlunt,
		ConditionLowerChanceOneIn	= 3,
		Weight				= 3,
		SplatNumber			= 1,
		PushBackMod			= 0.3,
		SubCategory			= Swinging,
		ConditionMax			= 4,
		MaxHitCount			= 2,
		DoorDamage			= 5,
		IdleAnim			= Idle_Weapon2,
		SwingAnim			= Bat,
		DisplayName			= PickAxe Handle,
		MinRange			= 0.61,
		SwingTime			= 4,
		KnockdownMod			= 2,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Pickaxe_Handle,
		RunAnim				= Run_Weapon2,
		TwoHandWeapon			= TRUE,
		BreakSound			= PickAxeHandleBreak,
		DoorHitSound			= PickAxeHandleHit,
		HitSound			= PickAxeHandleHit,
		HitFloorSound			= PickAxeHandleHit,
		SwingSound			= PickAxeHandleSwing,
		TreeDamage			= 0,
		CriticalChance			= 10,
		CritDmgMultiplier		= 2,
		MinDamage			= 0.4,
		MaxDamage			= 0.8,
		BaseSpeed			= 1.1,