Barbell: Difference between revisions

From PZwiki
m (Automated Formatting for Infobox and Section Headers)
m (Distribution table update)
(8 intermediate revisions by the same user not shown)
Line 9: Line 9:
|weight=6
|weight=6
|equipped=Two-handed
|equipped=Two-handed
|attachment_type=
|function=[[Exercise]]
|function=[[Exercise]]
|skill_type=Blunt
|skill_type=Blunt
|ammo_type=
|clip_size=
<!--PROPERTIES-->
<!--PROPERTIES-->
|material= <!-- E.g. Metal -->
|material=<!-- E.g. Metal -->
|material_value= <!-- E.g. MetalValue attribute -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=15
|condition_max=15
|condition_lower_chance=
<!--DAMAGE-->
<!--DAMAGE-->
|damage_type=Blunt
|damage_type=Blunt
Line 27: Line 23:
|min_range=0.61
|min_range=0.61
|max_range=1.35
|max_range=1.35
|hit_chance=
|recoil_delay=
|sound_radius=
|base_speed=0.7
|base_speed=0.7
|push_back=0.3
|push_back=0.3
|knockdown=2
|knockdown=2
|aiming_time=
|reload_time=
|crit_chance=
|crit_multiplier=
|kill_move=
<!-- TECHNICAL -->
<!-- TECHNICAL -->
|item_id=Base.BarBell
|item_id=Base.BarBell
}}
}}
A '''barbell''' is a fitness item and [[Weapons#Two-Handed|heavy weapon]].
A '''barbell''' is a fitness item and [[Weapons#Two-Handed|heavy weapon]].


Line 50: Line 37:


=== Weapon ===
=== Weapon ===
A barbell is considered a heavy weapon and requires two hands to use at all. It has high damage to [[door]]s, 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 [[Moodles#Exhausted|exhaustion]] rate of the weapon and its incredibly high weight.
A barbell is considered a heavy weapon and requires two hands to use at all. It has high damage to [[door]]s, 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 [[Exhausted|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]]).
It is one of the only weapons that cannot be attached anywhere ([[belt]], back, or [[holster]]).
Line 58: Line 45:
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills.
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills.
{{Durability weapon|25}}
{{Durability weapon|25}}
===Repairing===
===Repairing===
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.
Line 63: Line 51:
==Gallery==
==Gallery==
<gallery>
<gallery>
Barbell-1.gif|Character utilizing the barbell for fitness.
Barbell-1.gif|Character utilizing the barbell for fitness
</gallery>
</gallery>


Line 71: Line 59:
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|BarBell|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>BarBell distribution
!Container
        <span class="mw-customtoggle-togglebox-BarBell" 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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-BarBell">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="2"|closet
    |+ {{ll|Containers}}
| [[crate]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[crate]]
    |-
|4
    | bedroom
|4
    | {{ll|crate}}
|-
    | 1
| rowspan="1"|gym
    | 0.4
| [[metal_shelves]]
    |-
| 4
    | closet
| 8
    | {{ll|crate}}
|}
    | 4
    | 4.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | gym
    | {{ll|metal_shelves}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-BarBell" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|BarBell|41.78.16-->


==Code==
==Code==
Line 104: Line 108:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item BarBell
item BarBell
     {
     {
         DisplayCategory = Sports,
         DisplayCategory = Sports,
Line 157: Line 161:
*[[Dumbbell]]
*[[Dumbbell]]


{{Navbox weapons}}
{{Navbox items|blunt}}
 


[[Category:Tools]]
[[Category:Tools]]
[[Category:Sports]]
[[Category:Sports]]

Revision as of 14:54, 24 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]
Barbell
Barbell Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
6
Equipped
Two-handed
Function
Skill
Properties
Max condition
15
Performance
Damage type
Blunt
Damage
1.8–2.8
Door damage
35
Tree damage
55
Range
0.61–1.35
Attack speed
0.7
Knockback
0.3
Knockdown
2
Technical
Item 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.

For how this is calculated, see: Condition
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


Distribution

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

BarBell distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bedroom crate 1 0.4
closet crate 4 4.0
closet crate 4 10.0
gym metal_shelves 4 8.0

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 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,
  }

See also