Pickaxe Handle: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Automated CodeBox update) |
||
(18 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
=== | {{Page version|41.78.16}} | ||
''''' | {{Infobox item | ||
{{ | |name=Pickaxe Handle | ||
|model=PickaxeHandle_Model.png | |||
|icon=Pickaxe_Handle.png | |||
|icon_namePickaxe Handle | |||
<!--GENERAL--> | |||
|category=Weapon | |||
|weight=3 | |||
|equipped=Two-handed | |||
|condition_max=4 | |||
<!--DAMAGE--> | |||
|type=Blunt | |||
|base_speed=1.1 | |||
|min_range=0.61 | |||
|max_range=1.05 | |||
|min_damage=0.4 | |||
|max_damage=0.8 | |||
|push_back=0.3 | |||
|knockdown=2 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.PickAxeHandle | |||
}} | |||
A '''pickaxe handle''' is an improvised short blunt [[Weapons|weapon]]. | |||
==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 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 (3 + maintenanceMod × 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|3}} | |||
==Distribution== | |||
The pickaxe handle can currently only be acquired through [[Foraging|foraging]], in the rare portion of the junk weapons category. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 718 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item PickAxeHandle | |||
{ | { | ||
MaxRange = 1. | DisplayCategory = ToolWeapon, | ||
WeaponSprite = | MaxRange = 1.05, | ||
MinAngle = 0. | WeaponSprite = PickAxeHandle, | ||
MinAngle = 0.65, | |||
Type = Weapon, | Type = Weapon, | ||
MinimumSwingTime = | MinimumSwingTime = 4, | ||
KnockBackOnNoDeath = FALSE, | KnockBackOnNoDeath = FALSE, | ||
SwingAmountBeforeImpact = 0.02, | SwingAmountBeforeImpact = 0.02, | ||
Categories = Improvised; | Categories = Improvised;SmallBlunt, | ||
ConditionLowerChanceOneIn = 3, | ConditionLowerChanceOneIn = 3, | ||
Weight = | Weight = 3, | ||
SplatNumber = 1, | SplatNumber = 1, | ||
PushBackMod = 0.3, | PushBackMod = 0.3, | ||
SubCategory = | SubCategory = Swinging, | ||
ConditionMax = | ConditionMax = 4, | ||
MaxHitCount = 2, | MaxHitCount = 2, | ||
DoorDamage = 5, | DoorDamage = 5, | ||
SwingAnim = | IdleAnim = Idle_Weapon2, | ||
DisplayName = | SwingAnim = Bat, | ||
MinRange = 0. | DisplayName = PickAxe Handle, | ||
SwingTime = | MinRange = 0.61, | ||
KnockdownMod = | SwingTime = 4, | ||
KnockdownMod = 2, | |||
SplatBloodOnNoDeath = FALSE, | SplatBloodOnNoDeath = FALSE, | ||
Icon = | Icon = Pickaxe_Handle, | ||
RunAnim = Run_Weapon2, | RunAnim = Run_Weapon2, | ||
TwoHandWeapon = TRUE, | |||
BreakSound = PickAxeHandleBreak, | |||
DoorHitSound = PickAxeHandleHit, | |||
HitSound = PickAxeHandleHit, | |||
HitFloorSound = PickAxeHandleHit, | |||
SwingSound = PickAxeHandleSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 10, | |||
CriticalChance = | CritDmgMultiplier = 2, | ||
CritDmgMultiplier = | MinDamage = 0.4, | ||
MinDamage = | MaxDamage = 0.8, | ||
MaxDamage = | BaseSpeed = 1.1, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Pickaxe]] | |||
*[[Spiked Pickaxe Handle]] | |||
*[[Table Leg]] | |||
{{Navbox weapons|blunt}} | |||
Latest revision as of 10:15, 26 March 2024
A pickaxe handle is an improvised short blunt weapon.
Usage
Pros | Cons |
---|---|
|
|
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 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 (3 + 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.
Maintenance skill | Weapon skill | Durability lower chance |
---|---|---|
0 | 0 | 1/3 (33%) |
0 | 4 | 1/5 (20%) |
0 | 8 | 1/7 (14%) |
4 | 0 | 1/7 (14%) |
8 | 0 | 1/11 (9%) |
4 | 4 | 1/9 (11%) |
4 | 8 | 1/11 (9%) |
8 | 8 | 1/15 (7%) |
10 | 10 | 1/17 (6%) |
Distribution
The pickaxe handle can currently only be acquired through foraging, in the rare portion of the junk weapons category.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}