Sawed-off Double Barrel Shotgun

From PZwiki
Revision as of 16:05, 29 March 2022 by Flint (talk | contribs) (Added links and a bit more information from what was here before. I haven't thought to saw off the barrel of a DB before so I can't write much about it.)
WhiskeyHalf.png
This article or section does not conform to the standards of the wiki. The pages either don't have the layout that is expected of a page like this, or the page does not provide enough information on its item. The page should be updated to have the standard that's expected, or risk having the page deleted.

A sawed off version of the Double Barrel Shotgun. Can be crafted using a double barrel and a saw. This version has less range, but packs a bit more kick.

Code

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

	item DoubleBarrelShotgunSawnoff
    {
        DisplayCategory                 = Weapon,
        ImpactSound	                = null,
        MaxRange	                = 8,
        RangeFalloff	                = TRUE,
        WeaponSprite	                = ShotgunDoubleBarrelSawn,
        SoundVolume	                = 200,
        MinAngle	                = 0.657,
        Type	                        = Weapon,
        KnockBackOnNoDeath	        = TRUE,
        Ranged	                        = TRUE,
        ProjectileCount	                = 5,
        ConditionLowerChanceOneIn	= 60,
        Weight	                        = 4,
        SplatNumber	                = 5,
        PushBackMod	                = 0.8,
        SubCategory	                = Firearm,
        AimingMod	                = 2,
        ConditionMax	                = 10,
        ShareDamage	                = FALSE,
        MaxHitCount	                = 4,
        IsAimedHandWeapon	        = TRUE,
        IsAimedFirearm	                = TRUE,
        DoorDamage	                = 30,
        UseEndurance	                = FALSE,
        DisplayName	                = Sawn Off Double Barrel Shotgun,
        MinRange	                = 0.67,
        SwingTime	                = 2,
        AngleFalloff	                = TRUE,
        MultipleHitConditionAffected	= FALSE,
        SwingSound	                = SawnOffDoubleBarrelShotgunShoot,
	ClickSound                      = SawnOffDoubleBarrelShotgunJam,
        SoundRadius	                = 100,
        MinDamage	                = 2,
        MaxDamage	                = 2.7,
        KnockdownMod	                = 8,
        SplatBloodOnNoDeath	        = TRUE,
        Icon	                        = ShotgunDoublebarrel,
        RunAnim	                        = Run_Weapon2,
        CriticalChance                  = 80,
        CritDmgMultiplier               = 2,
        AimingPerkCritModifier          = 4,
        HitChance                       = 80,
        AimingPerkHitChanceModifier     = 5,
        RecoilDelay                     = 50,
        SoundGain                       = 2,
        ReloadTime                      = 25,
        AimingTime                      = 20,
        RequiresEquippedBothHands       = TRUE,
        BreakSound                      =   SawnOffDoubleBarrelShotgunBreak,
        MetalValue                      = 45,
        TwoHandWeapon                   = TRUE,
        AmmoBox                         = ShotgunShellsBox,
        MaxAmmo                         = 2,
	EquipSound                      = SawnOffDoubleBarrelShotgunEquip,
	UnequipSound                    = SawnOffDoubleBarrelShotgunUnEquip,
        InsertAmmoSound                 = SawnOffDoubleBarrelShotgunInsertAmmo,
        EjectAmmoSound                  = SawnOffDoubleBarrelShotgunEjectAmmo,
	InsertAmmoStartSound            = SawnOffDoubleBarrelShotgunInsertAmmoStart,
	InsertAmmoStopSound             = SawnOffDoubleBarrelShotgunInsertAmmoStop,
	EjectAmmoStartSound             = SawnOffDoubleBarrelShotgunEjectAmmoStart,
	EjectAmmoStopSound              = SawnOffDoubleBarrelShotgunEjectAmmoStop,
        ShellFallSound                  = SawnOffDoubleBarrelShotgunCartridgeFall,
        AmmoType                        = Base.ShotgunShells,
        WeaponReloadType                = doublebarrelshotgunsawn,
        JamGunChance                    = 0,
        AttachmentType                  = Rifle,
        InsertAllBulletsReload          = TRUE,
        RackAfterShoot                  = FALSE,
        haveChamber                     = FALSE,
        StopPower                       = 40,
    }

See also