Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Violin

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Violin
Violin Model.png
General
Category
Instrument
Encumbrance
Moodle Icon HeavyLoad.png
0.7
Equipped
One-handed
Skill
Properties
Max condition
1
Condition lower chance
1
Performance
Damage
0.2–0.4
Door damage
5
Tree damage
0
Range
0.61–1
Attack speed
1.2
Knockback
0.3
Crit chance
5%
Technical
Item ID
Base.Violin

A violin is a short blunt melee weapon.

Usage

Weapon

The violin can attack up to 2 enemies at a time dealing a maximum of 0.4 damage to enemies (unless a critical hit) from up to 1 tiles away at an attack speed of 1.2.

Breaking doors

It can be used to bash down doors, dealing 5 damage per hit.

Condition

The violin 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 maintenance and short blunt levels.

For how this is calculated, see: Condition
Maintenance level Short blunt level Condition lower chance Average condition
0 0 1/1 (100%) 1
0 4 1/3 (33%) 3
0 8 1/5 (20%) 5
4 0 1/5 (20%) 5
8 0 1/9 (11%) 9
4 4 1/7 (14%) 7
4 8 1/9 (11%) 9
8 8 1/13 (8%) 13
10 10 1/15 (7%) 15

Repairing

Violin

For more information, see Condition
Fixer Skill Repairs Success chance
Duct Tape Duct Tape 50% 95%
Adhesive Tape Adhesive Tape 20% 95%

Location

The loot distributions can be found in the table(s) below.

Violin distributionShow / Hide

Effective chance calculations are based off of default 'apocalypse' loot settings, with no luck modifier, and average 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. Duplicate entries do exist, but have been removed for clarity.

Containers
Building/Room Container Effective chance
bedroom crate 11.21%
bedroom crate 0.65%
closet crate 11.21%
closet crate 0.65%
closet metal_shelves 11.21%
garagestorage crate 11.21%
garagestorage crate 0.65%
livingroom wardrobe 11.21%
musicstore shelves 19.68%
pawnshop shelves 19.68%
pawnshopstorage crate 11.21%
pawnshopstorage metal_shelves 11.21%
storageunit crate 11.21%
storageunit crate 0.65%
storageunit metal_shelves 11.21%
storageunit metal_shelves 0.65%

Gallery

History

Base.Violin

Version Description
Build 41.65 DisplayCategory added with value Instrument.
Build 41.54 BreakSound changed from BreakMetalItem to ViolinBreak.
DoorHitSound added with value ViolinHit.
HitFloorSound added with value ViolinHit.
HitSound added with value ViolinHit.
SwingSound added with value ViolinSwing.
Build 41.12 Released on this version.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Violin
    {
        DisplayCategory = Instrument,
        MaxRange	=	1,
        WeaponSprite	=	Violin,
        MinAngle	=	0.65,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	SmallBlunt,
        ConditionLowerChanceOneIn	=	1,
        Weight	=	0.7,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	1,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Bat,
        DisplayName	=	Violin,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Violin,
        BreakSound  =   ViolinBreak,
        DoorHitSound = ViolinHit,
		HitSound = ViolinHit,
		HitFloorSound = ViolinHit,
		SwingSound = ViolinSwing,
        TreeDamage  =   0,
        CriticalChance	=	5,
        MinDamage	=	0.2,
        MaxDamage	=	0.4,
        BaseSpeed = 1.2,
    }

See also