Choke Tube - Improved: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}}
{{Page version|41.65}}
{{Infobox weapon mod
{{Infobox item
|display_name = Choke Tube Improved
|name=Choke Tube Improved
|name_colour = Weapon
|model=Shotgun_Choke_Model.png
|name_text_colour = Weapon
|icon=ShotgunChoke.png
|image = ShotgunChoke_128px.png
|image_width = 128px
<!--GENERAL-->
<!--GENERAL-->
|weight = 0.1
|weight=0.1
|weapon = [[File:Shotgun2.png|link=JS-2000 Shotgun]]
|weapon=[[File:Shotgun2.png|link=JS-2000 Shotgun]]
|part_type = Canon
|part_type=Canon
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = 0.1
|weight_mod=0.1
|spread_mod = -0.1
|spread_mod=-0.1
|damage_mod = -0.5
|damage_mod=-0.5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.ChokeTubeImproved
|item_id=Base.ChokeTubeImproved
}}{{quote|text=Shotgun attachment. Provides a wider blast but decreased damage.|author=In-game tooltip}}'''Choke tube improved''' is a weapon mod.
}}
{{Quote|text=Shotgun attachment. Provides a wider blast but decreased damage.|author=In-game tooltip}}'''Choke tube improved''' is a weapon mod.


==Usage==
==Usage==
Line 26: Line 25:
==Compatible weapons==
==Compatible weapons==
*[[File:Shotgun2.png|32px]] [[JS-2000 Shotgun]]
*[[File:Shotgun2.png|32px]] [[JS-2000 Shotgun]]
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|ChokeTubeImproved|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>ChokeTubeImproved distribution
        <span class="mw-customtoggle-togglebox-ChokeTubeImproved" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-ChokeTubeImproved">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | garagestorage
    | {{ll|locker}}
    | 15.1%
    |-
    | gunstore
    | {{ll|counter}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-ChokeTubeImproved" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|ChokeTubeImproved|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>    item ChokeTubeImproved
  | lang = java
  | line = true
  | start = 2652
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item ChokeTubeImproved
     {
     {
         DisplayCategory = WeaponPart,
         DisplayCategory = WeaponPart,
Line 45: Line 82:
         MetalValue = 12,
         MetalValue = 12,
         WorldStaticModel = Shotgun_Choke_Ground,
         WorldStaticModel = Shotgun_Choke_Ground,
     }</pre>
     }
}}
}}


==See also==
==See also==
* [[Weapon mods]]
*[[Weapon mods]]
* [[Weapons]]
*[[Weapons]]


{{Navbox/Weapons}}
{{Navbox items|firearms}}
{{Navbox_weapons}}

Latest revision as of 12:24, 30 April 2024

Project ZomboidItemsWeaponsFirearmsWeapon partsChoke Tube - Improved
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Choke Tube Improved
Shotgun Choke Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Used in
Shotgun2.png
Part type
Canon
Performance
Damage
-0.5
Spread
-0.1
Encumbrance mod.
0.1
Technical
Item ID
Base.ChokeTubeImproved
Shotgun attachment. Provides a wider blast but decreased damage.
— In-game tooltip

Choke tube improved is a weapon mod.

Usage

Increases the blast arc of a JS-2000 Shotgun to 6 tiles from 5, but significantly decreases damage. Can be attached using a screwdriver.

Could be useful for battling wide spreading hordes, but ineffective at taking out tight-packed and single targets.

Compatible weapons

Distribution

The loot distributions can be found in the table(s) below.

ChokeTubeImproved distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
garagestorage locker 15.1%
gunstore counter 15.1%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item ChokeTubeImproved
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Choke Tube Improved,
        Icon = ShotgunChoke,
        Weight = 0.1,
        WeightModifier = 0.1,
        AngleModifier = -0.1,
        DamageModifier = -0.5,
        MountOn = Shotgun,
        PartType = Canon,
        Tooltip = Tooltip_ChokeTubeImproved,
        MetalValue = 12,
        WorldStaticModel = Shotgun_Choke_Ground,
    }

See also