Lead Pipe

From PZwiki
Revision as of 06:03, 6 January 2024 by VibranceBot (talk | contribs) (pztable -> wikitable theme-red)
Lead Pipe
Lead Pipe
Lead Pipe
General
Category Weapon
Encumbrance
Heavy Load
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
  • Highest minimum (0.7) and maximum (1.2) damage ranges for short blunt weapons.
  • Highest durability of Short Blunt weapons (300).
  • Highest critical chance of Short Blunt weapons (30%)
  • Highest condition of Short Blunt weapons (15)
  • Second highest condition chance of Short Blunt weapons (1/20).
  • Third longest range of Short Blunt weapons (1.15).
  • Not too difficult to find.
  • Second lowest swing speed of Short Blunt weapons (0.93)
  • Low knockback (0.3)
  • Cannot be repaired

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.

For how this is calculated, see: Condition
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

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
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,
    }

See also