Crowbar: Difference between revisions

From PZwiki
m (Correcting Page Layout due to changes.)
m (Distribution table fix)
 
(48 intermediate revisions by 17 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{languages|Crowbar}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Weapons|version=Version 37|incver=8}}{{Weapons|image = Crowbar.png |weapontype = Melee |ammo = None|hands = One handed|weight = 3.0|mindamage = 0.6|maxdamage = 1.1|condition = 15|degrade = 70|id = Crowbar}}'''The Crowbar''' is a blunt weapon that currently has the sprite of a baseball bat. However, it has different properties than a [[Baseball Bat]].
{{Infobox item
<br><br>
|name=Crowbar
The Crowbar has a very high durability and it can deal a good amount of damage to an enemy. (currently 1/70 swings causes durability loss).
|model=Crowbar_Model.png
<br><br>
|icon=Crowbar.png
The crowbar is also capable of breaking down [[doors]] doing 8 damage per swing, although it may not be as efficient as the [[Axe]] (35 damage) or the [[Sledgehammer]] (40 dmg). The crowbar has a fairly long reach that allows a wielder to fight off enemies at a decent distance. The crowbar is a single attack weapon, meaning it can only concentrate on one zombie at a time, attacking two at a time is risky as only one zombie will be stopped per hit and the other could get in close enough to damage the character.
<!--GENERAL-->
<br><br>
|category=Tool/Weapon
The crowbar is usually found in warehouse crates and in tool shelves in sheds or warehouses. The crowbar cannot be repaired.
|weight=2
<br><br><br><br><br><br>
|equipped=Two-handed
|attachment_type=BigBlade
|function=Weapon, Pick up flooring
|skill_type=Blunt
<!--PROPERTIES-->
|material=<!-- E.g. Metal -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=15
<!--DAMAGE-->
|damage_type=Blunt
|min_damage=0.6
|max_damage=1.15
|door_damage=8
|tree_damage=0
|min_range=0.61
|max_range=1.25
|base_speed=1
|push_back=0.5
|knockdown=0
<!-- TECHNICAL -->
|item_id=Base.Crowbar
}}
A '''crowbar''' is a two-handed blunt [[Weapons|weapon]] and tool.


== Code ==
==Usage==
<nowiki>
The Crowbar is one of the best choices for a melee weapon in Project Zomboid. While it doesn't have outstanding damage or range, its usefulness lies in its utility in breaking down barricades and flooring, and its extremely high [[durability]].
item Crowbar
 
MaxRange = 1.2,
The crowbar can be attached to the character's back hotkey slot for quick access and weight reduction.
WeaponSprite = Baseballbat,
{{Pros-cons
MinAngle = 0,
|pros1 = Highest durability of any weapon.
Type = Weapon,
|pros2 = Not too difficult to find, can even be found impaled in zombies.
MinimumSwingTime = 3,
|pros3 = Very useful as a weapon and tool.
KnockBackOnNoDeath = TRUE,
|cons1 = Cannot be repaired.
SwingAmountBeforeImpact = 0.02,
|cons2 = Low knockdown chance and average damage.
Categories = Blunt,
}}
Weight = 3,
 
ConditionLowerChanceOneIn = 70,
===Weapon===
PushBackMod = 0.5,
The crowbar is a two-handed weapon, however it can be equipped in one hand at the cost of reduced impact. In modes with multi-hit enabled, crowbars can hit up to three targets with a single swing.
MinDamage = 0.6,
 
MaxDamage = 1.1,
===Furniture pickup===
SubCategory = Swinging,
*The crowbar can be considered a tool as it is the only item capable of picking up flooring. This is done by ''right-clicking'' a floor tile and selecting the floor tile in the context menu. Ensure that the crowbar is in the player's main inventory, otherwise the option may not appear.
ConditionMax = 15,
*The crowbar is the only item capable of picking up windows from buildings. This is done by using the Pick-Up toggle mode, and then clicking the tile containing the window.
MaxHitCount = 1,
 
DoorDamage = 8,
===Barricades===
IdleAnim = Idle_Weapon2,
Crowbars can be used to pry [[plank]]s off of doors and windows, which makes it useful for breaking into barricaded buildings.
SwingAnim = Bat,
 
