Pipe Wrench: Difference between revisions

From PZwiki
(Added basic weapon information)
(Apply weapons template)
Line 1: Line 1:
{{languages}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=66}}
{{Infobox weapon
|display_name=Pipe Wrench
|name_colour=Weapon
|name_text_colour=Weapon
|image=PipeWrench_Model.png
|image_width=200px
|alternate_image=PipeWrench_Model.png
|alternate_name=Pipe Wrench
|alternate_link=
<!--GENERAL-->
|category=Weapon
|weight=1.5
|function=
|equipped=One-handed
|secondary_item=
|condition_max=10
|attachment_type=Wrench
<!--DAMAGE-->
|type=Blunt
|swing_time=4
|min_range=0.61
|max_range=1.1
|hit_chance=
|min_damage=0.5
|max_damage=1
|push_back=0.3
|knockdown=2
|class_name=Base.PipeWrench
}}
The Pipe Wrench is a short blunt weapon.
__TOC__
==Usage==
===Weapon===
===Weapon===
The Pipe Wrench is a short blunt weapon very similar to the basic Hammer in most of it's stats, but coming with a higher weight cost of 1.5.
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.
 
===Breaking doors===
The Pipe Wrench does 10 damage per hit to a door.
 
==Condition==
 
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>.


===Repairing===
The Pipe Wrench cannot be repaired.
==Code==
===Item===
===Item===
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
 
<nowiki>
{{Retrieved|version=41|incver=66}}
    item PipeWrench
 
     {
<pre>item PipeWrench
        MaxRange = 1.1,
{
        WeaponSprite = PipeWrench,
     DisplayCategory = ToolWeapon,
        MinAngle = 0.67,
    MaxRange       =       1.1,
        Type = Weapon,
    WeaponSprite   =       PipeWrench,
        MinimumSwingTime = 4,
    MinAngle       =       0.67,
        KnockBackOnNoDeath = FALSE,
    Type   =       Weapon,
        SwingAmountBeforeImpact = 0.02,
    MinimumSwingTime       =       4,
        Categories = SmallBlunt,
    KnockBackOnNoDeath     =       FALSE,
        ConditionLowerChanceOneIn = 25,
    SwingAmountBeforeImpact =       0.02,
        Weight = 1.5,
    Categories     =       SmallBlunt,
        SplatNumber = 1,
    ConditionLowerChanceOneIn       =       25,
        PushBackMod = 0.3,
    Weight =       1.5,
        SubCategory = Swinging,
    SplatNumber     =       1,
        ConditionMax = 10,
    PushBackMod     =       0.3,
        MaxHitCount = 2,
    SubCategory     =       Swinging,
        DoorDamage = 10,
    ConditionMax   =       10,
        SwingAnim = Bat,
    MaxHitCount     =       2,
        DisplayName = Pipe Wrench,
    DoorDamage     =       10,
        MinRange = 0.61,
    SwingAnim       =       Bat,
        SwingTime = 4,
    DisplayName     =       Pipe Wrench,
        KnockdownMod = 2,
    MinRange       =       0.61,
        SplatBloodOnNoDeath = FALSE,
    SwingTime       =       4,
        Icon = PipeWrench,
    KnockdownMod   =       2,
        BreakSound  =  PipeWrenchBreak,
    SplatBloodOnNoDeath     =       FALSE,
        DoorHitSound = PipeWrenchHit,
    Icon   =       PipeWrench,
HitSound = PipeWrenchHit,
    BreakSound  =  PipeWrenchBreak,
HitFloorSound = PipeWrenchHit,
    DoorHitSound = PipeWrenchHit,
SwingSound = PipeWrenchSwing,
    HitSound = PipeWrenchHit,
        TreeDamage  =  0,
    HitFloorSound = PipeWrenchHit,
        CriticalChance = 25,
    SwingSound = PipeWrenchSwing,
        CritDmgMultiplier = 2,
    TreeDamage  =  0,
        MinDamage = 0.5,
    CriticalChance =       25,
        MaxDamage = 1,
    CritDmgMultiplier = 2,
        BaseSpeed = 1,
    MinDamage       =       0.5,
        WeaponLength = 0.3,
    MaxDamage       =       1,
        AttachmentType = Wrench,
    BaseSpeed = 1,
        {</nowiki>
    WeaponLength = 0.3,
    AttachmentType = Wrench,
}</pre>
 
{{Navbox_weapons}}

Revision as of 17:34, 5 March 2022

Pipe Wrench
Pipe Wrench
Pipe Wrench
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped One-handed
Condition max. 10
Skill Long Blunt
Attachment Belt
Damage
Type Blunt
Attack speed 4
Range 0.61–1.1 tiles
Damage 0.5–1
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.PipeWrench


The Pipe Wrench is a short blunt weapon.

Usage

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.

Breaking doors

The Pipe Wrench does 10 damage per hit to a door.

Condition

The Pipe Wrench is a blunt weapon. It has high durability, with a chance to lower condition per hit of 1 in (25 + maintenance x 2).

Repairing

The Pipe Wrench cannot be repaired.

Code

Item

From items.txt (Project Zomboid directory/media/scripts/)

Retrieved: Build 41.66

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,
}