Metal Pipe: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Melee weapons|Short blunt weapons}}
{{header|The Game World|Items|type=Construction|version=Version 41|incver=53}}{{Infobox weapon
{{Page version|41.53}}
|display_name=Metal Pipe
{{Infobox item
|name_colour=Construction
|name=Metal Pipe
|name_text_colour=Construction
|model=LeadPipe_Model.png
|image=LeadPipe_Model.png
|icon=MetalTube.png
|image_width=200px
|icon_name=Metal Pipe
|alternate_image=MetalTube.png
|alternate_name=Metal Pipe
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 15: Line 12:
|equipped=One-Handed
|equipped=One-Handed
|condition_max=8
|condition_max=8
|skill_type=Short Blunt
|attachment_type=BigWeapon
<!--DAMAGE-->
<!--DAMAGE-->
|type=Small Blunt
|type=Blunt
|swing_time=2
|base_speed=0.95
|min_range=0.61
|min_range=0.61
|max_range=1.2
|max_range=1.2
Line 24: Line 23:
|door_damage=1
|door_damage=1
|push_back=0.3
|push_back=0.3
|knockdown=
|knockdown=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=MetalPipe
|item_id=Base.MetalPipe
}}A '''metal pipe''' is a material required in various [[metalworking]] recipes.
}}
A '''metal pipe''' is a material required in various [[metalworking]] recipes.


==Usage==
==Usage==
Metal pipes are required in nearly all metalworking construction recipes.  
===Metalworking===
{{Main|Metalworking}}
Metal pipes are required in nearly all metalworking construction [[#crafting|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 [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (15 + maintenanceMod &times; 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|15}}


==Crafting==
==Crafting==
===Engineering===
===Engineering===
{{Crafting header|ing=5}}
{{Crafting/sandbox2
{{Crafting electrical|304|ing=5}}
|pipe_bomb
|}
}}


===Metalworking===
===Metalworking===
====Walls & Fencing====
====Walls & Fencing====
{{Crafting header|ing=6}}
{{Crafting/sandbox2
{{Crafting metalworking|308|ing=6}}|-
|metal_fence
{{Crafting metalworking|309|ing=6}}|-
|pole_fence
{{Crafting metalworking|310|ing=6}}|-
|wired_fence
{{Crafting metalworking|311|ing=6}}|-
|big_pole_fence
{{Crafting metalworking|312|ing=6}}|-
|big_wired_fence
|}
}}


====Doors & Gates====
====Doors & Gates====
{{Crafting header|ing=5}}
{{Crafting/sandbox2
{{Crafting metalworking|401|ing=5}}|-
|pole_fence_gate
{{Crafting metalworking|402|ing=5}}|-
|big_pole_fence_gate
{{Crafting metalworking|403|ing=5}}|-
|big_double_pole_gate
{{Crafting metalworking|404|ing=5}}|-
|big_double_wired_gate
|}
}}


