Flute: Difference between revisions
m (Automated CodeBox update) |
m (Automated Formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 28: | Line 28: | ||
|item_id=Base.Flute | |item_id=Base.Flute | ||
}} | }} | ||
A '''flute''' is a short blunt melee [[Weapons|weapon]]. | A '''flute''' is a short blunt melee [[Weapons|weapon]]. | ||
Line 51: | Line 50: | ||
! style="width: 3.2em;" | Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
|rowspan="3"|bedroom | |rowspan="3"|bedroom | ||
|[[crate]] | |[[crate]] | ||
|4 | |4 | ||
|4 | |4 | ||
|- | |- | ||
|[[crate]] | |[[crate]] | ||
|1 | |1 | ||
|0.4 | |0.4 | ||
|- | |- | ||
|[[wardrobe]] | |[[wardrobe]] | ||
|4 | |4 | ||
|0.02 | |0.02 | ||
|- | |- | ||
|closet | |closet | ||
|[[metal_shelves]] | |[[metal_shelves]] | ||
|4 | |4 | ||
|4 | |4 | ||
|- | |- | ||
|musicstore | |musicstore | ||
|[[shelves]] | |[[shelves]] | ||
|4 | |4 | ||
|1 | |1 | ||
|} | |} | ||
Line 128: | Line 127: | ||
BaseSpeed = 1.3, | BaseSpeed = 1.3, | ||
AttachmentType = Knife, | AttachmentType = Knife, | ||
} | } | ||
}} | }} | ||
}} | }} | ||
Line 137: | Line 136: | ||
*[[Trumpet]] | *[[Trumpet]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Instruments]] | [[Category:Instruments]] |
Revision as of 08:32, 14 April 2024
A flute is a short blunt melee weapon.
Usage
Weapon
The flute 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 flute 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 | 4 |
crate | 1 | 0.4 | |
wardrobe | 4 | 0.02 | |
closet | metal_shelves | 4 | 4 |
musicstore | shelves | 4 | 1 |
Gallery
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Flute
{
DisplayCategory = Instrument,
MaxRange = 0.9,
WeaponSprite = Flute,
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 = Flute,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = Flute,
BreakSound = FluteBreak,
DoorHitSound = FluteHit,
HitSound = FluteHit,
HitFloorSound = FluteHit,
SwingSound = FluteSwing,
TreeDamage = 0,
CriticalChance = 0,
MinDamage = 0.1,
MaxDamage = 0.2,
BaseSpeed = 1.3,
AttachmentType = Knife,
}