Crowbar

From PZwiki
Jump to: navigation, search
Language policy Language: English  • русский


Crowbar
Crowbar
General
Category Weapon
Weight
Heavy Load
3
Function Weapon
Pick up flooring
Equipped One-handed
Condition max. 15
Damage
Type Blunt
Swing time 3
Range 0.61–1.2 tiles
Damage 0.6–1.1
Knockback 0.5
Knockdown 0
Technical details
Class name Base.Crowbar

A crowbar is a blunt weapon that currently has the sprite of a baseball bat, however with very different properties to the baseball bat.

Usage

Weapon

Attacking

The crowbar performs a swinging attack, however is a single hit weapon, meaning that it will only hit one enemy at a time. Attacking two or more zombies at once can be risky as only one will be knocked back per swing, while the other(s) could get close enough to injure the player.

The crowbar has a fairly long range for a one-handed weapon that allows a wielder to fight off enemies at a decent distance.

Breaking doors

The crowbar is capable of breaking down doors dealing 8 damage per swing, although it is not as efficient as the axe (35 damage) or sledgehammer (40 dmg).

Chopping trees

It is mostly ineffective at chopping trees, dealing 1 damage per hit. For comparison, an axe deals 35 damage.

Tool

Pick up flooring

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.

Condition

The crowbar is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It 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.

Repairing

The crowbar cannot be repaired.

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

Vehicles

The crowbar does not spawn in any vehicle.

Code

From newitems.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 39.67.5
	item Crowbar
		MaxRange			= 1.2,
		WeaponSprite			= Baseballbat,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		KnockBackOnNoDeath 		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Blunt,
		Weight				= 3,
		ConditionLowerChanceOneIn	= 70,
		PushBackMod			= 0.5,
		MinDamage			= 0.6,
		MaxDamage			= 1.1,
		SubCategory			= Swinging,
		ConditionMax			= 15,
		MaxHitCount			= 1,
		DoorDamage			= 8,
		IdleAnim			= Idle_Weapon2,
		SwingAnim			= Bat,
		CriticalChance			= 10,
		WeaponWeight			= 4,
		DisplayName			= Crowbar,
		MinRange			= 0.61,
		SwingTime			= 3,
		HitAngleMod			= -30,
		KnockdownMod			= 0,
		Icon				= Crowbar,
		RunAnim				= Run_Weapon2,
		BreakSound  			= PZ_MetalSnap,
		TreeDamage  			= 1,
		MetalValue 			= 150,

See also


Tools
Camping Campfire MaterialsChipped StoneNotched Wooden PlankSturdy StickTent Kit
Construction AxeBucketCrowbarHammerNeedlePaint BrushPropane TankBlow TorchRaw AxeSawScrewdriverSledgehammerStone HammerSuture NeedleWelding Mask
Cooking Baking PanBowlButter KnifeCan OpenerCooking PotEmpty Bottle (Alcohol)Empty Bottle (Mayonnaise)Empty Bottle (Remoulade)Empty Bottle (Water)Empty JarEmpty MugEmpty Pop BottleFrying PanHunting KnifeJar LidKettleKitchen KnifeRolling PinRoasting PanSaucepan
Farming Gardening Spray CanNPK FertilizerSackShovelTrowelWatering Can
Fishing Fishing Net TrapFishing RodFishing Rod (Crafted)Fishing TackleWooden Spear
Illumination Lit CandleFlashlightLighterMatches
Keys Car KeyCombination PadlockKey RingKey (Door)Key (Padlock)Padlock
Mechanics Gas CanJackLug WrenchTire PumpWrench
Miscellaneous Bath TowelDish TowelExtinguisherMopMortar and PestleUmbrella
Stationery Empty NotebookEraserJournalPenPencilSheet of Paper
Trapping Cage TrapMouse TrapSnare TrapStick TrapTrap BoxTrap Crate
Weapons
Blunt Bare HandsBaseball BatCrowbarFishing RodFishing Rod Without LineFishing Rod (Crafted)Frying PanGolfclubHammerHockey StickPlankPoolcueRolling PinSledgehammerShovelSpiked Baseball BatSpiked PlankStone HammerWooden Spear
Bladed Butter KnifeForkHunting KnifeIce PickKitchen KnifeLetter OpenerPenPencilScissorsScrewdriverSpoon
Axes AxeRaw Axe
Firearms Hunting RiflePistolSawn Off ShotgunShotgunVarmint Rifle
Throwables Aerosol BombAlarm ClockFlame TrapMolotov CocktailNoise MakerPipe BombSmoke Bomb
Ammo Shotgun Shells9mm Rounds.233 Ammo.308 Ammo
Weapon Parts 9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightsLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope