Pipe Wrench: Difference between revisions

From PZwiki
m (Automated Formatting)
(29 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=66}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Pipe Wrench
|name=Pipe Wrench
|name_colour=Weapon
|model=PipeWrench_Model.png
|name_text_colour=Weapon
|icon=PipeWrench.png
|image=PipeWrench_Model.png
|icon_name=Pipe Wrench
|image_width=200px
|alternate_image=PipeWrench.png
|alternate_name=Pipe Wrench
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
|weight=1.5
|weight=1.5
|function=
|function=[[Plumbing]]
|equipped=One-handed
|equipped=One-handed
|secondary_item=
|condition_max=10
|condition_max=10
|skill_type=Short Blunt
|attachment_type=Wrench
|attachment_type=Wrench
<!--DAMAGE-->
<!--DAMAGE-->
|type=Blunt
|type=Blunt
|swing_time=4
|base_speed=1
|min_range=0.61
|min_range=0.61
|max_range=1.1
|max_range=1.1
|hit_chance=
|min_damage=0.5
|min_damage=0.5
|max_damage=1
|max_damage=1
|push_back=0.3
|push_back=0.3
|knockdown=2
|knockdown=2
|class_name=Base.PipeWrench
<!--TECHNICAL-->
|item_id=Base.PipeWrench
}}
}}
 
A '''pipe wrench''' is a tool used in [[plumbing]] and as a short blunt [[Weapons|weapon]].
The Pipe Wrench is a short blunt weapon.
 
__TOC__


