Barbell: Difference between revisions
m (remove tree link) |
m (→Gallery: minor) |
||
Line 49: | Line 49: | ||
The barbell cannot be repaired. However, once broken it can still be used for exercise. | The barbell cannot be repaired. However, once broken it can still be used for exercise. | ||
= Gallery== | |||
<gallery> | <gallery> | ||
Barbell-1.gif|Character utilizing the barbell for fitness. | |||
</gallery> | </gallery> | ||
Revision as of 22:35, 22 January 2024
Barbell | ||
---|---|---|
| ||
General | ||
Category | Sports | |
Encumbrance | 6 | |
Function | Exercise | |
Equipped | Two-handed | |
Condition max. | 15 | |
Skill | Long Blunt | |
Attachment | N/A | |
Damage | ||
Type | Blunt | |
Attack speed | 0.7 | |
Range | 0.61–1.35 tiles | |
Damage | 1.8–2.8 | |
Tree damage | 55 | |
Door damage | 35 | |
Knockback | 0.3 | |
Knockdown | 2 | |
Technical details | ||
Base ID | Base.BarBell | |
A barbell is a fitness item and heavy weapon.
Usage
Fitness
- Main article: Exercise
While the player has a barbell in their inventory, they can perform the barbell curl exercise. This exercise is 20% more effective than its weightless alternative, pushups.
Weapon
A barbell is considered a heavy weapon and requires two hands to use at all. It has high damage to doors, trees and enemies, always knocking them over, along with a high durability, making it seem a desirable weapon. This is offset, however, by the high exhaustion rate of the weapon and its incredibly high weight.
It is one of the only weapons that cannot be attached anywhere (belt, back, or holster).
Condition
The barbell has a maximum condition of 15. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (25 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/25 (4%) |
0 | 4 | 1/27 (4%) |
0 | 8 | 1/29 (3%) |
4 | 0 | 1/29 (3%) |
8 | 0 | 1/33 (3%) |
4 | 4 | 1/31 (3%) |
4 | 8 | 1/33 (3%) |
8 | 8 | 1/37 (3%) |
10 | 10 | 1/39 (3%) |
Repairing
The barbell cannot be repaired. However, once broken it can still be used for exercise.
Gallery=
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item BarBell
{
DisplayCategory = Sports,
MaxRange = 1.35,
WeaponSprite = BarBell,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.002,
Categories = Blunt,
ConditionLowerChanceOneIn = 25,
Weight = 6,
SplatNumber = 3,
PushBackMod = 0.3,
EnduranceMod = 3,
SubCategory = Swinging,
ConditionMax = 15,
MaxHitCount = 3,
DoorDamage = 35,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Barbell,
MinRange = 0.61,
SwingTime = 2,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 2,
SplatBloodOnNoDeath = TRUE,
Icon = Barbell,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
SwingSound = BarbellSwing,
DoorHitSound = BarbellHit,
HitSound = BarbellHit,
HitFloorSound = BarbellHit,
BreakSound = BarbellBreak,
TreeDamage = 55,
MetalValue = 120,
CritDmgMultiplier = 2,
MinDamage = 1.8,
MaxDamage = 2.8,
BaseSpeed = 0.7,
WeaponLength = 0.5,
RequiresEquippedBothHands = TRUE,
AlwaysKnockdown = TRUE,
}