Acoustic Guitar: Difference between revisions

From PZwiki
m (Specified category.)
m (Automated Formatting)
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{Header|The Game World|Items|Weapons|Melee weapons|Blunt weapons|Long blunt weapons|type=Weapon|version=Version 41|incver=50}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Acoustic Guitar
|name=Acoustic Guitar
|name_colour=Weapon
|model=GuitarAcoustic_Model.png
|name_text_colour=Weapon
|icon=GuitarAcoustic.png
|image=GuitarAcoustic_Model.png
|image_width=200px
|alternate_image=GuitarAcoustic.png
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Instrument
|weight=2.3
|weight=2.3
|equipped=Two-handed
|equipped=Two-handed
|attachment_type=GuitarAcoustic
<!--PROPERTIES-->
|material=<!-- E.g. Metal -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=2
|condition_max=2
|attachment_type=GuitarAcoustic
<!--CHARACTERISTICS-->
<!--DAMAGE-->
<!--DAMAGE-->
|type=Blunt
|damage_type=Blunt
|swing_time=3.0
|min_range=0.61
|max_range=1.3
|min_damage=0.3
|min_damage=0.3
|max_damage=0.8
|max_damage=0.8
|door_damage=3
|tree_damage=10
|tree_damage=10
|door_damage=3
|min_range=0.61
|max_range=1.3
|base_speed=0.9
|push_back=0.3
|push_back=0.3
|knockdown=1.5
|knockdown=1.5
<!--TECHNICAL DETAILS-->
<!-- TECHNICAL -->
|class_name=GuitarAcoustic
|item_id=Base.GuitarAcoustic
}}
}}
An '''acoustic guitar''' is an improvised blunt weapon.
An '''acoustic guitar''' is an improvised blunt weapon.
Line 34: Line 33:
An acoustic guitar can be used as an improvised weapon. It has poor durability and damage, but can hit two zombies simultaneously.
An acoustic guitar can be used as an improvised weapon. It has poor durability and damage, but can hit two zombies simultaneously.


It cannot be played as of Build 41.50.
It cannot be played as of Build 41.78.16.
 
==Condition==
The acoustic guitar has a maximum condition of 2. 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 &times; 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}}
 
==Distribution==
The loot distributions can be found in the table(s) below.


