Metal Pipe: Difference between revisions

From PZwiki
(added CodeBox and condition + updates)
Line 91: Line 91:
   | line = true
   | line = true
   | start = 181
   | start = 181
   | source = weapons.txt
   | source = items_weapons.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41

Revision as of 13:35, 29 December 2023

The Game WorldItemsMetal Pipe
Metal Pipe
Metal Pipe
Metal Pipe
General
Category Weapon
Encumbrance
Heavy Load
1.5
Function Metalworking
Equipped One-Handed
Condition max. 8
Skill Short Blunt
Attachment Back
Damage
Type Blunt
Attack speed 0.95
Range 0.61–1.2 tiles
Damage 0.6–1.0
Door damage 1
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.MetalPipe

A metal pipe is a material required in various metalworking recipes.

Usage

Metalworking

Main article: Metalworking

Metal pipes are required in nearly all metalworking construction recipes.

Weapon

Metal pipes can make for decent early game weapons, as they do damage comparable to most other Short Blunt weapons, while being relatively easy to find early on. They are also capable of hitting two zombies at once if multihit is enabled. Combined with their good durability, metal pipes can be surprisingly effective at clearing small groups of zombies. Due to it be attached to the back, it can also save space on the character's belt for other weapons until a better back-attached weapon is found.

Condition

The metal pipe has a maximum condition of 8. 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 (15 + 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/15 (7%)
0 4 1/17 (6%)
0 8 1/19 (5%)
4 0 1/19 (5%)
8 0 1/23 (4%)
4 4 1/21 (5%)
4 8 1/23 (4%)
8 8 1/27 (4%)
10 10 1/29 (3%)

Crafting

Engineering

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
PipeBomb.png
Pipe Bomb
0 XP none Engineer
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
MetalTube.png
Metal Pipe
(consumed)
ElectronicsScrap.png
Scrap Electronics x3
(consumed)
GunpowderJar.png
Gunpowder
(20 units)

(consumed)
Twine.png
Twine
(1 unit)

(consumed)

Metalworking

Walls & Fencing

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
MetalFence Metalwork.png
Metal Fence
5 Metalworking Metalworking 3 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
MetalTube.png
Metal Pipe x1
(consumed)
MetalSheetSmall.png
Small Metal Sheet x2
(consumed)
ScrapMetal.png
Scrap Metal x3
(consumed)
PoleFence Metalwork.png
Pole Fence
5 Metalworking Metalworking 3 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
MetalTube.png
Metal Pipe x3
(consumed)


WiredFence Metalwork.png
Wired Fence
3.75 Metalworking Metalworking 4 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
MetalTube.png
Metal Pipe x2
(consumed)
ScrapMetal.png
Scrap Metal x1
(consumed)
Wire.png
Wire
(1 unit)

(consumed)
BigPoleFence Metalwork.png
Big Pole Fence
6.25 Metalworking Metalworking 7 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x5
(consumed)
ScrapMetal.png
Scrap Metal x2
(consumed)
BigWiredFence Metalwork.png
Big Wired Fence
5 Metalworking Metalworking 5 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
MetalTube.png
Metal Pipe x3
(consumed)
ScrapMetal.png
Scrap Metal x4
(consumed)
Wire.png
Wire
(3 units)

(consumed)

Doors & Gates

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
PoleFenceGate Metalwork.png
Pole Fence Gate
6.25 Metalworking Metalworking 4 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
MetalTube.png
Metal Pipe x3
(consumed)
ScrapMetal.png
Scrap Metal x2
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)
BigPoleFenceGate Metalwork.png
Big Pole Fence Gate
6.25 Metalworking Metalworking 7 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x5
(consumed)
ScrapMetal.png
Scrap Metal x4
(consumed)
BigDoublePoleGate Metalwork.png
Big Double Pole Gate
6.25 Metalworking Metalworking 8 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x10
(consumed)
ScrapMetal.png
Scrap Metal x4
(consumed)
BigDoubleWiredGate Metalwork.png
Big Double Wired Gate
6.25 Metalworking Metalworking 7 The Metalwork Magazine Vol.3 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x8
(consumed)
ScrapMetal.png
Scrap Metal x2
(consumed)

Furniture

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6 Ingredient 7
MetalShelves Metalwork.png
Metal Shelves
5 Metalworking Metalworking 2 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x2
(consumed)
MetalSheetSmall.png
Small Metal Sheet x1
(consumed)
ScrapMetal.png
Scrap Metal x1
(consumed)

MetalCrate.png
Metal Crate
5 Metalworking Metalworking 4 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x2
(consumed)
SheetMetal.png
Metal Sheet x2
(consumed)
MetalSheetSmall.png
Small Metal Sheet x2
(consumed)
ScrapMetal.png
Scrap Metal x1
(consumed)
MetalCounter.png
Metal Counter
5 Metalworking Metalworking 5 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x2
(consumed)
MetalSheetSmall.png
Small Metal Sheet x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)

MetalCounterCorner Metalwork.png
Metal Counter Corner
5 Metalworking Metalworking 5 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x2
(consumed)
MetalSheetSmall.png
Small Metal Sheet x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)

LockerSmall.png
Small Locker
6.25 Metalworking Metalworking 6 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x3
(consumed)
MetalSheetSmall.png
Small Metal Sheet x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)

LockerYellow.png
Big Locker
7.5 Metalworking Metalworking 9 The Metalwork Magazine Vol.2 BlowTorch.png
Propane Torch
(3 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalTube.png
Metal Pipe x8
(consumed)
MetalSheetSmall.png
Small Metal Sheet x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)

Distribution

Buildings

Metal pipes can be found in garages, sheds, storage units, tool stores, logging factory and the counters in an electrician's house.

Vehicles

Metal pipes can be found in the trunk of metalworker's, electrician's, or construction worker's vehicles.

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 MetalPipe
    {
        DisplayCategory = Weapon,
        MaxRange	=	1.2,
        WeaponSprite	=	LeadPipe,
        MinAngle	=	0.72,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;SmallBlunt,
        ConditionLowerChanceOneIn	=	15,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	8,
        MaxHitCount	=	2,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Metal Pipe,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	MetalTube,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   MetalPipeBreak,
        DoorHitSound = MetalPipeHit,
		HitSound = MetalPipeHit,
		HitFloorSound = MetalPipeHit,
		SwingSound = MetalPipeSwing,
        TreeDamage  =   0,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.6,
        MaxDamage	=	1,
        BaseSpeed = 0.95,
        WeaponLength = 0.35,
        AttachmentType = BigWeapon,
     }

See also