Ammo Straps: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(34 intermediate revisions by 10 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 40|incver=43}}
{{Page version|41.65}}
{{Infobox weapon mod
<!--Comment:The following is not currently true, but will likely be true in the future; commenting it out for accuracy and efficiency: {{Obsolete|text=and replaced by [[Bullets Ammo Strap]] and [[Shells Ammo Strap]] in [[Build 41]].}}-->
|display_name = Ammo Straps
{{Infobox item
|name_colour = Weapon
|name=Ammo Straps
|name_text_colour = Weapon
|model=AmmoStrap_Ground_Model.png
|image = AmmoStrap_128px.png
|icon=AmmoStrap.png
|image_width = 128px
<!--GENERAL-->
<!--GENERAL-->
|weight = 0.5
|weight=0.5
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:Shotgun2.png|link=Shotgun]]
|weapon=[[File:Shotgun2.png|link=JS-2000 Shotgun]][[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type = Sling
|part_type=Sling
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = 0.5
|weight_mod=0.5
|reload_mod = -5
|reload_mod=-5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.AmmoStraps
|item_id=Base.AmmoStraps
}}{{quote|text=Weapon attachment. Reduces firearm reload time.|author=In-game tooltip}}'''Ammo straps''', also known as '''bandolier''' or '''bandoleer''', is a weapon mod.
}}
{{Quote|text=Weapon attachment. Reduces firearm reload time.|author=In-game tooltip}}'''Ammo straps''', also known as '''bandolier''' or '''bandoleer''', is a weapon mod.


==Usage==
==Usage==
This item can be attached to a [[shotgun]], [[Varmint Rifle|varmint rifle]], or [[Hunting Rifle|hunting rifle]], allowing the [[player]] to reload much quicker than normally. Realistically, players would have to otherwise take their ammunition out of their pockets or bags before reloading, but with this item, they'd only have to unload a single pouch on their multi-magazine carrying sling to be able to refill their zombie killer of a weapon.
This item can be attached to a [[JS-2000 Shotgun]], [[MSR700 Rifle]], or [[MSR788 Rifle]], using a [[screwdriver]], allowing the [[player]] to reload their equipped firearm significantly faster than without.


Gives an extra slot for ammo:
As of 41.65, looks like it is not working - no impact on reload times noticed by any testers with any level of the [[skill]]. Presumably, this item is being phased out, in favor of body-wearable accessories [[Bullets Ammo Strap]] and [[Shells Ammo Strap]].


6+1/6 for shotguns.
==Compatible weapons==
*[[File:Shotgun2.png|32px|link=Shotgun]] [[JS-2000 Shotgun]]
*[[File:RifleVarmint.png|32px|link=Varmint Rifle]] [[MSR700 Rifle]]
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[MSR788 Rifle]]


15+1/15 for pistols.
==Distribution==
The loot distributions can be found in the table(s) below.


Can be added to guns using a [[screwdriver]].
<!--BOT FLAG|AmmoStraps|41.78.16-->
 
{{Clear}}
==Compatible weapons==
<div class="togglebox theme-red">
*[[File:Shotgun2.png|32px|link=Shotgun]] [[Shotgun]]
    <div>AmmoStraps distribution
*[[File:RifleVarmint.png|32px|link=Varmint Rifle]] [[Varmint Rifle]]
        <span class="mw-customtoggle-togglebox-AmmoStraps" 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>
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[Hunting Rifle]]
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-AmmoStraps">
    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
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 8.55%
    |-
    | SafehouseLoot
    | {{ll|dresser}}
    | 8.55%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 8.55%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-AmmoStraps" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|AmmoStraps|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item AmmoStraps
  | lang = java
Type = WeaponPart,
  | line = true
DisplayName = Ammo Straps,
  | start = 2513
Icon = AmmoStrap,
  | source = newitems.txt
Weight = 0.5,
  | retrieved = true
WeightModifier = 0.5,
  | version = 41.78.16
ReloadTimeModifier = -5,
  | code =
MountOn = HuntingRifle; VarmintRifle; Shotgun,
item AmmoStraps
PartType = Sling,
    {
Tooltip = Tooltip_AmmoStrap</pre>
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Ammo Straps,
        Icon = AmmoStrap,
        Weight = 0.5,
        WeightModifier = 0.5,
        ReloadTimeModifier = -5,
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
        PartType = Sling,
        Tooltip = Tooltip_AmmoStrap,
        WorldStaticModel = AmmoStrap_Ground,
    }
}}
}}


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


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

Latest revision as of 11:55, 30 April 2024

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.
Ammo Straps
AmmoStrap Ground Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Used in
Shotgun2.pngRifleVarmint.pngRifleHunting.png
Part type
Sling
Performance
Reload time
-5
Encumbrance mod.
0.5
Technical
Item ID
Base.AmmoStraps
Weapon attachment. Reduces firearm reload time.
— In-game tooltip

Ammo straps, also known as bandolier or bandoleer, is a weapon mod.

Usage

This item can be attached to a JS-2000 Shotgun, MSR700 Rifle, or MSR788 Rifle, using a screwdriver, allowing the player to reload their equipped firearm significantly faster than without.

As of 41.65, looks like it is not working - no impact on reload times noticed by any testers with any level of the skill. Presumably, this item is being phased out, in favor of body-wearable accessories Bullets Bandolier and Shells Bandolier.

Compatible weapons

Distribution

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

AmmoStraps 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
SafehouseLoot crate 8.55%
SafehouseLoot dresser 8.55%
SafehouseLoot wardrobe 8.55%

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 AmmoStraps
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Ammo Straps,
        Icon = AmmoStrap,
        Weight = 0.5,
        WeightModifier = 0.5,
        ReloadTimeModifier = -5,
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
        PartType = Sling,
        Tooltip = Tooltip_AmmoStrap,
        WorldStaticModel = AmmoStrap_Ground,
    }

See also