== Distribution ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''TODO'''
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|BandPractice
|[[crate]]
|4
|2
|-
|rowspan="6"|all
|[[postbox]]
|4
|4
|-
|[[wardrobe]]
|4
|0.01
|-
|[[wardrobe]]
|4
|0.01
|-
|[[wardrobe]]
|4
|0.01
|-
|[[wardrobe]]
|4
|0.01
|-
|[[wardrobe]]
|4
|0.01
|-
|rowspan="3"|bedroom
|[[crate]]
|4
|4
|-
|[[crate]]
|1
|0.1
|-
|[[wardrobe]]
|4
|0.02
|-
|closet
|[[metal_shelves]]
|4
|4
|-
|pawnshop
|[[shelves]]
|4
|1
|}


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=50}}
| {{CodeSnip
<pre> item GuitarAcoustic
  | lang = java
MaxRange = 1.3,
  | line = true
MinAngle = 0.8,
  | start = 1590
WeaponSprite = Guitar_Acoustic,
  | source = items_weapons.txt
Type = Weapon,
  | retrieved = true
MinimumSwingTime = 3.0,
  | version = 41.78.16
KnockBackOnNoDeath = TRUE,
  | code =
Categories = Blunt,
item GuitarAcoustic
ConditionLowerChanceOneIn = 3,
    {
Weight = 2.3,
        DisplayCategory = Instrument,
SplatNumber = 1,
        MaxRange = 1.3,
PushBackMod = 0.3,
MinAngle = 0.8,
SubCategory = Swinging,
WeaponSprite = Guitar_Acoustic,
ConditionMax = 2,
Type = Weapon,
MaxHitCount = 2,
MinimumSwingTime = 3.0,
DoorDamage = 3,
KnockBackOnNoDeath = TRUE,
IdleAnim = Idle_Weapon2,
Categories = Blunt,
SwingAnim = Bat,
ConditionLowerChanceOneIn = 3,
DisplayName = Acoustic Guitar,
Weight = 2.3,
MinRange = 0.61,
SplatNumber = 1,
SwingTime = 3.0,
PushBackMod = 0.3,
HitAngleMod = -30,
SubCategory = Swinging,
SplatSize = 5,
ConditionMax = 2,
KnockdownMod = 1.5,
MaxHitCount = 3,
SplatBloodOnNoDeath = TRUE,
DoorDamage = 3,
Icon = GuitarAcoustic,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
SwingAnim = Bat,
TwoHandWeapon = TRUE,
DisplayName = Acoustic Guitar,
BreakSound = BreakWoodItem,
MinRange = 0.61,
TreeDamage = 10,
SwingTime = 3.0,
CriticalChance = 20,
HitAngleMod = -30,
CritDmgMultiplier = 2,
SplatSize = 5,
MinDamage = 0.3,
KnockdownMod = 1.5,
MaxDamage = 0.8,
SplatBloodOnNoDeath = TRUE,
BaseSpeed = 0.9,
Icon = GuitarAcoustic,
AttachmentType = GuitarAcoustic,
RunAnim = Run_Weapon2,
</pre>
        TwoHandWeapon = TRUE,
        DoorHitSound = AcousticGuitarHit,
HitSound = AcousticGuitarHit,
HitFloorSound = AcousticGuitarHit,
        BreakSound = AcousticGuitarBreak,
SwingSound = AcousticGuitarSwing,
        TreeDamage =   10,
        CriticalChance = 20,
        CritDmgMultiplier = 2,
        MinDamage = 0.3,
        MaxDamage = 0.8,
        BaseSpeed = 0.9,
        AttachmentType = GuitarAcoustic,
    }
}}
}}
 
==See also==
*[[Electric Guitar]]
 
{{Navbox items|blunt}}


== See Also ==
* [[Mop]]
* [[Bleach]]


{{Navbox_weapons}}
[[Category:Instruments]]

Revision as of 06:04, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Acoustic Guitar
GuitarAcoustic Model.png
General
Category
Instrument
Encumbrance
Moodle Icon HeavyLoad.png
2.3
Equipped
Two-handed
Slot attached
Back
Properties
Max condition
2
Performance
Damage type
Blunt
Damage
0.3–0.8
Door damage
3
Tree damage
10
Range
0.61–1.3
Attack speed
0.9
Knockback
0.3
Knockdown
1.5
Technical
Item ID
Base.GuitarAcoustic

An acoustic guitar is an improvised blunt weapon.

Usage

An acoustic guitar can be used as an improvised weapon. It has poor durability and damage, but can hit two zombies simultaneously.

It cannot be played as of Build 41.78.16.

Condition

The acoustic guitar has a maximum condition of 2. 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.

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

Distribution

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

Containers
Building/Room Container Rolls Chance
BandPractice crate 4 2
all postbox 4 4
wardrobe 4 0.01
wardrobe 4 0.01
wardrobe 4 0.01
wardrobe 4 0.01
wardrobe 4 0.01
bedroom crate 4 4
crate 1 0.1
wardrobe 4 0.02
closet metal_shelves 4 4
pawnshop shelves 4 1

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 GuitarAcoustic
    {
        DisplayCategory = Instrument,
        MaxRange	=	1.3,
		MinAngle	=	0.8,
		WeaponSprite	=	Guitar_Acoustic,
		Type	=	Weapon,
		MinimumSwingTime	=	3.0,
		KnockBackOnNoDeath	=	TRUE,
		Categories	=	Blunt,
		ConditionLowerChanceOneIn	=	3,
		Weight	=	2.3,
		SplatNumber	=	1,
		PushBackMod	=	0.3,
		SubCategory	=	Swinging,
		ConditionMax	=	2,
		MaxHitCount	=	3,
		DoorDamage	=	3,
		IdleAnim	=	Idle_Weapon2,
		SwingAnim	=	Bat,
		DisplayName	=	Acoustic Guitar,
		MinRange	=	0.61,
		SwingTime	=	3.0,
		HitAngleMod	=	-30,
		SplatSize	=	5,
		KnockdownMod	=	1.5,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	GuitarAcoustic,
		RunAnim	=	Run_Weapon2,
        TwoHandWeapon = TRUE,
        DoorHitSound = AcousticGuitarHit,
		HitSound = AcousticGuitarHit,
		HitFloorSound = AcousticGuitarHit,
        BreakSound = AcousticGuitarBreak,
		SwingSound = AcousticGuitarSwing,
        TreeDamage  =   10,
        CriticalChance	=	20,
        CritDmgMultiplier = 2,
        MinDamage	=	0.3,
        MaxDamage	=	0.8,
        BaseSpeed = 0.9,
        AttachmentType = GuitarAcoustic,
    }

See also