Pickaxe: Difference between revisions
mNo edit summary |
m (Update infobox) |
||
(32 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Axes}} | ||
{{Page version|41.78.16}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Pickaxe | ||
| | |model=PickAxe_Model.png | ||
| | |icon=PickAxe.png | ||
|icon_name=Pickaxe | |||
| | <!--General--> | ||
|category=Weapon | |category=Weapon | ||
|weight=3 | |weight=3 | ||
|equipped=Two-handed | |equipped=Two-handed | ||
| | |skill_type=Axe | ||
<!--Properties--> | |||
|condition_max=13 | |condition_max=13 | ||
|condition_lower_chance=20 | |||
<!--Performance--> | |||
|damage_type=Slash | |||
|min_damage=1 | |min_damage=1 | ||
|max_damage=2.2 | |max_damage=2.2 | ||
|door_damage=35 | |||
|tree_damage=35 | |||
|min_range=0.61 | |||
|max_range=1.5 | |||
|base_speed=0.8 | |||
|push_back=0.3 | |push_back=0.3 | ||
| | <!--Technical--> | ||
| | |tag=DigPlow | ||
|item_id=Base.PickAxe | |||
}} | }} | ||
A ''' | A '''pickaxe''' is a two-handed melee weapon. | ||
== Usage == | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The | The pickaxe is a multi-attack weapon, capable of hitting three [[zombie]]s at a time in a swing if "multi-hit" is enabled in the sandbox settings. | ||
It has a chance to kill zombies in a single hit, making it useful for close-quarters combat. It has the advantage of having a greater damage output compared to other tools, making it a great weapon alongside its uses as a tool. Its disadvantage is that it has a long recovery time between swings, leaving the player vulnerable when surrounded. | |||
Compared to the more common [[ | Compared to the more common [[axe]], the pickaxe has slightly higher zombie damage at 1-2.2 damage compared to the [[Axe]]'s 0.8-2 damage. However, it has a condition lower chance of 1/20 compared to the Axe's 1/35. This makes it a highly effective weapon, but it will break somewhat more quickly. | ||
===Breaking doors=== | ===Breaking doors=== | ||
Line 36: | Line 42: | ||
===Chopping trees=== | ===Chopping trees=== | ||
The | The pickaxe is an ideal harvesting device to cut down trees, dealing 35 damage per hit (equivalent to an [[axe]]). | ||
== | ==Condition== | ||
The pickaxe has a maximum condition of 13. Its rate of degradation is influenced by the [[Skills|axe]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (20 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the axe and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|axe]] skills. | |||
{{Durability weapon|20}} | |||
{| class=" | ===Repairing=== | ||
A pickaxe can be repaired with the following. Note that repairing the pickaxe makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased. | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
|- | |- | ||
! Item Repaired | ! Item Repaired | ||
Line 52: | Line 60: | ||
|- | |- | ||
|[[File:PickAxe.png|32px]] <br> | |[[File:PickAxe.png|32px]] <br> | ||
Pickaxe | |||
| [[File:Woodglue.png|32px]]<br> | | [[File:Woodglue.png|32px]]<br> | ||
[[Wood Glue]] <small>(2 Uses)</small><br> | [[Wood Glue]] <small>(2 Uses)</small><br> | ||
Line 62: | Line 70: | ||
| [[File:Scotchtape.png|32px]]<br> | | [[File:Scotchtape.png|32px]]<br> | ||
[[Adhesive Tape]] <small>(4 Uses)</small> | [[Adhesive Tape]] <small>(4 Uses)</small> | ||
|} | |} | ||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|PickAxe|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>PickAxe distribution | |||
<span class="mw-customtoggle-togglebox-PickAxe" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PickAxe"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_ToolBag | |||
| {{ll|Bag_ToolBag}} | |||
| 0.71% | |||
|- | |||
| Farmer | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| Farmer | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| ToolsCache1 | |||
| {{ll|ToolsBox}} | |||
| 10.78% | |||
|- | |||
| all | |||
| {{ll|crate}} | |||
| 0.44% | |||
|- | |||
| all | |||
| {{ll|toolcabinet}} | |||
| 2.81% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 0.44% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 0.44% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| construction | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| factory | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| firestorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 2.81% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 0.44% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| garagestorage | |||
| {{ll|locker}} | |||
| 2.81% | |||
|- | |||
| garagestorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| generalstore | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 2.81% | |||
|- | |||
| generalstorestorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 2.81% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 2.81% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| loggingfactory | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| loggingfactory | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| pawnshop | |||
| {{ll|counter}} | |||
| 2.81% | |||
|- | |||
| pawnshop | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| pawnshop | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 2.81% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| shed | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| shed | |||
| {{ll|locker}} | |||
| 2.81% | |||
|- | |||
| shed | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 0.44% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 0.44% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| toolstore | |||
| {{ll|counter}} | |||
| 2.81% | |||
|- | |||
| toolstore | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| toolstore | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| toolstore | |||
| {{ll|shelves}} | |||
| 2.81% | |||
|- | |||
| toolstorestorage | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| toolstorestorage | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 2.81% | |||
|- | |||
| warehouse | |||
| {{ll|metal_shelves}} | |||
| 2.81% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Farmer | |||
| {{ll|Truck Bed}} | |||
| 2.81% | |||
|- | |||
| Fire | |||
| {{ll|Truck Bed}} | |||
| 2.81% | |||
|- | |||
| Ranger | |||
| {{ll|Truck Bed}} | |||
| 2.81% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-PickAxe" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|PickAxe|41.78.16--> | |||
==Code== | |||
{{CodeBox| | |||
===Item=== | ===Item=== | ||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 2175 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item PickAxe | |||
{ | { | ||
DisplayCategory = ToolWeapon, | |||
MaxRange = 1.6, | MaxRange = 1.6, | ||
WeaponSprite = PickAxe, | WeaponSprite = PickAxe, | ||
Line 88: | Line 348: | ||
SubCategory = Swinging, | SubCategory = Swinging, | ||
ConditionMax = 13, | ConditionMax = 13, | ||
MaxHitCount = | MaxHitCount = 3, | ||
DoorDamage = 35, | DoorDamage = 35, | ||
IdleAnim = Idle_Weapon2, | IdleAnim = Idle_Weapon2, | ||
Line 102: | Line 362: | ||
RunAnim = Run_Weapon2, | RunAnim = Run_Weapon2, | ||
TwoHandWeapon = TRUE, | TwoHandWeapon = TRUE, | ||
BreakSound | BreakSound = PickAxeBreak, | ||
DoorHitSound = PickAxeHit, | |||
HitSound = PickAxeHit, | |||
HitFloorSound = PickAxeHit, | |||
SwingSound = PickAxeSwing, | |||
TreeDamage = 35, | TreeDamage = 35, | ||
MetalValue = 120, | MetalValue = 120, | ||
Line 115: | Line 379: | ||
Tags = DigPlow, | Tags = DigPlow, | ||
} | } | ||
}} | |||
=== Repair | ===Repair=== | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 298 | |||
| source = fixing.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
fixing Fix PickAxe | |||
{ | |||
Require : PickAxe, | |||
Fixer : Woodglue=2; Woodwork=2, | Fixer : Woodglue=2; Woodwork=2, | ||
Fixer : DuctTape=2, | Fixer : DuctTape=2, | ||
Fixer : Glue= | Fixer : Glue=3, | ||
Fixer : Scotchtape=4, | Fixer : Scotchtape=4, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Axe]] | |||
*[[Pickaxe Handle]] | |||
*[[Spiked Pickaxe Handle]] | |||
{{Navbox items|axe}} | |||
[[Category:Tools]] | [[Category:Tools]] | ||
[[Category:Farming tools]] |
Latest revision as of 02:06, 2 May 2024
A pickaxe is a two-handed melee weapon.
Usage
Weapon
The pickaxe is a multi-attack weapon, capable of hitting three zombies at a time in a swing if "multi-hit" is enabled in the sandbox settings.
It has a chance to kill zombies in a single hit, making it useful for close-quarters combat. It has the advantage of having a greater damage output compared to other tools, making it a great weapon alongside its uses as a tool. Its disadvantage is that it has a long recovery time between swings, leaving the player vulnerable when surrounded.
Compared to the more common axe, the pickaxe has slightly higher zombie damage at 1-2.2 damage compared to the Axe's 0.8-2 damage. However, it has a condition lower chance of 1/20 compared to the Axe's 1/35. This makes it a highly effective weapon, but it will break somewhat more quickly.
Breaking doors
It is very effective at breaking down doors, dealing 35 damage per hit.
Chopping trees
The pickaxe is an ideal harvesting device to cut down trees, dealing 35 damage per hit (equivalent to an axe).
Condition
The pickaxe has a maximum condition of 13. Its rate of degradation is influenced by the axe and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (20 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the axe and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and axe skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/20 (5%) |
0 | 4 | 1/22 (5%) |
0 | 8 | 1/24 (4%) |
4 | 0 | 1/24 (4%) |
8 | 0 | 1/28 (4%) |
4 | 4 | 1/26 (4%) |
4 | 8 | 1/28 (4%) |
8 | 8 | 1/32 (3%) |
10 | 10 | 1/34 (3%) |
Repairing
A pickaxe can be repaired with the following. Note that repairing the pickaxe makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
Item Repaired | 1st Repair Materials = 55% Repaired, 100% Success |
20% Repaired, 95% Success |
10% Repaired, 95% Success |
10% Repaired, 95% Success |
---|---|---|---|---|
Pickaxe |
Wood Glue (2 Uses) |
Duct Tape (2 Uses) |
Glue (2 Uses) |
Adhesive Tape (4 Uses) |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Bag_ToolBag | Bag_ToolBag | 0.71% |
Farmer | crate | 2.81% |
Farmer | metal_shelves | 2.81% |
SafehouseLoot | crate | 2.81% |
SafehouseLoot | metal_shelves | 2.81% |
ToolsCache1 | ToolsBox | 10.78% |
all | crate | 0.44% |
all | toolcabinet | 2.81% |
bedroom | crate | 0.44% |
closet | crate | 0.44% |
closet | crate | 2.81% |
construction | crate | 2.81% |
factory | crate | 2.81% |
factory | metal_shelves | 2.81% |
farmstorage | crate | 2.81% |
farmstorage | metal_shelves | 2.81% |
firestorage | metal_shelves | 2.81% |
garagestorage | counter | 2.81% |
garagestorage | crate | 0.44% |
garagestorage | crate | 2.81% |
garagestorage | locker | 2.81% |
garagestorage | metal_shelves | 2.81% |
generalstore | metal_shelves | 2.81% |
generalstore | shelves | 2.81% |
generalstorestorage | metal_shelves | 2.81% |
generalstorestorage | shelves | 2.81% |
gigamart | shelves | 2.81% |
kitchen | crate | 2.81% |
loggingfactory | crate | 2.81% |
loggingfactory | metal_shelves | 2.81% |
pawnshop | counter | 2.81% |
pawnshop | crate | 2.81% |
pawnshop | metal_shelves | 2.81% |
pawnshop | shelves | 2.81% |
pawnshopstorage | crate | 2.81% |
pawnshopstorage | metal_shelves | 2.81% |
shed | crate | 2.81% |
shed | locker | 2.81% |
shed | metal_shelves | 2.81% |
storageunit | crate | 0.44% |
storageunit | crate | 2.81% |
storageunit | metal_shelves | 0.44% |
storageunit | metal_shelves | 2.81% |
toolstore | counter | 2.81% |
toolstore | crate | 2.81% |
toolstore | metal_shelves | 2.81% |
toolstore | shelves | 2.81% |
toolstorestorage | crate | 2.81% |
toolstorestorage | metal_shelves | 2.81% |
warehouse | crate | 2.81% |
warehouse | metal_shelves | 2.81% |
Code
Item
Source: ProjectZomboid\media\scripts\items_weapons.txt
item PickAxe
{
DisplayCategory = ToolWeapon,
MaxRange = 1.6,
WeaponSprite = PickAxe,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.002,
Categories = Axe,
ConditionLowerChanceOneIn = 20,
Weight = 3,
SplatNumber = 3,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 13,
MaxHitCount = 3,
DoorDamage = 35,
IdleAnim = Idle_Weapon2,
SwingAnim = Bat,
DisplayName = PickAxe,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 2,
SplatBloodOnNoDeath = TRUE,
Icon = PickAxe,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = PickAxeBreak,
DoorHitSound = PickAxeHit,
HitSound = PickAxeHit,
HitFloorSound = PickAxeHit,
SwingSound = PickAxeSwing,
TreeDamage = 35,
MetalValue = 120,
CriticalChance = 25,
CritDmgMultiplier = 9,
MinDamage = 1,
MaxDamage = 2.2,
BaseSpeed = 0.8,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = BigBlade,
Tags = DigPlow,
}
Repair
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix PickAxe
{
Require : PickAxe,
Fixer : Woodglue=2; Woodwork=2,
Fixer : DuctTape=2,
Fixer : Glue=3,
Fixer : Scotchtape=4,
}