Lead Pipe: Difference between revisions

From PZwiki
(Add navbox)
(Add versioning to code)
Line 34: Line 34:


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=50}}
<pre>
<pre>
     item LeadPipe
     item LeadPipe

Revision as of 09:46, 24 November 2021

Profession engineer.png
This is a testing feature.
This article is about an item or mechanic that is currently in testing and not part of the stable version of the game.
Lead Pipe
Lead Pipe
Pipe.png
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped Two-handed
Condition max. 15
Skill Long Blunt
Damage
Type Blunt
Attack speed 2
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 blunt melee weapon.

Usage

Weapon

The lead pipe is a strong weapon. Due to it's high weight the lead pipe takes a long time to swing.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

    item LeadPipe
    {
        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  =   BreakMetalItem,
        TreeDamage  =   0,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.7,
        MaxDamage	=	1.2,
        BaseSpeed = 0.93,
        WeaponLength = 0.35,
        AttachmentType = BigWeapon,
    }