Dumbbell: Difference between revisions

From PZwiki
m (minor formatting fix)
m (Automated Formatting)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Notice|Underconstruction}}
{{Header|Project Zomboid|Items|Weapons|Short blunt weapons}}
{{languages|Barbell}}
{{Page version|41.50}}
{{header|The Game World|Items|Tools|version=Version 41|incver=50}}
{{Infobox item
{{Infobox weapon
|name=Dumbbell
|display_name=DumbBell
|model=Dumbbell_Model.png
|name_colour=Weapon
|model_width=200px
|name_text_colour=Weapon
|icon=Dumbbell.png
|image=Dumbbell_Model.png
|image_width=200px
|alternate_image=Dumbbell.png
<!--GENERAL-->
<!--GENERAL-->
|category=Tool
|category=Tool
Line 14: Line 11:
|function=[[Exercise]]
|function=[[Exercise]]
|equipped=One-handed
|equipped=One-handed
|condition_max=10
|condition_max_max=10
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
<!--DAMAGE-->
<!--DAMAGE-->
Line 26: Line 23:
|knockdown=0
|knockdown=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=DumbBell
|item_id=DumbBell
}}
}}
The '''Dumbbell''' is a one-handed short blunt weapon and piece of exercise equipment.
The '''dumbbell''' is a one-handed short blunt weapon and piece of exercise equipment.


== Usage ==
==Usage==
===Pros and cons===
{{pros-cons
{{pros-cons
<!-- #PROS# - below this line -->
|pros1 = Decent durability.
|pros1 = Decent durability.
|pros2 = Can be used for exercise.
|pros2 = Can be used for exercise.
|pros3 = Doubles as a weapon.
|pros3 = Doubles as a weapon.
<!-- #CONS# - below this line -->
|cons1 = Extremely heavy
|cons1 = Extremely heavy
}}
}}
=== Fitness ===
 
===Fitness===
:''For main article, see [[Exercise]]''
:''For main article, see [[Exercise]]''
While the player has a dumbbell in their inventory, they can perform two new exercises, the [[Exercise#Dumbbell press|dumbbell press]] and the [[Exercise#Bicep curl|bicep curl]]. Both of these focus on the arms and are 80% more efficient as an arm exercise than their weightless counterpart, [[Exercise#Pushups|pushups]].
While the player has a dumbbell in their inventory, they can perform two new exercises, the [[Exercise#Dumbbell press|dumbbell press]] and the [[Exercise#Bicep curl|bicep curl]]. Both of these focus on the arms and are 80% more efficient as an arm exercise than their weightless counterpart, [[Exercise#Pushups|pushups]].


== Code ==
{{Retrieved|version=41|incver=50}}
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
<pre> item DumbBell
MaxRange = 1,
WeaponSprite = DumbBell,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 3,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlunt,
ConditionLowerChanceOneIn = 25,
Weight = 5,
SplatNumber = 1,
PushBackMod = 0.5,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 1,
DoorDamage = 9,
CanBarricade = TRUE,
SwingAnim = Bat,
DisplayName = DumbBell,
MinRange = 0.61,
SwingTime = 3,
KnockdownMod = 0,
SplatBloodOnNoDeath = TRUE,
Icon = Dumbbell,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = BreakMetalItem,
TreeDamage = 0,
MetalValue = 25,
CriticalChance = 25,
CritDmgMultiplier = 3,
MinDamage = 0.5,
MaxDamage = 1,
BaseSpeed = 0.90,
WeaponLength = 0.2,
</pre>


{{Navbox_weapons}}


== See also ==
==Distribution==
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;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|closet
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|1
|-
|rowspan="2"|gym
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|}
 
==Code==
{{CodeBox
|{{CodeSnip
  | lang = java
  | line = true
  | start = 1326
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DumbBell
    {
        DisplayCategory = Sports,
        MaxRange = 1,
        WeaponSprite = DumbBell,
        MinAngle = 0.65,
        Type = Weapon,
        MinimumSwingTime = 3,
        KnockBackOnNoDeath = TRUE,
        SwingAmountBeforeImpact = 0.02,
        Categories = SmallBlunt,
        ConditionLowerChanceOneIn = 25,
        Weight = 5,
        SplatNumber = 1,
        PushBackMod = 0.5,
        SubCategory = Swinging,
        ConditionMax = 10,
        MaxHitCount = 1,
        DoorDamage = 9,
        CanBarricade = TRUE,
        SwingAnim = Bat,
        DisplayName = DumbBell,
        MinRange = 0.61,
        SwingTime = 3,
        KnockdownMod = 0,
        SplatBloodOnNoDeath = TRUE,
        Icon = Dumbbell,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        BreakSound  =  DumbBellBreak,
        DoorHitSound = DumbBellHit,
HitSound = DumbBellHit,
HitFloorSound = DumbBellHit,
SwingSound = DumbBellSwing,
        TreeDamage  =  0,
        MetalValue = 25,
        CriticalChance = 25,
        CritDmgMultiplier = 3,
        MinDamage = 0.5,
        MaxDamage = 1,
        BaseSpeed = 0.90,
        WeaponLength = 0.2,
    }
}}
}}
 
==See also==
*[[Barbell]]
*[[Barbell]]
{{Navbox items|blunt}}
[[Category:Sports]]

Revision as of 08:12, 14 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Dumbbell
Dumbbell Model.png
General
Category
Tool
Encumbrance
Moodle Icon HeavyLoad.png
5
Equipped
One-handed
Function
Performance
Damage
0.5–1
Range
0.61–1
Knockback
0.5
Knockdown
0
Technical
Item ID
DumbBell

The dumbbell is a one-handed short blunt weapon and piece of exercise equipment.

Usage

Pros and cons

Pros Cons
  • Decent durability.
  • Can be used for exercise.
  • Doubles as a weapon.
  • Extremely heavy

Fitness

For main article, see Exercise

While the player has a dumbbell in their inventory, they can perform two new exercises, the dumbbell press and the bicep curl. Both of these focus on the arms and are 80% more efficient as an arm exercise than their weightless counterpart, pushups.


Distribution

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

Containers
Building/Room Container Rolls Chance
closet crate 4 1
crate 4 2
crate 4 1
gym metal_shelves 4 1
metal_shelves 4 2

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 DumbBell
    {
        DisplayCategory = Sports,
        MaxRange	=	1,
        WeaponSprite	=	DumbBell,
        MinAngle	=	0.65,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        KnockBackOnNoDeath	=	TRUE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	SmallBlunt,
        ConditionLowerChanceOneIn	=	25,
        Weight	=	5,
        SplatNumber	=	1,
        PushBackMod	=	0.5,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	1,
        DoorDamage	=	9,
        CanBarricade	=	TRUE,
        SwingAnim	=	Bat,
        DisplayName	=	DumbBell,
        MinRange	=	0.61,
        SwingTime	=	3,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	Dumbbell,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   DumbBellBreak,
        DoorHitSound = DumbBellHit,
		HitSound = DumbBellHit,
		HitFloorSound = DumbBellHit,
		SwingSound = DumbBellSwing,
        TreeDamage  =   0,
        MetalValue = 25,
        CriticalChance	=	25,
        CritDmgMultiplier = 3,
        MinDamage	=	0.5,
        MaxDamage	=	1,
        BaseSpeed = 0.90,
        WeaponLength = 0.2,
     }

See also