CriticalChance = 10,
==Condition==
WeaponWeight = 4,
The crowbar has a maximum condition of 15 and the chance to lose condition is influenced by the [[Skills#Combat|maintenance and long blunt skills]]. With level 0 maintenance and long blunt skill the crowbar has a 1 in 70 chance to lose condition each hit. This low chance combined with its high maximum condition makes it the most durable melee weapon in the game. However, it cannot be repaired.
DisplayName = Crowbar,
{{Durability weapon|70}}
MinRange = 0.61,
 
SwingTime = 3,
==Distribution==
HitAngleMod = -30,
The loot distributions can be found in the table(s) below.
KnockdownMod = 0,
 
Icon = Crowbar,
<!--BOT FLAG|Crowbar|41.78.16-->
RunAnim = Run_Weapon2,
{{Clear}}
BreakSound = PZ_MetalSnap,
<div class="togglebox theme-red">
TreeDamage = 1,
    <div>Crowbar distribution
MetalValue = 150,
        <span class="mw-customtoggle-togglebox-Crowbar" 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>
</nowiki>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Crowbar">
    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_JanitorToolbox
    | {{ll|Bag_JanitorToolbox}}
    | 15.41%
    |-
    | Bag_ToolBag
    | {{ll|Bag_ToolBag}}
    | 2.81%
    |-
    | Bag_WeaponBag
    | {{ll|Bag_WeaponBag}}
    | 10.15%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 23.28%
    |-
    | Toolbox
    | {{ll|Toolbox}}
    | 2.81%
    |-
    | all
    | {{ll|crate}}
    | 0.65%
    |-
    | all
    | {{ll|metal_shelves}}
    | 2.57%
    |-
    | all
    | {{ll|toolcabinet}}
    | 10.78%
    |-
    | armyhanger
    | {{ll|counter}}
    | 10.78%
    |-
    | armyhanger
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.65%
    |-
    | cabinetfactory
    | {{ll|crate}}
    | 10.78%
    |-
    | cabinetfactory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | cabinetshipping
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | closet
    | {{ll|crate}}
    | 0.65%
    |-
    | closet
    | {{ll|crate}}
    | 10.78%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | construction
    | {{ll|crate}}
    | 10.78%
    |-
    | drugshack
    | {{ll|counter}}
    | 10.78%
    |-
    | drugshack
    | {{ll|crate}}
    | 10.78%
    |-
    | factory
    | {{ll|crate}}
    | 10.78%
    |-
    | factory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | farmstorage
    | {{ll|crate}}
    | 10.78%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | firestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|counter}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.65%
    |-
    | garagestorage
    | {{ll|crate}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|locker}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | gasstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | generalstore
    | {{ll|shelves}}
    | 10.78%
    |-
    | generalstorestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 10.78%
    |-
    | gigamart
    | {{ll|shelves}}
    | 10.78%
    |-
    | janitor
    | {{ll|counter}}
    | 10.78%
    |-
    | janitor
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | kitchen
    | {{ll|crate}}
    | 10.78%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | loggingfactory
    | {{ll|crate}}
    | 10.78%
    |-
    | loggingfactory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|counter}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | schoolstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | shed
    | {{ll|crate}}
    | 10.78%
    |-
    | shed
    | {{ll|locker}}
    | 10.78%
    |-
    | shed
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.65%
    |-
    | storageunit
    | {{ll|crate}}
    | 10.78%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.65%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | toolstore
    | {{ll|counter}}
    | 10.78%
    |-
    | toolstore
    | {{ll|crate}}
    | 10.78%
    |-
    | toolstore
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | toolstore
    | {{ll|shelves}}
    | 10.78%
    |-
    | toolstorestorage
    | {{ll|crate}}
    | 10.78%
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | warehouse
    | {{ll|crate}}
    | 10.78%
    |-
    | warehouse
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | zippeestorage
    | {{ll|counter}}
    | 10.78%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | All
    | 10
    | 3
    |-
    | Bandit
    | 0
    | 20
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Crowbar" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Crowbar|41.78.16-->
The crowbar is usually found in warehouse [[Containers#Crates|crates]] and in tool [[Containers#Shelves|shelves]] in sheds or warehouses.
 
===Zombies===
After 10 days have passed, crowbars can be found impaled in the back of [[zombie]]s.
 
===Vehicles===
The crowbar does not spawn in any [[Vehicles|vehicle]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1455
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Crowbar
    {
        DisplayCategory = ToolWeapon,
        MaxRange = 1.25,
        WeaponSprite = Crowbar,
        MinAngle = 0.75,
        Type = Weapon,
        MinimumSwingTime = 3,
        KnockBackOnNoDeath = TRUE,
        SwingAmountBeforeImpact = 0.02,
        Categories = Blunt,
        Weight = 2,
        ConditionLowerChanceOneIn = 70,
        PushBackMod = 0.5,
        SubCategory = Swinging,
        ConditionMax = 15,
        MaxHitCount = 3,
        DoorDamage = 8,
        SwingAnim = Bat,
        CriticalChance = 35,
        CritDmgMultiplier = 6,
        DisplayName = Crowbar,
        MinRange = 0.61,
        SwingTime = 3,
        HitAngleMod = -30,
        KnockdownMod = 0,
        Icon = Crowbar,
        RunAnim = Run_Weapon2,
        BreakSound =   CrowbarBreak,
        DoorHitSound = CrowbarHit,
        HitSound = CrowbarHit,
        HitFloorSound = CrowbarHit,
        SwingSound = CrowbarSwing,
        TreeDamage =   0,
        MetalValue = 150,
        CriticalChance = 20,
        CritDmgMultiplier = 2.5,
        MinDamage = 0.6,
        MaxDamage = 1.15,
        BaseSpeed = 1,
        TwoHandWeapon = TRUE,
        WeaponLength = 0.4,
        AttachmentType = BigBlade,
        Tags = Crowbar;RemoveBarricade,
    }
}}
}}
 