====Furniture====
====Furniture====
{{Crafting header|ing=7}}
{{Crafting/sandbox2
{{Crafting metalworking|601|ing=7}}|-
|metal_shelves
{{Crafting metalworking|602|ing=7}}|-
|metal_crate
{{Crafting metalworking|603|ing=7}}|-
|metal_counter
{{Crafting metalworking|604|ing=7}}|-
|metal_counter_corner
{{Crafting metalworking|605|ing=7}}|-
|small_locker
{{Crafting metalworking|606|ing=7}}|-
|big_locker
|}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|MetalPipe|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>MetalPipe distribution
        <span class="mw-customtoggle-togglebox-MetalPipe" 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-MetalPipe">
    <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
    |-
    | Not referenced
    | {{ll|JunkBin}}
    | 4
    | 6.0
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|crate}}
    | 1
    | 2.0
    |-
    | armyhanger
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.6
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 8.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | ConstructionWorkerTruckBed
    | 4
    | 10
    |-
    | ElectricianTruckBed
    | 4
    | 6
    |-
    | MassGenFacTruckBed
    | 4
    | 10
    |-
    | MassGenFacTruckBed
    | 4
    | 20
    |-
    | MetalWelderTruckBed
    | 4
    | 10
    |-
    | MetalWelderTruckBed
    | 4
    | 20
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-MetalPipe" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|MetalPipe|41.78.16-->
===Buildings===
===Buildings===
Metal pipes can be found in garages, sheds, storage units, tool stores, logging factory and the [[Containers#Counters|counters]] in an electrician's house.
Metal pipes can be found in garages, sheds, storage units, tool stores, logging factory and the [[Containers#Counters|counters]] in an electrician's house.
Line 74: Line 202:


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=53}}
| {{CodeSnip
<pre>    item MetalPipe
  | lang = java
  | line = true
  | start = 181
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MetalPipe
     {
     {
        DisplayCategory = Weapon,
         MaxRange = 1.2,
         MaxRange = 1.2,
         WeaponSprite = LeadPipe,
         WeaponSprite = LeadPipe,
Line 103: Line 239:
         RunAnim = Run_Weapon2,
         RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  MetalPipeBreak,
        DoorHitSound = MetalPipeHit,
HitSound = MetalPipeHit,
HitFloorSound = MetalPipeHit,
SwingSound = MetalPipeSwing,
         TreeDamage  =  0,
         TreeDamage  =  0,
         CriticalChance = 30,
         CriticalChance = 30,
Line 112: Line 252:
         WeaponLength = 0.35,
         WeaponLength = 0.35,
         AttachmentType = BigWeapon,
         AttachmentType = BigWeapon,
     }</pre>
     }
}}
}}


==See also==
==See also==
*[[Metal Bar]]
*[[Propane Torch]]
*[[Propane Torch]]
*[[Pipe Wrench]]
*[[Scrap Metal]]
*[[Welding Mask]]
*[[Welding Mask]]
*[[Metal Bar]]
*[[Scrap Metal]]


{{Navbox_weapons}}
{{Navbox items|blunt}}

Latest revision as of 16:03, 24 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.53).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Metal Pipe
LeadPipe Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
One-Handed
Slot attached
Back
Function
Skill
Properties
Max condition
8
Performance
Damage
0.6–1.0
Door damage
1
Range
0.61–1.2
Attack speed
0.95
Knockback
0.3
Knockdown
0
Technical
Item 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 Durability 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 Ingredients Tools Requirements Workstation XP
PipeBomb.png
Pipe Bomb
MetalTube.png Metal Pipe ×1
ElectronicsScrap.png Scrap Electronics ×3
GunpowderJar.png Gunpowder ×20 unit(s)
Twine.png Twine ×1 unit(s)

Handsaw.png
Saw (tag)

Profession engineer.png
Engineer occupation
none none

Metalworking

Walls & Fencing

Product Ingredients Tools Requirements Workstation XP
MetalFence Metalwork.png
Metal Fence
MetalTube.png Metal Pipe ×1
MetalSheetSmall.png Small Metal Sheet ×2
ScrapMetal.png Scrap Metal ×3
BlowTorch.png
Propane Torch
1 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 3
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 5 Metalworking
PoleFence Metalwork.png
Pole Fence
MetalTube.png Metal Pipe ×3 BlowTorch.png
Propane Torch
1 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 3
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 5 Metalworking
WiredFence Metalwork.png
Wired Fence
MetalTube.png Metal Pipe ×2
ScrapMetal.png Scrap Metal ×1
Wire.png Wire ×1 unit(s)
BlowTorch.png
Propane Torch
1 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 4
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 3.75 Metalworking
BigPoleFence Metalwork.png
Big Pole Fence
MetalTube.png Metal Pipe ×5
ScrapMetal.png Scrap Metal ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 7
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 6.25 Metalworking
BigWiredFence Metalwork.png
Big Wired Fence
MetalTube.png Metal Pipe ×3
ScrapMetal.png Scrap Metal ×4
Wire.png Wire ×3 unit(s)
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 5
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 5 Metalworking

