Crowbar

From PZwiki
Revision as of 10:19, 20 October 2021 by Keragom (talk | contribs) (→‎Multi-hit: changed the information, since it was completely wrong. It stated crowbar only hit 1 zombie, even in multi hit, while in fact, they can hit up to 3 zombies in a single swing.)
Crowbar
Crowbar
Crowbar.png
General
Category Weapon
Encumbrance
Heavy Load
2
Function Weapon
Pick up flooring
Equipped One-handed
Condition max. 15
Skill Long Blunt
Damage
Type Blunt
Attack speed 3
Range 0.61–1.25 tiles
Damage 0.6–1.15
Knockback 0.5
Knockdown 0
Technical details
Base ID Base.Crowbar

A crowbar is a two-handed blunt weapon and tool. The crowbar can be used one-handed at the cost of reduced impact. The weapon can be attached to the character's back hotkey slot for quick access and weight reduction.

Usage

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.

Multi-hit

In modes with multi-hit enabled, crowbars can hit up to three targets with a single swing.

Tool

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 will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (70 + maintenance x 2). It has a very high durability and will not break easily.

Distribution

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

Buildings

Building/Room Container Rolls Chance
All Crate 1 1
Metal Shelves 4 2
Tool Store Shelf 5 6
Counter 2 6
Bedroom Wardrobe 2 2
Changeroom Locker 2 2
Fossoil Counter 4 5
Grocery Store Counter 4 5
Storage Unit All 3 5
Zippee Store Counter 1 5

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

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	item Crowbar
		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			= 1,
		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			= BreakMetalItem,
		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

Template:Navbox/ToolsTemplate:Navbox/Weapons