==See also==
*[[Hammer]]
*[[Shovel]]
*[[Tiles]]
 
{{Navbox items|blunt}}




==See Also==


{{Navbox/Tools}}
{{Navbox/Weapons}}
[[Category:Tools]]
[[Category:Tools]]
[[Category:Carpentry tools]]

Latest revision as of 19:07, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Crowbar
Crowbar Model.png
General
Category
Tool/Weapon
Encumbrance
Moodle Icon HeavyLoad.png
2
Equipped
Two-handed
Slot attached
Back
Function
Weapon, Pick up flooring
Skill
Properties
Max condition
15
Performance
Damage type
Blunt
Damage
0.6–1.15
Door damage
8
Tree damage
0
Range
0.61–1.25
Attack speed
1
Knockback
0.5
Knockdown
0
Technical
Item ID
Base.Crowbar

A crowbar is a two-handed blunt weapon and tool.

Usage

The Crowbar is one of the best choices for a melee weapon in Project Zomboid. While it doesn't have outstanding damage or range, its usefulness lies in its utility in breaking down barricades and flooring, and its extremely high durability.

The crowbar can be attached to the character's back hotkey slot for quick access and weight reduction.

Pros Cons
  • Highest durability of any weapon.
  • Not too difficult to find, can even be found impaled in zombies.
  • Very useful as a weapon and tool.
  • Cannot be repaired.
  • Low knockdown chance and average damage.

Weapon

The crowbar is a two-handed weapon, however it can be equipped in one hand at the cost of reduced impact. In modes with multi-hit enabled, crowbars can hit up to three targets with a single swing.

Furniture pickup

  • The crowbar can be considered a tool as it is the only item capable of picking up flooring. This is done by right-clicking a floor tile and selecting the floor tile in the context menu. Ensure that the crowbar is in the player's main inventory, otherwise the option may not appear.
  • The crowbar is the only item capable of picking up windows from buildings. This is done by using the Pick-Up toggle mode, and then clicking the tile containing the window.

Barricades

Crowbars can be used to pry planks off of doors and windows, which makes it useful for breaking into barricaded buildings.

Condition

The crowbar has a maximum condition of 15 and the chance to lose condition is influenced by the maintenance and long blunt skills. With level 0 maintenance and long blunt skill the crowbar has a 1 in 70 chance to lose condition each hit. This low chance combined with its high maximum condition makes it the most durable melee weapon in the game. However, it cannot be repaired.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/70 (1%)
0 4 1/72 (1%)
0 8 1/74 (1%)
4 0 1/74 (1%)
8 0 1/78 (1%)
4 4 1/76 (1%)
4 8 1/78 (1%)
8 8 1/82 (1%)
10 10 1/84 (1%)

Distribution

The loot distributions can be found in the table(s) below.

