Drumstick: Difference between revisions

From PZwiki
(Add infobox, navbox)
(Page contents largely auto-generated using ItemZed)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
<!-- This page has been auto-generated using ItemZed with a custom Lua script -->
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Languages}}
{{Header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=68}}
{{Infobox weapon
{{Infobox weapon
|display_name=Drumstick
|display_name=Drumstick
|name_colour=Weapon
|image=Drumstick_Model.png
|name_text_colour=Weapon
|image_width=200px
|image=Image.png
|image_width=120px
|alternate_image=Drumsticks.png
|alternate_image=Drumsticks.png
|alternate_name=Drumstick
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Instrument
|weight=3
|weight=3
|equipped=One-handed
|equipped=One-handed
|condition_max=1
|condition_max=1
<!--CHARACTERISTICS-->
<!--DAMAGE-->
<!--DAMAGE-->
|type=SmallBlunt
|type=Blunt
|swing_time=4
|skill_type=Short Blunt
|base_speed=1.3
|min_range=0.61
|min_range=0.61
|max_range=0.9
|max_range=0.9
|min_damage=0.1
|min_damage=0.1
|max_damage=0.2
|max_damage=0.2
|crit_chance=0
|tree_damage=0
|door_damage=0
|push_back=0.3
|push_back=0.3
|knockdown=2
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Drumstick
|ingredients=
|class_name=Base.Drumstick
}}
}}
A '''drumstick''' is an improvised short blunt weapon. It currently cannot be used as a musical instrument.
A <b>drumstick</b> 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 [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod &times; 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.
{{Durability weapon|1}}
===Repairing===
Materials that can be used to repair the drumstick, based on first time repairing. Repairing the drumstick makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
<!-- {{Fixing weapon
|item=Drumstick
|woodglue=2
|woodgluerepairs=20
|woodgluechance=35
|woodwork=2
|ducttape=2
|ducttaperepairs=10
|ducttapechance=95
|glue=2
|gluerepairs=10
|gluechance=95
|scotchtape=4
|scotchtaperepairs=10
|scotchtapechance=95
}}-->
==Distribution==
TODO
<!-- ==Crafting== -->
<!-- ==Trivia== -->
==Gallery==
<gallery>
File:Drumsticks.png|Item icon
File:Drumstick_Model.png|Item model
</gallery>
==Code==
<b><i>From items_weapons.txt (Project Zomboid directory/media/scripts/)</i></b>
{{Retrieved|version=41|incver=68}}
<pre>    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,
}</pre>
==See also==
*[[Flute]]
*[[Violin]]


== Usage ==
{{Navbox weapons}}
A drumstick is a short blunt weapon with very low durability and damage.
{{clear}}
 
<!-- Do not add anything beneath this line, except categories.-->
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
<pre> item Drumstick
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,
</pre>
 
== See Also ==
* [[Violin]]
* [[Banjo]]
 
{{Navbox_weapons}}

Revision as of 14:48, 16 April 2022


Drumstick
Drumstick
Drumstick
General
Category Instrument
Encumbrance
Heavy Load
3
Equipped One-handed
Condition max. 1
Skill Short Blunt
Damage
Type Blunt
Attack speed 1.3
Range 0.61–0.9 tiles
Damage 0.1–0.2
Crit chance 0%
Tree damage 0
Door damage 0
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.Drumstick

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.

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

Repairing

Materials that can be used to repair the drumstick, based on first time repairing. Repairing the drumstick makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Distribution

TODO

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

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

See also