Doors & Gates

Product Ingredients Tools Requirements Workstation XP
PoleFenceGate Metalwork.png
Pole Fence Gate
MetalTube.png Metal Pipe ×3
ScrapMetal.png Scrap Metal ×2
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
1 unit(s)
  
(and)
WeldingMask.png
Welder Mask
Metalworking 4
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 6.25 Metalworking
BigPoleFenceGate Metalwork.png
Big Pole Fence Gate
MetalTube.png Metal Pipe ×5
ScrapMetal.png Scrap Metal ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 7
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 6.25 Metalworking
BigDoublePoleGate Metalwork.png
Big Double Pole Gate
MetalTube.png Metal Pipe ×10
ScrapMetal.png Scrap Metal ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 8
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 6.25 Metalworking
BigDoubleWiredGate Metalwork.png
Big Double Wired Gate
MetalTube.png Metal Pipe ×8
ScrapMetal.png Scrap Metal ×2
Wire.png Wire ×4 unit(s)
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 7
(and)
MagazineWelding3.png
The Metalwork Magazine Vol.3
none 6.25 Metalworking

Furniture

Product Ingredients Tools Requirements Workstation XP
MetalShelves Metalwork.png
Metal Shelves
MetalTube.png Metal Pipe ×2
MetalSheetSmall.png Small Metal Sheet ×1
ScrapMetal.png Scrap Metal ×1
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  

MagazineWelding2.png
The Metalwork Magazine Vol.2
none 5 Metalworking
MetalCrate.png
Metal Crate
MetalTube.png Metal Pipe ×2
SheetMetal.png Metal Sheet ×1
MetalSheetSmall.png Small Metal Sheet ×1
ScrapMetal.png Scrap Metal ×1
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 4
(and)
MagazineWelding2.png
The Metalwork Magazine Vol.2
none 5 Metalworking
MetalCounter.png
Metal Counter
MetalTube.png Metal Pipe ×2
MetalSheetSmall.png Small Metal Sheet ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 5
(and)
MagazineWelding2.png
The Metalwork Magazine Vol.2
none 5 Metalworking
MetalCounterCorner Metalwork.png
Metal Counter Corner
MetalTube.png Metal Pipe ×2
MetalSheetSmall.png Small Metal Sheet ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 5
(and)
MagazineWelding2.png
The Metalwork Magazine Vol.2
none 5 Metalworking
LockerSmall.png
Small Locker
MetalTube.png Metal Pipe ×3
MetalSheetSmall.png Small Metal Sheet ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 6
(and)
MagazineWelding2.png
The Metalwork Magazine Vol.2
none 6.25 Metalworking
LockerYellow.png
Big Locker
MetalTube.png Metal Pipe ×8
MetalSheetSmall.png Small Metal Sheet ×4
Doorhinge.png Door Hinge ×2
BlowTorch.png
Propane Torch
3 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  
Metalworking 9
(and)
MagazineWelding2.png
The Metalwork Magazine Vol.2
none 7.5 Metalworking

Distribution

The loot distributions can be found in the table(s) below.

MetalPipe distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced JunkBin 4 6.0
SafehouseLoot counter 4 10.0
SafehouseLoot crate 4 10.0
all crate 1 2.0
armyhanger counter 4 6.0
bedroom crate 1 0.6
closet crate 4 20.0
closet crate 4 10.0
factory crate 4 10.0
factory crate 4 20.0
garagestorage counter 4 20.0
garagestorage counter 4 10.0
toolstorestorage metal_shelves 4 8.0
Vehicles
Vehicle Type/Location Rolls Chance
ConstructionWorkerTruckBed 4 10
ElectricianTruckBed 4 6
MassGenFacTruckBed 4 10
MassGenFacTruckBed 4 20
MetalWelderTruckBed 4 10
MetalWelderTruckBed 4 20

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