Choke Tube - Improved: Difference between revisions
mNo edit summary |
(Update distribution file) |
||
(25 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | ||
{{Page version|41.65}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Choke Tube Improved | ||
| | |model=Shotgun_Choke_Model.png | ||
|icon=ShotgunChoke.png | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight | |weight=0.1 | ||
|weapon | |weapon=[[File:Shotgun2.png|link=JS-2000 Shotgun]] | ||
|part_type | |part_type=Canon | ||
<!--MODIFIERS--> | <!--MODIFIERS--> | ||
|weight_mod | |weight_mod=0.1 | ||
|spread_mod | |spread_mod=-0.1 | ||
|damage_mod | |damage_mod=-0.5 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |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. | |||
==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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| 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, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
* [[Weapon mods]] | *[[Weapon mods]] | ||
* [[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} | ||
Latest revision as of 12:24, 30 April 2024
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.
Building/Room | Container | Effective chance |
---|---|---|
garagestorage | locker | 15.1% |
gunstore | counter | 15.1% |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}