Electric Bass: Difference between revisions
m (Removing trailing whitespace(s)) |
(Add distro table) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | |||
{{Header | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Electric Bass | |name=Electric Bass | ||
Line 17: | Line 17: | ||
|equipped=One-handed | |equipped=One-handed | ||
|attachment_type=Guitar | |attachment_type=Guitar | ||
|skill_type=Long Blunt | |skill_type=Long Blunt | ||
<!--PROPERTIES--> | <!--PROPERTIES--> | ||
|material= <!-- E.g. Metal --> | |material=<!-- E.g. Metal --> | ||
|material_value= <!-- E.g. MetalValue attribute --> | |material_value=<!-- E.g. MetalValue attribute --> | ||
|condition_max=12 | |condition_max=12 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|damage_type=Blunt | |damage_type=Blunt | ||
Line 34: | Line 30: | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.35 | |max_range=1.35 | ||
|base_speed=1 | |base_speed=1 | ||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=1.5 | |knockdown=1.5 | ||
|crit_chance=70 | |crit_chance=70 | ||
|crit_multiplier=2 | |crit_multiplier=2 | ||
<!-- TECHNICAL --> | <!-- TECHNICAL --> | ||
|item_id=Base.GuitarElectricBassBlack | |item_id=Base.GuitarElectricBassBlack | ||
|item_id2=Base.GuitarElectricBassBlue | |||
|item_id3=Base.GuitarElectricBassRed | |||
}} | }} | ||
An '''electric bass''' is a long blunt melee [[weapon]]. | An '''electric bass''' is a long blunt melee [[weapon]]. | ||
Line 63: | Line 55: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|GuitarElectricBassBlue|41.78.16--> | ||
< | {{clear}} | ||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricBassBlue distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricBassBlue" 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-GuitarElectricBassBlue"> | |||
<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 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 1 | |||
| 20.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricBassBlue" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricBassBlue|41.78.16--> | |||
<!--BOT FLAG|GuitarElectricBassRed|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricBassRed distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricBassRed" 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-GuitarElectricBassRed"> | |||
<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 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 1 | |||
| 20.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricBassRed" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricBassRed|41.78.16--> | |||
<!--BOT FLAG|GuitarElectricBassBlack|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>GuitarElectricBassBlack distribution | |||
<span class="mw-customtoggle-togglebox-GuitarElectricBassBlack" 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-GuitarElectricBassBlack"> | |||
<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 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| musicstore | |||
| {{ll|shelves}} | |||
| 1 | |||
| 20.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-GuitarElectricBassBlack" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|GuitarElectricBassBlack|41.78.16--> | |||
==Code== | ==Code== | ||
Line 86: | Line 275: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item GuitarElectricBassBlack | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 140: | Line 329: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item GuitarElectricBassBlue | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 194: | Line 383: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item GuitarElectricBassRed | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 246: | Line 435: | ||
*[[Violin]] | *[[Violin]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Instruments]] | [[Category:Instruments]] |
Revision as of 17:25, 24 April 2024
Base.GuitarElectricBassBlue
Base.GuitarElectricBassRed
An electric bass is a long blunt melee weapon.
Usage
Weapon
The electric bass can attack up to 3 enemies at a time dealing a maximum of 1.4 damage to enemies (unless a critical hit) from up to 1.35 tiles away at an attack speed of 1.
Breaking doors
It is effective at bashing down doors, dealing 10 damage per hit.
Condition
The electric bass has a maximum condition of 12. 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 (9 + 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/9 (11%) |
0 | 4 | 1/11 (9%) |
0 | 8 | 1/13 (8%) |
4 | 0 | 1/13 (8%) |
8 | 0 | 1/17 (6%) |
4 | 4 | 1/15 (7%) |
4 | 8 | 1/17 (6%) |
8 | 8 | 1/21 (5%) |
10 | 10 | 1/23 (4%) |
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 |
musicstore | shelves | 4 | 20.0 |
musicstore | shelves | 1 | 20.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 |
musicstore | shelves | 4 | 20.0 |
musicstore | shelves | 1 | 20.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 |
musicstore | shelves | 4 | 20.0 |
musicstore | shelves | 1 | 20.0 |
Code
Black Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassBlack
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassBlack,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Black Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricBlack,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}
Blue Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassBlue
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassBlue,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Blue Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricBlue,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}
Red Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassRed
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassRed,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Red Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricRed,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}