==Usage==
==Usage==
===Plumbing===
{{Main|Plumbing}}
The pipe wrench is primarily used to plumb water fixtures ([[Plumbing#Sinks|sink]]) with a water source ([[Rain Collector Barrel|rain collector barrel]]).


===Weapon===
===Weapon===
The Pipe Wrench is similar to the [[Hammer]] in most of its stats, but comes with a slightly faster swing time at the cost of a higher weight.
The pipe wrench can be used as a weapon, which has similar stats to the [[hammer]].


===Breaking doors===
====Breaking doors====
The Pipe Wrench does 10 damage per hit to a door.
The pipe wrench does 10 damage per hit to a door.
 
===Plumbing===
When used on a water fixture that is considered inside with a [[Rain Collector Barrel|rain collector barrel]] on an adjacent tile above the fixture, the player can connect the [[Rain Collector Barrel|rain collector]] to the sink. This allows the player to use water directly from the [[Rain Collector Barrel|rain collector]] without having to purify the water first.


==Condition==
==Condition==
 
The pipe wrench has a maximum condition of 10. 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 (25 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br>
The Pipe Wrench is a [[Skills#Blunt|blunt]] weapon. It has high durability, with a chance to lower condition per hit of <code>1 in (25 + maintenance x 2)</code>.
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills.
{{Durability weapon|25}}


===Repairing===
===Repairing===
The Pipe Wrench cannot be repaired.
The pipe wrench cannot be repaired.


==Code==
==Distribution==
===Item===
The loot distributions can be found in the table(s) below.


'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{| 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
|-
|SafehouseLoot
|[[counter]]
|4
|6
|-
|all
|[[toolcabinet]]
|4
|6
|-
|armyhanger
|[[counter]]
|4
|6
|-
|rowspan="2"|bathroom
|[[counter]]
|4
|2
|-
|[[counter]]
|4
|2
|-
|bedroom
|[[crate]]
|1
|0.6
|-
|closet
|[[crate]]
|4
|1
|-
|drugshack
|[[counter]]
|4
|6
|-
|firestorage
|[[metal_shelves]]
|4
|6
|-
|garagestorage
|[[counter]]
|4
|6
|-
|gasstorage
|[[counter]]
|4
|6
|-
|generalstore
|[[metal_shelves]]
|4
|6
|-
|pawnshop
|[[counter]]
|4
|6
|}


{{Retrieved|version=41|incver=66}}
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 403
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PipeWrench
    {
        DisplayCategory = ToolWeapon,
        MaxRange = 1.1,
        WeaponSprite = PipeWrench,
        MinAngle = 0.67,
        Type = Weapon,
        MinimumSwingTime = 4,
        KnockBackOnNoDeath = FALSE,
        SwingAmountBeforeImpact = 0.02,
        Categories = SmallBlunt,
        ConditionLowerChanceOneIn = 25,
        Weight = 1.5,
        SplatNumber = 1,
        PushBackMod = 0.3,
        SubCategory = Swinging,
        ConditionMax = 10,
        MaxHitCount = 2,
        DoorDamage = 10,
        SwingAnim = Bat,
        DisplayName = Pipe Wrench,
        MinRange = 0.61,
        SwingTime = 4,
        KnockdownMod = 2,
        SplatBloodOnNoDeath = FALSE,
        Icon = PipeWrench,
        BreakSound  =  PipeWrenchBreak,
        DoorHitSound = PipeWrenchHit,
HitSound = PipeWrenchHit,
HitFloorSound = PipeWrenchHit,
SwingSound = PipeWrenchSwing,
        TreeDamage  =  0,
        CriticalChance = 25,
        CritDmgMultiplier = 2,
        MinDamage = 0.5,
        MaxDamage = 1,
        BaseSpeed = 1,
        WeaponLength = 0.3,
        AttachmentType = Wrench,
    }
}}
}}


<pre>item PipeWrench
==See also==
{
*[[Plumbing]]
    DisplayCategory = ToolWeapon,
*[[Wrench]]
    MaxRange        =      1.1,
    WeaponSprite    =      PipeWrench,
    MinAngle        =      0.67,
    Type    =      Weapon,
    MinimumSwingTime        =      4,
    KnockBackOnNoDeath      =      FALSE,
    SwingAmountBeforeImpact =      0.02,
    Categories      =      SmallBlunt,
    ConditionLowerChanceOneIn      =      25,
    Weight  =      1.5,
    SplatNumber    =      1,
    PushBackMod    =      0.3,
    SubCategory    =       Swinging,
    ConditionMax    =       10,
    MaxHitCount    =       2,
    DoorDamage      =       10,
    SwingAnim      =      Bat,
    DisplayName    =      Pipe Wrench,
    MinRange        =      0.61,
    SwingTime      =      4,
    KnockdownMod    =      2,
    SplatBloodOnNoDeath    =      FALSE,
    Icon    =      PipeWrench,
    BreakSound  =  PipeWrenchBreak,
    DoorHitSound = PipeWrenchHit,
    HitSound = PipeWrenchHit,
    HitFloorSound = PipeWrenchHit,
    SwingSound = PipeWrenchSwing,
    TreeDamage  =  0,
    CriticalChance  =      25,
    CritDmgMultiplier = 2,
    MinDamage      =      0.5,
    MaxDamage      =      1,
    BaseSpeed = 1,
    WeaponLength = 0.3,
    AttachmentType = Wrench,
}</pre>


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

Revision as of 11:02, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Pipe Wrench
PipeWrench Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
One-handed
Slot attached
Belt
Function
Skill
Properties
Max condition
10
Performance
Damage
0.5–1
Range
0.61–1.1
Attack speed
1
Knockback
0.3
Knockdown
2
Technical
Item ID
Base.PipeWrench

A pipe wrench is a tool used in plumbing and as a short blunt weapon.

Usage

Plumbing

Main article: Plumbing

The pipe wrench is primarily used to plumb water fixtures (sink) with a water source (rain collector barrel).

Weapon

The pipe wrench can be used as a weapon, which has similar stats to the hammer.

Breaking doors

The pipe wrench does 10 damage per hit to a door.

Condition

The pipe wrench has a maximum condition of 10. 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 (25 + 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/25 (4%)
0 4 1/27 (4%)
0 8 1/29 (3%)
4 0 1/29 (3%)
8 0 1/33 (3%)
4 4 1/31 (3%)
4 8 1/33 (3%)
8 8 1/37 (3%)
10 10 1/39 (3%)

Repairing

The pipe wrench cannot be repaired.

Distribution

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

Containers
Building/Room Container Rolls Chance
SafehouseLoot counter 4 6
all toolcabinet 4 6
armyhanger counter 4 6
bathroom counter 4 2
counter 4 2
bedroom crate 1 0.6
closet crate 4 1
drugshack counter 4 6
firestorage metal_shelves 4 6
garagestorage counter 4 6
gasstorage counter 4 6
generalstore metal_shelves 4 6
pawnshop counter 4 6

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 PipeWrench
    {
        DisplayCategory = ToolWeapon,
        MaxRange	=	1.1,
        WeaponSprite	=	PipeWrench,
        MinAngle	=	0.67,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	SmallBlunt,
        ConditionLowerChanceOneIn	=	25,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	2,
        DoorDamage	=	10,
        SwingAnim	=	Bat,
        DisplayName	=	Pipe Wrench,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	PipeWrench,
        BreakSound  =   PipeWrenchBreak,
        DoorHitSound = PipeWrenchHit,
		HitSound = PipeWrenchHit,
		HitFloorSound = PipeWrenchHit,
		SwingSound = PipeWrenchSwing,
        TreeDamage  =   0,
        CriticalChance	=	25,
        CritDmgMultiplier = 2,
        MinDamage	=	0.5,
        MaxDamage	=	1,
        BaseSpeed = 1,
        WeaponLength = 0.3,
        AttachmentType = Wrench,
     }

See also