Dumbbell: Difference between revisions
(Under construction) |
(Update distribution file) |
||
(30 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Short blunt weapons}} | ||
{{Page version|41.50}} | |||
{{Infobox item | |||
{{ | |name=Dumbbell | ||
{{Infobox | |model=Dumbbell_Model.png | ||
|model_width=200px | |||
|icon=Dumbbell.png | |||
| | |||
| | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Tool | |category=Tool | ||
Line 15: | Line 11: | ||
|function=[[Exercise]] | |function=[[Exercise]] | ||
|equipped=One-handed | |equipped=One-handed | ||
| | |condition_max_max=10 | ||
<!--CHARACTERISTICS--> | <!--CHARACTERISTICS--> | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
Line 27: | Line 23: | ||
|knockdown=0 | |knockdown=0 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=DumbBell | ||
}} | }} | ||
''' | The '''dumbbell''' is a one-handed short blunt weapon and piece of exercise equipment. | ||
== Usage == | ==Usage== | ||
=== Fitness === | ===Pros and cons=== | ||
{{pros-cons | |||
|pros1 = Decent durability. | |||
|pros2 = Can be used for exercise. | |||
|pros3 = Doubles as a weapon. | |||
|cons1 = Extremely heavy | |||
}} | |||
===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]]. | ||
== See also == | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|DumbBell|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>DumbBell distribution | |||
<span class="mw-customtoggle-togglebox-DumbBell" 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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-DumbBell"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| gym | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| gym | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 1.01% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-DumbBell" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|DumbBell|41.78.16--> | |||
==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]] |
Latest revision as of 12:38, 30 April 2024
The dumbbell is a one-handed short blunt weapon and piece of exercise equipment.
Usage
Pros and cons
Pros | Cons |
---|---|
|
|
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.
Building/Room | Container | Effective chance |
---|---|---|
bedroom | crate | 1.01% |
closet | crate | 1.01% |
closet | crate | 23.28% |
closet | crate | 41.14% |
garagestorage | crate | 1.01% |
garagestorage | crate | 23.28% |
garagestorage | crate | 41.14% |
gym | metal_shelves | 23.28% |
gym | metal_shelves | 41.14% |
storageunit | crate | 1.01% |
storageunit | crate | 23.28% |
storageunit | crate | 41.14% |
storageunit | metal_shelves | 1.01% |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}