Lead Pipe: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category update: "Melee weapons") |
(added CodeBox, Condition & see also and some updates/fixes) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{Header|The Game World|Items|Weapons|Melee weapons|type=Weapon|version=Version 41|incver= | {{Header|The Game World|Items|Weapons|Melee weapons|type=Weapon|version=Version 41|incver=78.16}} | ||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Lead Pipe | |display_name=Lead Pipe | ||
Line 8: | Line 8: | ||
|image_width=200px | |image_width=200px | ||
|alternate_image=Pipe.png | |alternate_image=Pipe.png | ||
|alternate_name= | |alternate_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 26: | Line 28: | ||
|class_name=Base.LeadPipe | |class_name=Base.LeadPipe | ||
}} | }} | ||
A '''lead pipe''' is a short blunt melee [[Weapons | 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 weapon can be attached to the Back slot for quick access and weight reduction. | |||
{| class="pztable" | {| class="pztable" | ||
!Pros | !Pros | ||
Line 47: | Line 52: | ||
|} | |} | ||
===Distribution | ==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== | |||
{{Stub}} | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 52 | |||
| source = weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item LeadPipe | item LeadPipe | ||
{ | { | ||
Line 84: | Line 101: | ||
BreakSound = LeadPipeBreak, | BreakSound = LeadPipeBreak, | ||
DoorHitSound = LeadPipeHit, | DoorHitSound = LeadPipeHit, | ||
HitSound = LeadPipeHit, | |||
HitFloorSound = LeadPipeHit, | |||
SwingSound = LeadPipeSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 30, | CriticalChance = 30, | ||
Line 96: | Line 113: | ||
AttachmentType = BigWeapon, | AttachmentType = BigWeapon, | ||
} | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Plastic Pipe]] | |||
*[[Metal Pipe]] | |||
*[[Metalworking]] | |||
{{Navbox equipment}} | {{Navbox equipment}} | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
Revision as of 12:34, 29 December 2023
Lead Pipe | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Equipped | Two-handed | |
Condition max. | 15 | |
Skill | Long Blunt | |
Attachment | Back | |
Damage | ||
Type | Blunt | |
Attack speed | 0.93 | |
Range | 0.61–1.15 tiles | |
Damage | 0.7–1.2 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base ID | Base.LeadPipe | |
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
Code
Source: ProjectZomboid\media\scripts\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,
}