Electric Guitar: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category update: "Melee weapons") |
(added CodeBox, removed some autogenerated content) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver= | {{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}} | ||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Electric Guitar | |display_name=Electric Guitar | ||
Line 39: | Line 38: | ||
|class_name=Base.GuitarElectricBlack<br>Base.GuitarElectricBlue<br>Base.GuitarElectricRed | |class_name=Base.GuitarElectricBlack<br>Base.GuitarElectricBlue<br>Base.GuitarElectricRed | ||
}} | }} | ||
An | An '''electric guitar''' is a long blunt melee [[weapon]]. | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
Line 45: | Line 45: | ||
===Breaking doors=== | ===Breaking doors=== | ||
It is effective at bashing down [[Door|doors]], dealing 10 damage per hit. | It is effective at bashing down [[Door|doors]], dealing 10 damage per hit. | ||
==Condition== | ==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> | 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. | Below is an example of the chance of losing durability at varying levels of [[Skills|maintenance]] and [[Skills|long blunt]] levels. | ||
{{Durability weapon|7}} | {{Durability weapon|7}} | ||
==Distribution== | ==Distribution== | ||
{{Stub}} | |||
==Gallery== | ==Gallery== | ||
<gallery> | <gallery> | ||
Line 79: | Line 63: | ||
File:Guitar_ElectricRed_Model.png|Red variant model | File:Guitar_ElectricRed_Model.png|Red variant model | ||
</gallery> | </gallery> | ||
==Code== | ==Code== | ||
{{CodeBox| | |||
[[File:GuitarElectricBlack.png]] ''Black Electric Guitar'' | |||
{{ | {{CodeSnip | ||
{{ | | lang = java | ||
| line = true | |||
| start = 3142 | |||
| source = weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item GuitarElectricBlack | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 116: | Line 108: | ||
BreakSound = ElectricGuitarBreak, | BreakSound = ElectricGuitarBreak, | ||
DoorHitSound = ElectricGuitarHit, | DoorHitSound = ElectricGuitarHit, | ||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 55, | CriticalChance = 55, | ||
Line 127: | Line 119: | ||
BaseSpeed = 1.1, | BaseSpeed = 1.1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
[[File:GuitarElectricBlue.png]] ''Blue Electric Guitar'' | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 3187 | |||
| source = weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item GuitarElectricBlue | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 163: | Line 164: | ||
BreakSound = ElectricGuitarBreak, | BreakSound = ElectricGuitarBreak, | ||
DoorHitSound = ElectricGuitarHit, | DoorHitSound = ElectricGuitarHit, | ||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 55, | CriticalChance = 55, | ||
Line 174: | Line 175: | ||
BaseSpeed = 1.1, | BaseSpeed = 1.1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
[[File:GuitarElectricRed.png]] ''Red Electric Guitar'' | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 3232 | |||
| source = weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item GuitarElectricRed | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 210: | Line 220: | ||
BreakSound = ElectricGuitarBreak, | BreakSound = ElectricGuitarBreak, | ||
DoorHitSound = ElectricGuitarHit, | DoorHitSound = ElectricGuitarHit, | ||
HitSound = ElectricGuitarHit, | |||
HitFloorSound = ElectricGuitarHit, | |||
ImpactSound = ElectricGuitarHit, | |||
SwingSound = ElectricGuitarSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 55, | CriticalChance = 55, | ||
Line 221: | Line 231: | ||
BaseSpeed = 1.1, | BaseSpeed = 1.1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 228: | Line 240: | ||
*[[Electric Bass]] | *[[Electric Bass]] | ||
*[[Violin]] | *[[Violin]] | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
Revision as of 13:55, 28 December 2023
Electric Guitar | ||||
---|---|---|---|---|
| ||||
General | ||||
Category | Instrument | |||
Encumbrance | 2.8 | |||
Equipped | One-handed | |||
Condition max. | 10 | |||
Skill | Long Blunt | |||
Attachment | Back | |||
Damage | ||||
Type | Blunt | |||
Attack speed | 1.1 | |||
Range | 0.61–1.35 tiles | |||
Damage | 0.8–1.2 | |||
Crit chance | 55% | |||
Tree damage | 0 | |||
Door damage | 10 | |||
Knockback | 0.3 | |||
Knockdown | 1.5 | |||
Technical details | ||||
Base 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 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
Gallery
Code
Black Electric Guitar
Source: ProjectZomboid\media\scripts\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\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\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,
}