Sawed-off Double Barrel Shotgun: Difference between revisions

From PZwiki
m (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.)
(Page contents largely auto-generated using ItemZed)
Line 1: Line 1:
{{Notice|Standard}}
<!-- This page has been auto-generated using ItemZed with a custom Lua script -->
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.
{{Languages}}
 
{{Header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=68}}
== Code ==
{{Infobox weapon
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
|display_name=Sawed-off Double Barrel Shotgun
{{Retrieved|version=41|incver=65}}
|image=ShotgunDoubleBarrelSawn_Model.png
|image_width=200px
|alternate_image=ShotgunDoublebarrel.png
|alternate_name=Sawn Off Double Barrel Shotgun
|alternate_link=
<!--GENERAL-->
|category=Weapon
|weight=4
|equipped=Two-handed
|condition_max=10
|attachment_type=Rifle
<!--CHARACTERISTICS-->
|ammo=ShotgunShells
|clip_size=2
|sound_radius=100
|recoil_delay=50
|reload_time=25
|aiming_time=20
<!--DAMAGE-->
|type=Gunshot
|skill_type=Firearm
|min_range=0.67
|max_range=8
|hit_chance=80
|min_damage=2
|max_damage=2.7
|crit_chance=80
|crit_multiplier=2
|door_damage=30
|push_back=0.8
|knockdown=8
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.DoubleBarrelShotgunSawnoff
}}
A <b>sawed-off double barrel shotgun</b> is a firearm [[weapon]].
==Usage==
===Weapon===
This version has less range, but packs a bit more kick.
===Breaking doors===
It is very effective at bashing down [[Door|doors]], dealing 30 damage per hit.
==Condition==
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|firearm]] levels.
{{Durability weapon|60}}
===Repairing===
Materials that can be used to repair the sawed-off double barrel shotgun, based on first time repairing. Repairing the sawed-off double barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
<!-- {{Fixing weapon
|item=Sawed-off Double Barrel Shotgun
|woodglue=2
|woodgluerepairs=20
|woodgluechance=35
|woodwork=2
|ducttape=2
|ducttaperepairs=10
|ducttapechance=95
|glue=2
|gluerepairs=10
|gluechance=95
|scotchtape=4
|scotchtaperepairs=10
|scotchtapechance=95
}}-->
==Distribution==
==Crafting==
Can be crafted using a [[Double Barrel Shotgun|double barrel shotgun]] and a [[saw]].
{{Crafting header|ing=2}}
{{Crafting general|046|ing=2}}
|}
<!-- ==Trivia== -->
==Gallery==
<gallery>
File:ShotgunDoublebarrel.png|Item icon
File:ShotgunDoubleBarrelSawn_Model.png|Item model
</gallery>
==Code==
<b><i>From items_weapons.txt (Project Zomboid directory/media/scripts/)</i></b>
{{Retrieved|version=41|incver=68}}
<pre> item DoubleBarrelShotgunSawnoff
<pre> item DoubleBarrelShotgunSawnoff
     {
     {
         DisplayCategory                 = Weapon,
         DisplayCategory = Weapon,
         ImpactSound                 = null,
         ImpactSound = null,
         MaxRange                 = 8,
         MaxRange = 8,
         RangeFalloff                 = TRUE,
         RangeFalloff = TRUE,
         WeaponSprite                 = ShotgunDoubleBarrelSawn,
         WeaponSprite = ShotgunDoubleBarrelSawn,
         SoundVolume                 = 200,
         SoundVolume = 200,
         MinAngle                 = 0.657,
         MinAngle = 0.657,
         Type                         = Weapon,
         Type = Weapon,
         KnockBackOnNoDeath         = TRUE,
         KnockBackOnNoDeath = TRUE,
         Ranged                         = TRUE,
         Ranged = TRUE,
         ProjectileCount                 = 5,
         ProjectileCount = 5,
         ConditionLowerChanceOneIn = 60,
         ConditionLowerChanceOneIn = 60,
         Weight                         = 4,
         Weight = 4,
         SplatNumber                 = 5,
         SplatNumber = 5,
         PushBackMod                 = 0.8,
         PushBackMod = 0.8,
         SubCategory                 = Firearm,
         SubCategory = Firearm,
         AimingMod                 = 2,
         AimingMod = 2,
         ConditionMax                 = 10,
         ConditionMax = 10,
         ShareDamage                 = FALSE,
         ShareDamage = FALSE,
         MaxHitCount                 = 4,
         MaxHitCount = 4,
         IsAimedHandWeapon         = TRUE,
         IsAimedHandWeapon = TRUE,
         IsAimedFirearm                 = TRUE,
         IsAimedFirearm = TRUE,
         DoorDamage                 = 30,
         DoorDamage = 30,
         UseEndurance                 = FALSE,
         UseEndurance = FALSE,
         DisplayName                 = Sawn Off Double Barrel Shotgun,
         DisplayName = Sawn Off Double Barrel Shotgun,
         MinRange                 = 0.67,
         MinRange = 0.67,
         SwingTime                 = 2,
         SwingTime = 2,
         AngleFalloff                 = TRUE,
         AngleFalloff = TRUE,
         MultipleHitConditionAffected = FALSE,
         MultipleHitConditionAffected = FALSE,
         SwingSound                 = SawnOffDoubleBarrelShotgunShoot,
         SwingSound = SawnOffDoubleBarrelShotgunShoot,
ClickSound                     = SawnOffDoubleBarrelShotgunJam,
ClickSound = SawnOffDoubleBarrelShotgunJam,
         SoundRadius                 = 100,
         SoundRadius = 100,
         MinDamage                 = 2,
         MinDamage = 2,
         MaxDamage                 = 2.7,
         MaxDamage = 2.7,
         KnockdownMod                 = 8,
         KnockdownMod = 8,
         SplatBloodOnNoDeath         = TRUE,
         SplatBloodOnNoDeath = TRUE,
         Icon                         = ShotgunDoublebarrel,
         Icon = ShotgunDoublebarrel,
         RunAnim                         = Run_Weapon2,
         RunAnim = Run_Weapon2,
         CriticalChance                 = 80,
         CriticalChance = 80,
         CritDmgMultiplier               = 2,
         CritDmgMultiplier = 2,
         AimingPerkCritModifier         = 4,
         AimingPerkCritModifier = 4,
         HitChance                       = 80,
         HitChance = 80,
         AimingPerkHitChanceModifier     = 5,
         AimingPerkHitChanceModifier = 5,
         RecoilDelay                     = 50,
         RecoilDelay = 50,
         SoundGain                       = 2,
         SoundGain = 2,
         ReloadTime                     = 25,
         ReloadTime = 25,
         AimingTime                     = 20,
         AimingTime = 20,
         RequiresEquippedBothHands       = TRUE,
         RequiresEquippedBothHands = TRUE,
         BreakSound                     =  SawnOffDoubleBarrelShotgunBreak,
         BreakSound =  SawnOffDoubleBarrelShotgunBreak,
         MetalValue                     = 45,
         MetalValue = 45,
         TwoHandWeapon                   = TRUE,
         TwoHandWeapon = TRUE,
         AmmoBox                         = ShotgunShellsBox,
         AmmoBox = ShotgunShellsBox,
         MaxAmmo                         = 2,
         MaxAmmo = 2,
EquipSound                     = SawnOffDoubleBarrelShotgunEquip,
EquipSound = SawnOffDoubleBarrelShotgunEquip,
UnequipSound                   = SawnOffDoubleBarrelShotgunUnEquip,
UnequipSound = SawnOffDoubleBarrelShotgunUnEquip,
         InsertAmmoSound                 = SawnOffDoubleBarrelShotgunInsertAmmo,
         InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo,
         EjectAmmoSound                 = SawnOffDoubleBarrelShotgunEjectAmmo,
         EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo,
InsertAmmoStartSound           = SawnOffDoubleBarrelShotgunInsertAmmoStart,
InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart,
InsertAmmoStopSound             = SawnOffDoubleBarrelShotgunInsertAmmoStop,
InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop,
EjectAmmoStartSound             = SawnOffDoubleBarrelShotgunEjectAmmoStart,
EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart,
EjectAmmoStopSound             = SawnOffDoubleBarrelShotgunEjectAmmoStop,
EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop,
         ShellFallSound                 = SawnOffDoubleBarrelShotgunCartridgeFall,
         ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall,
         AmmoType                       = Base.ShotgunShells,
         AmmoType = Base.ShotgunShells,
         WeaponReloadType               = doublebarrelshotgunsawn,
         WeaponReloadType = doublebarrelshotgunsawn,
         JamGunChance                   = 0,
         JamGunChance = 0,
         AttachmentType                 = Rifle,
         AttachmentType = Rifle,
         InsertAllBulletsReload         = TRUE,
         InsertAllBulletsReload = TRUE,
         RackAfterShoot                 = FALSE,
         RackAfterShoot = FALSE,
         haveChamber                     = FALSE,
         haveChamber = FALSE,
         StopPower                       = 40,
         StopPower = 40,
     }
     }</pre>
