Lead Pipe: Difference between revisions

From PZwiki
No edit summary
m (Updated code section)
Line 35: Line 35:
==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=73}}
<pre>
<pre>
     item LeadPipe
     item LeadPipe
     {
     {
        DisplayCategory = Weapon,
         MaxRange = 1.15,
         MaxRange = 1.15,
         WeaponSprite = LeadPipe,
         WeaponSprite = LeadPipe,
Line 64: Line 65:
         RunAnim = Run_Weapon2,
         RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  LeadPipeBreak,
        DoorHitSound = LeadPipeHit,
HitSound = LeadPipeHit,
HitFloorSound = LeadPipeHit,
SwingSound = LeadPipeSwing,
         TreeDamage  =  0,
         TreeDamage  =  0,
         CriticalChance = 30,
         CriticalChance = 30,

Revision as of 22:46, 17 September 2022

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 short blunt melee weapon.

Usage

It is an effective weapon to kill zombies with.

Weapon

The lead pipe is a strong weapon. It is one of the few short blunt weapons able to be equipped on the back.

Code

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

    item LeadPipe
    {
        DisplayCategory = Weapon,
        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  =   LeadPipeBreak,
        DoorHitSound = LeadPipeHit,
	HitSound = LeadPipeHit,
	HitFloorSound = LeadPipeHit,
	SwingSound = LeadPipeSwing,
        TreeDamage  =   0,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.7,
        MaxDamage	=	1.2,
        BaseSpeed = 0.93,
        WeaponLength = 0.35,
        AttachmentType = BigWeapon,
    }