Badminton Racket: Difference between revisions
(creation) |
(Update distribution file) |
||
(28 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
{{Infobox | |name=Badminton Racket | ||
| | |model=BadmintonRacket_Model.png | ||
| | |icon=BadmintonRacket.png | ||
| | |icon_name=Badminton Racket | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category= | |category=Sports | ||
|weight=1 | |weight=1 | ||
|equipped=One-handed | |equipped=One-handed | ||
|attachment_type=Racket | |||
|skill_type=Blunt | |||
<!--PROPERTIES--> | |||
|material=<!-- E.g. Metal --> | |||
|material_value=<!-- E.g. MetalValue attribute --> | |||
|condition_max=4 | |condition_max=4 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Blunt | ||
| | |min_damage=0.1 | ||
|max_damage=0.2 | |||
|door_damage=2 | |||
|tree_damage=0 | |||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.25 | |max_range=1.25 | ||
| | |base_speed=1.2 | ||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=2 | |knockdown=2 | ||
<!-- TECHNICAL --> | |||
<!--TECHNICAL | |item_id=Base.BadmintonRacket | ||
| | |||
}} | }} | ||
A '''badminton racket''' is a one-handed improvised long blunt [[Weapons|weapon]]. | |||
__TOC__ | __TOC__ | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
It has poor damage, poor durability and | It has poor damage, poor durability, and high attack speed. | ||
===Breaking doors=== | ===Breaking doors=== | ||
It is very poor at breaking down doors, dealing only 2 damage per hit | It is very poor at breaking down doors, dealing only 2 damage per hit. | ||
===Tree chopping=== | ===Tree chopping=== | ||
Line 42: | Line 44: | ||
==Condition== | ==Condition== | ||
The badminton racket has a maximum condition of 4. Its rate of degradation is influenced by the [[Skills|long blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (3 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills. | |||
{{Durability weapon|3}} | |||
===Repairing=== | ===Repairing=== | ||
Line 58: | Line 62: | ||
==Distribution== | ==Distribution== | ||
=== | The loot distributions can be found in the table(s) below. | ||
<!--BOT FLAG|BadmintonRacket|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>BadmintonRacket distribution | |||
<span class="mw-customtoggle-togglebox-BadmintonRacket" 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-BadmintonRacket"> | |||
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}} | |||
| 0.65% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| schoolstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| schoolstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| sportstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| sportstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| sportstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| sportstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| sportstorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| sportstorage | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| sportstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| sportstore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-BadmintonRacket" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|BadmintonRacket|41.78.16--> | |||
==Code== | ==Code== | ||
{{CodeBox| | |||
===Item=== | ===Item=== | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 843 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item BadmintonRacket | |||
{ | |||
DisplayCategory = Sports, | |||
MaxRange = 1.25, | |||
WeaponSprite = BadmintonRacket, | |||
MinAngle = 0.75, | |||
Type = Weapon, | |||
MinimumSwingTime = 4, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Blunt, | |||
ConditionLowerChanceOneIn = 3, | |||
Weight = 1, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 4, | |||
MaxHitCount = 2, | |||
DoorDamage = 2, | |||
SwingAnim = Bat, | |||
DisplayName = Badminton Racket, | |||
HitSound | MinRange = 0.61, | ||
HitFloorSound | SwingTime = 4, | ||
SwingSound | KnockdownMod = 2, | ||
SplatBloodOnNoDeath = FALSE, | |||
Icon = BadmintonRacket, | |||
BreakSound = BadmintonRacketBreak, | |||
DoorHitSound = BadmintonRacketHit, | |||
HitSound = BadmintonRacketHit, | |||
HitFloorSound = BadmintonRacketHit, | |||
SwingSound = BadmintonRacketSwing, | |||
TreeDamage = 0, | |||
CriticalChance = 0, | |||
MinDamage = 0.1, | |||
MaxDamage = 0.2, | |||
BaseSpeed = 1.2, | |||
AttachmentType = Racket, | |||
} | |||
}} | |||
===Repair=== | ===Repair=== | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 61 | |||
| source = fixing.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
fixing Fix Badminton Racket | fixing Fix Badminton Racket | ||
{ | { | ||
Line 114: | Line 228: | ||
Fixer : Scotchtape=3, | Fixer : Scotchtape=3, | ||
} | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Baseball Bat]] | |||
*[[Golf Club]] | |||
*[[Tennis Racket]] | |||
{{Navbox items|blunt}} | |||
[[Category:Sports]] |
Latest revision as of 11:57, 30 April 2024
A badminton racket is a one-handed improvised long blunt weapon.
Usage
Weapon
It has poor damage, poor durability, and high attack speed.
Breaking doors
It is very poor at breaking down doors, dealing only 2 damage per hit.
Tree chopping
It cannot be used to chop down trees.
Condition
The badminton racket has a maximum condition of 4. 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 (3 + 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/3 (33%) |
0 | 4 | 1/5 (20%) |
0 | 8 | 1/7 (14%) |
4 | 0 | 1/7 (14%) |
8 | 0 | 1/11 (9%) |
4 | 4 | 1/9 (11%) |
4 | 8 | 1/11 (9%) |
8 | 8 | 1/15 (7%) |
10 | 10 | 1/17 (6%) |
Repairing
Materials that can be used to repair the badminton racket, based on first time repairing.
Repair BadmintonRacket |
---|
Potentially repairs: 50%
Chance of success: 95% Needs:
Duct Tape (2 units) |
Potentially repairs: 20%
Chance of success: 95% Needs:
Adhesive Tape (2 units) |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
bedroom | crate | 0.65% |
closet | crate | 0.65% |
closet | crate | 10.78% |
garagestorage | crate | 0.65% |
garagestorage | crate | 10.78% |
schoolstorage | crate | 23.28% |
schoolstorage | crate | 41.14% |
sportstorage | crate | 23.28% |
sportstorage | crate | 41.14% |
sportstorage | metal_shelves | 23.28% |
sportstorage | metal_shelves | 41.14% |
sportstorage | shelves | 23.28% |
sportstorage | shelves | 41.14% |
sportstore | shelves | 23.28% |
sportstore | shelves | 41.14% |
storageunit | crate | 0.65% |
storageunit | crate | 10.78% |
storageunit | metal_shelves | 0.65% |
storageunit | metal_shelves | 10.78% |
Code
Item
Source: ProjectZomboid\media\scripts\items_weapons.txt
item BadmintonRacket
{
DisplayCategory = Sports,
MaxRange = 1.25,
WeaponSprite = BadmintonRacket,
MinAngle = 0.75,
Type = Weapon,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 3,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 4,
MaxHitCount = 2,
DoorDamage = 2,
SwingAnim = Bat,
DisplayName = Badminton Racket,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = BadmintonRacket,
BreakSound = BadmintonRacketBreak,
DoorHitSound = BadmintonRacketHit,
HitSound = BadmintonRacketHit,
HitFloorSound = BadmintonRacketHit,
SwingSound = BadmintonRacketSwing,
TreeDamage = 0,
CriticalChance = 0,
MinDamage = 0.1,
MaxDamage = 0.2,
BaseSpeed = 1.2,
AttachmentType = Racket,
}
Repair
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix Badminton Racket
{
Require : BadmintonRacket,
Fixer : DuctTape=2,
Fixer : Scotchtape=3,
}