Electric Guitar: Difference between revisions
(Add header, infobox, navbox, format code, see also) |
(Add distro table) |
||
(21 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Electric Guitar | ||
| | |model=Guitar_ElectricBlack_Model.png | ||
| | |icon=GuitarElectricBlack.png | ||
| | |icon_name=Black Electric Guitar | ||
| | |model2=Guitar_ElectricBlue_Model.png | ||
| | |icon2=GuitarElectricBlue.png | ||
| | |icon_name2=Blue Electric Guitar | ||
| | |model3=Guitar_ElectricRed_Model.png | ||
|icon3=GuitarElectricRed.png | |||
|icon_name3=Red Electric Guitar | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category= | |category=Instrument | ||
|weight=2.8 | |weight=2.8 | ||
|equipped= | |equipped=One-handed | ||
|attachment_type=Guitar | |||
|skill_type=Long Blunt | |||
<!--PROPERTIES--> | |||
|material=<!-- E.g. Metal --> | |||
|material_value=<!-- E.g. MetalValue attribute --> | |||
|condition_max=10 | |condition_max=10 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Blunt | ||
|min_damage=0.8 | |min_damage=0.8 | ||
|max_damage=1.2 | |max_damage=1.2 | ||
|door_damage=10 | |||
|tree_damage=0 | |tree_damage=0 | ||
| | |min_range=0.61 | ||
|max_range=1.35 | |||
|base_speed=1.1 | |||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=1.5 | |knockdown=1.5 | ||
<!--TECHNICAL | |crit_chance=55 | ||
| | |crit_multiplier=2 | ||
<!-- TECHNICAL --> | |||
|item_id=Base.GuitarElectricBlack, Base.GuitarElectricBlue, Base.GuitarElectricRed | |||
}} | }} | ||
An '''electric guitar''' is a long blunt melee [[weapon]]. | |||
==Usage== | |||
===Weapon=== | |||
The electric guitar can attack up to 3 enemies at a time, dealing a maximum of 1.2 damage to enemies (unless a critical hit) from up to 1.35 [[tiles]] away at an attack speed of 1.1. | |||
===Breaking doors=== | |||
It is effective at bashing down [[door]]s, dealing 10 damage per hit. | |||
==Condition== | |||
The electric guitar has a maximum condition of 10. 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 (7 + maintenanceMod × 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 [[Skills|maintenance]] and [[Skills|long blunt]] levels. | |||
{{Durability weapon|7}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|GuitarElectricBlue|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricBlue distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricBlue" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-GuitarElectricBlue"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| BandPractice | |||
| {{ll|crate}} | |||
| 4 | |||
| 2.0 | |||
|- | |||
| all | |||
| {{ll|Flightcase}} | |||
| 1 | |||
| 5.0 | |||
|- | |||
| all | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1 | |||
| 0.1 | |||
|- | |||
| bedroom | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| closet | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 1 | |||
| 8.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricBlue" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricBlue|41.78.16--> | |||
<!--BOT FLAG|GuitarElectricRed|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricRed distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricRed" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-GuitarElectricRed"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| BandPractice | |||
| {{ll|crate}} | |||
| 4 | |||
| 2.0 | |||
|- | |||
| all | |||
| {{ll|Flightcase}} | |||
| 1 | |||
| 5.0 | |||
|- | |||
| all | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1 | |||
| 0.1 | |||
|- | |||
| bedroom | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| closet | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 1 | |||
| 8.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricRed" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricRed|41.78.16--> | |||
<!--BOT FLAG|GuitarElectricBlack|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricBlack distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricBlack" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-GuitarElectricBlack"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| BandPractice | |||
| {{ll|crate}} | |||
| 4 | |||
| 2.0 | |||
|- | |||
| all | |||
| {{ll|Flightcase}} | |||
| 1 | |||
| 5.0 | |||
|- | |||
| all | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1 | |||
| 0.1 | |||
|- | |||
| bedroom | |||
| {{ll|wardrobe}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| closet | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 1 | |||
| 8.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricBlack" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricBlack|41.78.16--> | |||
==Code== | |||
{{CodeBox| | |||
[[File:GuitarElectricBlack.png]] ''Black Electric Guitar'' | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3142 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricBlack | |||
{ | |||
DisplayCategory = Instrument, | |||
MaxRange = 1.35, | |||
MinAngle = 0.8, | |||
WeaponSprite = Guitar_ElectricBlack, | |||
Type = Weapon, | |||
MinimumSwingTime = 3.0, | |||
KnockBackOnNoDeath = TRUE, | |||
Categories = Blunt, | |||
ConditionLowerChanceOneIn = 7, | |||
Weight = 2.8, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 10, | |||
MaxHitCount = 3, | |||
DoorDamage = 10, | |||
IdleAnim = Idle_Weapon2, | |||
SwingAnim = Heavy, | |||
DisplayName = Black Electric Guitar, | |||
MinRange = 0.61, | |||
SwingTime = 3.0, | |||
HitAngleMod = -30, | |||
SplatSize = 5, | |||
KnockdownMod = 1.5, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = GuitarElectricBlack, | |||
RunAnim = Run_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = ElectricGuitarBreak, | |||
DoorHitSound = ElectricGuitarHit, | |||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | |||
CriticalChance = 55, | |||
CritDmgMultiplier = 2, | |||
MinDamage = 0.8, | |||
MaxDamage = 1.2, | |||
BaseSpeed = 1.1, | |||
AttachmentType = Guitar, | |||
} | |||
}} | |||
[[File:GuitarElectricBlue.png]] ''Blue Electric Guitar'' | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3187 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricBlue | |||
{ | |||
DisplayCategory = Instrument, | |||
MaxRange = 1.35, | |||
MinAngle = 0.8, | |||
WeaponSprite = Guitar_ElectricBlue, | |||
Type = Weapon, | |||
MinimumSwingTime = 3.0, | |||
KnockBackOnNoDeath = TRUE, | |||
Categories = Blunt, | |||
ConditionLowerChanceOneIn = 7, | |||
Weight = 2.8, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 10, | |||
MaxHitCount = 3, | |||
DoorDamage = 10, | |||
IdleAnim = Idle_Weapon2, | |||
SwingAnim = Heavy, | |||
DisplayName = Blue Electric Guitar, | |||
MinRange = 0.61, | |||
SwingTime = 3.0, | |||
HitAngleMod = -30, | |||
SplatSize = 5, | |||
KnockdownMod = 1.5, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = GuitarElectricBlue, | |||
RunAnim = Run_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = ElectricGuitarBreak, | |||
DoorHitSound = ElectricGuitarHit, | |||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | |||
CriticalChance = 55, | |||
CritDmgMultiplier = 2, | |||
MinDamage = 0.8, | |||
MaxDamage = 1.2, | |||
BaseSpeed = 1.1, | |||
AttachmentType = Guitar, | |||
} | |||
}} | |||
[[File:GuitarElectricRed.png]] ''Red Electric Guitar'' | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3232 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricRed | |||
{ | |||
DisplayCategory = Instrument, | |||
MaxRange = 1.35, | |||
MinAngle = 0.8, | |||
WeaponSprite = Guitar_ElectricRed, | |||
Type = Weapon, | |||
MinimumSwingTime = 3.0, | |||
KnockBackOnNoDeath = TRUE, | |||
Categories = Blunt, | |||
ConditionLowerChanceOneIn = 7, | |||
Weight = 2.8, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 10, | |||
MaxHitCount = 3, | |||
DoorDamage = 10, | |||
IdleAnim = Idle_Weapon2, | |||
SwingAnim = Heavy, | |||
DisplayName = Red Electric Guitar, | |||
MinRange = 0.61, | |||
SwingTime = 3.0, | |||
HitAngleMod = -30, | |||
SplatSize = 5, | |||
KnockdownMod = 1.5, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = GuitarElectricRed, | |||
RunAnim = Run_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = ElectricGuitarBreak, | |||
DoorHitSound = ElectricGuitarHit, | |||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | |||
CriticalChance = 55, | |||
CritDmgMultiplier = 2, | |||
MinDamage = 0.8, | |||
MaxDamage = 1.2, | |||
BaseSpeed = 1.1, | |||
AttachmentType = Guitar, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Acoustic Guitar]] | |||
*[[Banjo]] | |||
*[[Electric Bass]] | |||
*[[Violin]] | |||
{{Navbox items|blunt}} | |||
{{ | |||
[[Category:Instruments]] |
Revision as of 17:24, 24 April 2024
An electric guitar is a long blunt melee weapon.
Usage
Weapon
The electric guitar can attack up to 3 enemies at a time, dealing a maximum of 1.2 damage to enemies (unless a critical hit) from up to 1.35 tiles away at an attack speed of 1.1.
Breaking doors
It is effective at bashing down doors, dealing 10 damage per hit.
Condition
The electric guitar has a maximum condition of 10. 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 (7 + 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 maintenance and long blunt levels.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/7 (14%) |
0 | 4 | 1/9 (11%) |
0 | 8 | 1/11 (9%) |
4 | 0 | 1/11 (9%) |
8 | 0 | 1/15 (7%) |
4 | 4 | 1/13 (8%) |
4 | 8 | 1/15 (7%) |
8 | 8 | 1/19 (5%) |
10 | 10 | 1/21 (5%) |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
BandPractice | crate | 4 | 2.0 |
all | Flightcase | 1 | 5.0 |
all | wardrobe | 4 | 0.01 |
bedroom | crate | 4 | 4.0 |
bedroom | crate | 1 | 0.1 |
bedroom | wardrobe | 4 | 0.01 |
closet | crate | 4 | 4.0 |
closet | metal_shelves | 4 | 4.0 |
pawnshop | shelves | 4 | 8.0 |
pawnshop | shelves | 1 | 8.0 |
Building / Room | Container | Rolls | Chance |
---|---|---|---|
BandPractice | crate | 4 | 2.0 |
all | Flightcase | 1 | 5.0 |
all | wardrobe | 4 | 0.01 |
bedroom | crate | 4 | 4.0 |
bedroom | crate | 1 | 0.1 |
bedroom | wardrobe | 4 | 0.01 |
closet | crate | 4 | 4.0 |
closet | metal_shelves | 4 | 4.0 |
pawnshop | shelves | 4 | 8.0 |
pawnshop | shelves | 1 | 8.0 |
Building / Room | Container | Rolls | Chance |
---|---|---|---|
BandPractice | crate | 4 | 2.0 |
all | Flightcase | 1 | 5.0 |
all | wardrobe | 4 | 0.01 |
bedroom | crate | 4 | 4.0 |
bedroom | crate | 1 | 0.1 |
bedroom | wardrobe | 4 | 0.01 |
closet | crate | 4 | 4.0 |
closet | metal_shelves | 4 | 4.0 |
pawnshop | shelves | 4 | 8.0 |
pawnshop | shelves | 1 | 8.0 |
Code
Black Electric Guitar
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBlack
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBlack,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 7,
Weight = 2.8,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Black Electric Guitar,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = GuitarElectricBlack,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricGuitarBreak,
DoorHitSound = ElectricGuitarHit,
HitSound = ElectricGuitarHit,
HitFloorSound = ElectricGuitarHit,
ImpactSound = ElectricGuitarHit,
SwingSound = ElectricGuitarSwing,
TreeDamage = 0,
CriticalChance = 55,
CritDmgMultiplier = 2,
MinDamage = 0.8,
MaxDamage = 1.2,
BaseSpeed = 1.1,
AttachmentType = Guitar,
}
Blue Electric Guitar
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBlue
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBlue,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 7,
Weight = 2.8,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Blue Electric Guitar,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = GuitarElectricBlue,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricGuitarBreak,
DoorHitSound = ElectricGuitarHit,
HitSound = ElectricGuitarHit,
HitFloorSound = ElectricGuitarHit,
ImpactSound = ElectricGuitarHit,
SwingSound = ElectricGuitarSwing,
TreeDamage = 0,
CriticalChance = 55,
CritDmgMultiplier = 2,
MinDamage = 0.8,
MaxDamage = 1.2,
BaseSpeed = 1.1,
AttachmentType = Guitar,
}
Red Electric Guitar
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricRed
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricRed,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 7,
Weight = 2.8,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Red Electric Guitar,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = GuitarElectricRed,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricGuitarBreak,
DoorHitSound = ElectricGuitarHit,
HitSound = ElectricGuitarHit,
HitFloorSound = ElectricGuitarHit,
ImpactSound = ElectricGuitarHit,
SwingSound = ElectricGuitarSwing,
TreeDamage = 0,
CriticalChance = 55,
CritDmgMultiplier = 2,
MinDamage = 0.8,
MaxDamage = 1.2,
BaseSpeed = 1.1,
AttachmentType = Guitar,
}