Crowbar distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
Bag_JanitorToolbox Bag_JanitorToolbox 15.41%
Bag_ToolBag Bag_ToolBag 2.81%
Bag_WeaponBag Bag_WeaponBag 10.15%
SafehouseLoot counter 23.28%
SafehouseLoot crate 10.78%
SafehouseLoot crate 23.28%
SafehouseLoot metal_shelves 10.78%
SafehouseLoot metal_shelves 23.28%
SafehouseLoot wardrobe 23.28%
SurvivorCache1 counter 23.28%
SurvivorCache2 counter 23.28%
Toolbox Toolbox 2.81%
all crate 0.65%
all metal_shelves 2.57%
all toolcabinet 10.78%
armyhanger counter 10.78%
armyhanger metal_shelves 10.78%
bedroom crate 0.65%
cabinetfactory crate 10.78%
cabinetfactory metal_shelves 10.78%
cabinetshipping metal_shelves 10.78%
closet crate 0.65%
closet crate 10.78%
closet metal_shelves 10.78%
construction crate 10.78%
drugshack counter 10.78%
drugshack crate 10.78%
factory crate 10.78%
factory metal_shelves 10.78%
farmstorage crate 10.78%
farmstorage metal_shelves 10.78%
firestorage metal_shelves 10.78%
garagestorage counter 10.78%
garagestorage crate 0.65%
garagestorage crate 10.78%
garagestorage locker 10.78%
garagestorage metal_shelves 10.78%
gasstorage counter 10.78%
generalstore metal_shelves 10.78%
generalstore shelves 10.78%
generalstorestorage metal_shelves 10.78%
generalstorestorage shelves 10.78%
gigamart shelves 10.78%
janitor counter 10.78%
janitor metal_shelves 10.78%
kitchen crate 10.78%
livingroom wardrobe 10.78%
loggingfactory crate 10.78%
loggingfactory metal_shelves 10.78%
pawnshop counter 10.78%
pawnshop crate 10.78%
pawnshop metal_shelves 10.78%
pawnshop shelves 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage metal_shelves 10.78%
schoolstorage counter 10.78%
shed crate 10.78%
shed locker 10.78%
shed metal_shelves 10.78%
storageunit crate 0.65%
storageunit crate 10.78%
storageunit metal_shelves 0.65%
storageunit metal_shelves 10.78%
toolstore counter 10.78%
toolstore crate 10.78%
toolstore metal_shelves 10.78%
toolstore shelves 10.78%
toolstorestorage crate 10.78%
toolstorestorage metal_shelves 10.78%
warehouse crate 10.78%
warehouse metal_shelves 10.78%
zippeestorage counter 10.78%
Zombie
Outfit Days survived Chance
All 10 3
Bandit 0 20

The crowbar is usually found in warehouse crates and in tool shelves in sheds or warehouses.

Zombies

After 10 days have passed, crowbars can be found impaled in the back of zombies.

Vehicles

The crowbar does not spawn in any vehicle.

Code

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

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Crowbar
    {
        DisplayCategory = ToolWeapon,
        MaxRange	=	1.25,
        WeaponSprite	=	Crowbar,
        MinAngle	=	0.75,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        KnockBackOnNoDeath = TRUE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Blunt,
        Weight	=	2,
        ConditionLowerChanceOneIn	=	70,
        PushBackMod	=	0.5,
        SubCategory	=	Swinging,
        ConditionMax	=	15,
        MaxHitCount	=	3,
        DoorDamage	=	8,
        SwingAnim	=	Bat,
        CriticalChance	=	35,
        CritDmgMultiplier = 6,
        DisplayName	=	Crowbar,
        MinRange	=	0.61,
        SwingTime	=	3,
        HitAngleMod	=	-30,
        KnockdownMod	=	0,
        Icon	=	Crowbar,
        RunAnim	=	Run_Weapon2,
        BreakSound  =   CrowbarBreak,
        DoorHitSound = CrowbarHit,
        HitSound = CrowbarHit,
        HitFloorSound = CrowbarHit,
        SwingSound = CrowbarSwing,
        TreeDamage  =   0,
        MetalValue = 150,
        CriticalChance	=	20,
        CritDmgMultiplier = 2.5,
        MinDamage	=	0.6,
        MaxDamage	=	1.15,
        BaseSpeed = 1,
        TwoHandWeapon = TRUE,
        WeaponLength = 0.4,
        AttachmentType = BigBlade,
        Tags = Crowbar;RemoveBarricade,
    }

See also