Lead Pipe: Difference between revisions
m (added some skeleton info) |
m (Automated Formatting) |
||
(29 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox item | ||
{{Infobox | |name=Lead Pipe | ||
| | |model=LeadPipe_Model.png | ||
| | |icon=Pipe.png | ||
|icon_name=Lead Pipe | |||
| | |||
| | |||
<!--CHARACTERISTICS--> | <!--CHARACTERISTICS--> | ||
|category=Weapon | |category=Weapon | ||
|weight=1.5 | |weight=1.5 | ||
|equipped=Two-handed | |equipped=Two-handed | ||
|skill_type=Blunt | |||
|attachment_type=BigWeapon | |||
<!--DAMAGE--> | |||
|type=Blunt | |type=Blunt | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.15 | |max_range=1.15 | ||
| | |base_speed=0.93 | ||
|condition_max=15 | |condition_max=15 | ||
|min_damage=0.7 | |min_damage=0.7 | ||
Line 25: | Line 23: | ||
|knockdown=0 | |knockdown=0 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.LeadPipe | ||
}} | }} | ||
A '''lead pipe''' is a blunt melee weapon. | A '''lead pipe''' is a short blunt melee [[Weapons|weapon]]. | ||
==Usage== | ==Usage== | ||
=== | The lead pipe can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 1.2 damage to enemies (unless a critical hit) from up to 1.15 tiles away at an attack speed of 0.93. | ||
The lead pipe is | |||
The weapon can be attached to the Back slot for quick access and weight reduction. | |||
{{Pros-cons | |||
|pros1=Highest minimum and maximum damage ranges for short blunt weapons. | |||
|pros2=Highest durability of short blunt weapons. | |||
|pros3=Highest critical chance of short blunt weapons. | |||
|pros4=Highest condition of short blunt weapons. | |||
|pros5=Second-highest condition chance of short blunt weapons. | |||
|pros6=Third-longest range of short blunt weapons. | |||
|pros7=Not too difficult to find. | |||
|cons1=Second-lowest swing speed of short blunt weapons. | |||
|cons2=Low knockback. | |||
|cons3=Cannot be repaired. | |||
}} | |||
==Condition== | |||
The lead pipe has a maximum condition of 15. Its rate of degradation is influenced by the [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (20 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | |||
{{Durability weapon|20}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|armyhanger | |||
|[[counter]] | |||
|4 | |||
|4 | |||
|- | |||
|rowspan="2"|closet | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|2 | |||
|} | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 52 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LeadPipe | |||
{ | { | ||
DisplayCategory = Weapon, | |||
MaxRange = 1.15, | MaxRange = 1.15, | ||
WeaponSprite = LeadPipe, | WeaponSprite = LeadPipe, | ||
Line 62: | Line 113: | ||
RunAnim = Run_Weapon2, | RunAnim = Run_Weapon2, | ||
IdleAnim = Idle_Weapon2, | IdleAnim = Idle_Weapon2, | ||
BreakSound = | BreakSound = LeadPipeBreak, | ||
DoorHitSound = LeadPipeHit, | |||
HitSound = LeadPipeHit, | |||
HitFloorSound = LeadPipeHit, | |||
SwingSound = LeadPipeSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 30, | CriticalChance = 30, | ||
Line 72: | Line 127: | ||
AttachmentType = BigWeapon, | AttachmentType = BigWeapon, | ||
} | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Plastic Pipe]] | |||
*[[Metal Pipe]] | |||
*[[Metalworking]] | |||
{{Navbox items|blunt}} |
Revision as of 09:40, 14 April 2024
A lead pipe is a short blunt melee weapon.
Usage
The lead pipe can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 1.2 damage to enemies (unless a critical hit) from up to 1.15 tiles away at an attack speed of 0.93.
The weapon can be attached to the Back slot for quick access and weight reduction.
Pros | Cons |
---|---|
|
|
Condition
The lead pipe has a maximum condition of 15. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (20 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/20 (5%) |
0 | 4 | 1/22 (5%) |
0 | 8 | 1/24 (4%) |
4 | 0 | 1/24 (4%) |
8 | 0 | 1/28 (4%) |
4 | 4 | 1/26 (4%) |
4 | 8 | 1/28 (4%) |
8 | 8 | 1/32 (3%) |
10 | 10 | 1/34 (3%) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
armyhanger | counter | 4 | 4 |
closet | crate | 4 | 1 |
crate | 4 | 2 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item LeadPipe
{
DisplayCategory = Weapon,
MaxRange = 1.15,
WeaponSprite = LeadPipe,
MinAngle = 0.7,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;SmallBlunt,
ConditionLowerChanceOneIn = 20,
Weight = 1.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 15,
MaxHitCount = 2,
DoorDamage = 1,
SwingAnim = Bat,
DisplayName = Lead Pipe,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Pipe,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = LeadPipeBreak,
DoorHitSound = LeadPipeHit,
HitSound = LeadPipeHit,
HitFloorSound = LeadPipeHit,
SwingSound = LeadPipeSwing,
TreeDamage = 0,
CriticalChance = 30,
CritDmgMultiplier = 2,
MinDamage = 0.7,
MaxDamage = 1.2,
BaseSpeed = 0.93,
WeaponLength = 0.35,
AttachmentType = BigWeapon,
}