Electric Guitar: Difference between revisions
(Add header, infobox, navbox, format code, see also) |
(Page contents largely auto-generated using ItemZed) |
||
Line 1: | Line 1: | ||
{{ | <!-- This page has been auto-generated using ItemZed with a custom Lua script --> | ||
{{ | {{Languages}} | ||
{{Header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=68}} | |||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Electric Guitar | |display_name=Electric Guitar | ||
|image=Guitar_ElectricBlack_Model.png | |||
|image_width=200px | |||
|image= | |||
|image_width= | |||
|alternate_image=GuitarElectricBlack.png | |alternate_image=GuitarElectricBlack.png | ||
|alternate_name=Black Electric Guitar | |||
|alternate_link= | |||
|alternate_image2=GuitarElectricBlue.png | |alternate_image2=GuitarElectricBlue.png | ||
|alternate_name2=Blue Electric Guitar | |||
|alternate_link2= | |||
|alternate_image3=GuitarElectricRed.png | |alternate_image3=GuitarElectricRed.png | ||
|alternate_name3=Red Electric Guitar | |||
|alternate_link3= | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category= | |category=Instrument | ||
|weight=2.8 | |weight=2.8 | ||
|equipped= | |equipped=One-handed | ||
|condition_max=10 | |condition_max=10 | ||
|attachment_type=Guitar | |attachment_type=Guitar | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|type=Blunt | |type=Blunt | ||
| | |skill_type=Long Blunt | ||
|base_speed=1.1 | |||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.35 | |max_range=1.35 | ||
|min_damage=0.8 | |min_damage=0.8 | ||
|max_damage=1.2 | |max_damage=1.2 | ||
|crit_chance=55 | |||
|crit_multiplier=2 | |||
|tree_damage=0 | |tree_damage=0 | ||
|door_damage=10 | |door_damage=10 | ||
Line 29: | Line 36: | ||
|knockdown=1.5 | |knockdown=1.5 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|class_name=GuitarElectricBlack<br>GuitarElectricBlue<br>GuitarElectricRed | |ingredients= | ||
|class_name=Base.GuitarElectricBlack<br>Base.GuitarElectricBlue<br>Base.GuitarElectricRed | |||
}} | }} | ||
An <b>electric guitar</b> 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|doors]], 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}} | |||
===Repairing=== | |||
Materials that can be used to repair the electric guitar, based on first time repairing. Repairing the electric guitar makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased. | |||
<!-- {{Fixing weapon | |||
|item=Electric Guitar | |||
|woodglue=2 | |||
|woodgluerepairs=20 | |||
|woodgluechance=35 | |||
|woodwork=2 | |||
|ducttape=2 | |||
|ducttaperepairs=10 | |||
|ducttapechance=95 | |||
|glue=2 | |||
|gluerepairs=10 | |||
|gluechance=95 | |||
|scotchtape=4 | |||
|scotchtaperepairs=10 | |||
|scotchtapechance=95 | |||
}}--> | |||
==Distribution== | |||
TODO | |||
<!-- ==Trivia== --> | |||
==Gallery== | |||
<gallery> | |||
File:GuitarElectricBlack.png|Black variant icon | |||
File:GuitarElectricBlue.png|Blue variant icon | |||
File:GuitarElectricRed.png|Red variant icon | |||
File:Guitar_ElectricBlack_Model.png|Black variant model | |||
File:Guitar_ElectricBlue_Model.png|Blue variant model | |||
File:Guitar_ElectricRed_Model.png|Red variant model | |||
</gallery> | |||
==Code== | |||
<b><i>From items_weapons.txt (Project Zomboid directory/media/scripts/)</i></b> | |||
{{Img_item|GuitarElectricBassBlack}} <i>Black Electric Guitar</i> | |||
{{Retrieved|version=41|incver=68}} | |||
{{Retrieved|version=41|incver= | <pre> item GuitarElectricBlack | ||
<pre> 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, | |||
</pre> | }</pre> | ||
== | {{Img_item|GuitarElectricBassBlue}} <i>Blue Electric Guitar</i> | ||
{{Retrieved|version=41|incver=68}} | |||
<pre> 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, | |||
}</pre> | |||
{{ | {{Img_item|GuitarElectricBassRed}} <i>Red Electric Guitar</i> | ||
{{Retrieved|version=41|incver=68}} | |||
<pre> 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, | |||
}</pre> | |||
==See also== | |||
*[[Acoustic Guitar]] | |||
*[[Banjo]] | |||
*[[Electric Bass]] | |||
*[[Violin]] | |||
{{Navbox weapons}} | |||
{{clear}} | |||
<!-- Do not add anything beneath this line, except categories.--> |
Revision as of 14:19, 16 April 2022
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%) |
Repairing
Materials that can be used to repair the electric guitar, based on first time repairing. Repairing the electric guitar makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
Distribution
TODO
Gallery
Code
From items_weapons.txt (Project Zomboid directory/media/scripts/)
Black Electric Guitar Retrieved: Build 41.68
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 Retrieved: Build 41.68
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 Retrieved: Build 41.68
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, }