</pre>
 
==See also==
==See also==
* [[JS-2000 Shotgun]]
* [[JS-2000 Shotgun]]
Line 85: Line 159:
* [[Sawed-off JS-2000 Shotgun]]
* [[Sawed-off JS-2000 Shotgun]]


{{Navbox_weapons}}
{{Navbox weapons}}
{{clear}}

Revision as of 13:38, 16 April 2022


The Game WorldItemsWeaponsFirearmsSawed-off Double Barrel Shotgun
Sawed-off Double Barrel Shotgun
Sawed-off Double Barrel Shotgun
Sawn Off Double Barrel Shotgun
General
Category Weapon
Encumbrance
Heavy Load
4
Equipped Two-handed
Condition max. 10
Skill Firearm
Attachment Back
Characteristics
Ammo type Shotgun Shells
Magazine size 2
Noise radius 100 tiles
Recoil delay 50
Reload time 25
Aiming time 20
Damage
Type Gunshot
Range 0.67–8 tiles
Damage 2–2.7
Crit chance 80%
Door damage 30
Accuracy 80
Knockback 0.8
Knockdown 8
Technical details
Base ID Base.DoubleBarrelShotgunSawnoff

A sawed-off double barrel shotgun is a firearm weapon.

Usage

Weapon

This version has less range, but packs a bit more kick.

Breaking doors

It is very effective at bashing down doors, dealing 30 damage per hit.

Condition

Below is an example of the chance of losing durability at different levels of maintenance and firearm levels.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Durability lower chance
0 0 1/60 (2%)
0 4 1/62 (2%)
0 8 1/64 (2%)
4 0 1/64 (2%)
8 0 1/68 (1%)
4 4 1/66 (2%)
4 8 1/68 (1%)
8 8 1/72 (1%)
10 10 1/74 (1%)

Repairing

Materials that can be used to repair the sawed-off double barrel shotgun, based on first time repairing. Repairing the sawed-off double barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Distribution

Crafting

Can be crafted using a double barrel shotgun and a saw.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
ShotgunDoublebarrel.png
Sawed-off Double Barrel Shotgun
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
ShotgunDoublebarrel.png
Double Barrel Shotgun
(consumed)

Gallery

Code

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

	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