Drumstick: Difference between revisions
(Page contents largely auto-generated using ItemZed) |
m (Automated Formatting) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | |||
{{Page version|41.78.16}} | |||
{{Header| | {{Infobox item | ||
{{Infobox | |name=Drumstick | ||
| | |model=Drumstick_Model.png | ||
| | |icon=Drumsticks.png | ||
| | |icon_name=Drumstick | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Instrument | |category=Instrument | ||
Line 28: | Line 25: | ||
|knockdown=2 | |knockdown=2 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Drumstick | ||
}} | }} | ||
A | A '''drumstick''' is a short blunt melee [[Weapons|weapon]]. | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The drumstick can attack up to 2 enemies at a time dealing a maximum of 0.2 damage to enemies (unless a critical hit) from up to 0.9 [[tiles]] away at an attack speed of 1.3. | The drumstick can attack up to 2 enemies at a time dealing a maximum of 0.2 damage to enemies (unless a critical hit) from up to 0.9 [[tiles]] away at an attack speed of 1.3. | ||
==Condition== | ==Condition== | ||
The drumstick has a maximum condition of 1. Its rate of degradation is influenced by the [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | The drumstick has a maximum condition of 1. Its rate of degradation is influenced by the [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | ||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | ||
{{Durability weapon|1}} | {{Durability weapon|1}} | ||
==Distribution== | ==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="2"|bedroom | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="2"|closet | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="2"|musicstore | |||
|[[shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|2 | |||
|} | |||
==Gallery== | ==Gallery== | ||
<gallery> | <gallery> | ||
Line 66: | Line 82: | ||
File:Drumstick_Model.png|Item model | File:Drumstick_Model.png|Item model | ||
</gallery> | </gallery> | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 562 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Drumstick | |||
{ | { | ||
DisplayCategory = Instrument, | |||
MaxRange = 0.9, | |||
WeaponSprite = Drumstick, | |||
MinAngle = 0.65, | |||
Type = Weapon, | |||
MinimumSwingTime = 4, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;SmallBlunt, | |||
ConditionLowerChanceOneIn = 1, | |||
Weight = 3, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 1, | |||
MaxHitCount = 2, | |||
DoorDamage = 0, | |||
SwingAnim = Bat, | |||
DisplayName = Drumstick, | |||
MinRange = 0.61, | |||
SwingTime = 4, | |||
KnockdownMod = 2, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = Drumsticks, | |||
BreakSound = DrumstickBreak, | BreakSound = DrumstickBreak, | ||
DoorHitSound = DrumstickHit, | DoorHitSound = DrumstickHit, | ||
HitSound = DrumstickHit, | |||
HitFloorSound = DrumstickHit, | |||
SwingSound = DrumstickSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 0, | CriticalChance = 0, | ||
Line 105: | Line 129: | ||
MaxDamage = 0.2, | MaxDamage = 0.2, | ||
BaseSpeed = 1.3, | BaseSpeed = 1.3, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Flute]] | *[[Flute]] | ||
*[[Violin]] | *[[Violin]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Instruments]] |
Revision as of 08:11, 14 April 2024
A drumstick is a short blunt melee weapon.
Usage
Weapon
The drumstick can attack up to 2 enemies at a time dealing a maximum of 0.2 damage to enemies (unless a critical hit) from up to 0.9 tiles away at an attack speed of 1.3.
Condition
The drumstick has a maximum condition of 1. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (1 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/1 (100%) |
0 | 4 | 1/3 (33%) |
0 | 8 | 1/5 (20%) |
4 | 0 | 1/5 (20%) |
8 | 0 | 1/9 (11%) |
4 | 4 | 1/7 (14%) |
4 | 8 | 1/9 (11%) |
8 | 8 | 1/13 (8%) |
10 | 10 | 1/15 (7%) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bedroom | crate | 4 | 1 |
crate | 4 | 2 | |
closet | metal_shelves | 4 | 1 |
metal_shelves | 4 | 2 | |
musicstore | shelves | 4 | 1 |
shelves | 4 | 2 |
Gallery
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Drumstick
{
DisplayCategory = Instrument,
MaxRange = 0.9,
WeaponSprite = Drumstick,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;SmallBlunt,
ConditionLowerChanceOneIn = 1,
Weight = 3,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 1,
MaxHitCount = 2,
DoorDamage = 0,
SwingAnim = Bat,
DisplayName = Drumstick,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = Drumsticks,
BreakSound = DrumstickBreak,
DoorHitSound = DrumstickHit,
HitSound = DrumstickHit,
HitFloorSound = DrumstickHit,
SwingSound = DrumstickSwing,
TreeDamage = 0,
CriticalChance = 0,
MinDamage = 0.1,
MaxDamage = 0.2,
BaseSpeed = 1.3,
}