Crowbar: Difference between revisions
(Added model, reorganized code section) |
No edit summary |
||
Line 24: | Line 24: | ||
|knockdown=0 | |knockdown=0 | ||
|class_name=Base.Crowbar | |class_name=Base.Crowbar | ||
}}A '''crowbar''' is a blunt weapon | }}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 == | |||
==Usage== | {{pros-cons | ||
= | <!-- #PROS# - below this line --> | ||
= | |pros1 = Highest durability of any weapon. | ||
|pros2 = Not too difficult to find, can even be found impaled in zombies. | |||
|pros3 = Very useful as a weapon and tool. | |||
<!-- #CONS# - below this line --> | |||
|cons1 = Cannot be repaired. | |||
= | }} | ||
===Multi-hit=== | |||
In modes with multi-hit enabled, crowbars can still only hit one target in 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=== | ||
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. | Crowbars can be used to pry planks off of doors and windows, which makes it useful for breaking into barricaded buildings. | ||
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. | |||
==Condition== | ==Condition== | ||
The crowbar | 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: <code>1 in (70 + maintenance x 2)</code>. It has a very high durability and will not break easily. | ||
==Distribution== | ==Distribution== | ||
The crowbar is usually found in warehouse [[Containers#Crates|crates]] and in tool [[Containers#Shelves|shelves]] in sheds or warehouses. | The crowbar is usually found in warehouse [[Containers#Crates|crates]] and in tool [[Containers#Shelves|shelves]] in sheds or warehouses. | ||
Line 113: | Line 105: | ||
|- | |- | ||
|} | |} | ||
===Zombies=== | |||
After 10 days have passed, crowbars can be found impaled in the back of [[zombie]]s. | |||
===Vehicles=== | ===Vehicles=== | ||
The crowbar does not spawn in any vehicle. | The crowbar does not spawn in any vehicle. |
Revision as of 12:27, 15 August 2021
Crowbar | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 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 |
---|---|
|
|
Multi-hit
In modes with multi-hit enabled, crowbars can still only hit one target in 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,