Ammo Straps: Difference between revisions

From PZwiki
m (Remove 128px, minor fixes)
m (Distribution table update)
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}}{{Obsolete|text=and replaced by [[Bullets Ammo Strap]] and [[Shells Ammo Strap]] in [[Build 41]].}}{{Infobox weapon mod
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
|display_name=Ammo Straps
{{Page version|41.65}}
|name_colour=Weapon
<!--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]].}}-->
|name_text_colour=Weapon
{{Infobox item
|image=AmmoStrap.png
|name=Ammo Straps
|image_width=120px
|model=AmmoStrap_Ground_Model.png
|icon=AmmoStrap.png
<!--GENERAL-->
<!--GENERAL-->
|weight=0.5
|weight=0.5
Line 13: Line 14:
|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==
Line 25: Line 27:
*[[File:RifleVarmint.png|32px|link=Varmint Rifle]] [[MSR700 Rifle]]
*[[File:RifleVarmint.png|32px|link=Varmint Rifle]] [[MSR700 Rifle]]
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[MSR788 Rifle]]
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[MSR788 Rifle]]
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|AmmoStraps|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>AmmoStraps distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-AmmoStraps">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 4
    | 3
    |-
    | SafehouseLoot
    | {{ll|dresser}}
    | 4
    | 3
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 4
    | 3
    |}
</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=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
    item AmmoStraps
  | line = true
  | start = 2513
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item AmmoStraps
     {
     {
         DisplayCategory = WeaponPart,
         DisplayCategory = WeaponPart,
Line 44: Line 89:
         WorldStaticModel = AmmoStrap_Ground,
         WorldStaticModel = AmmoStrap_Ground,
     }
     }
</pre>
}}
}}


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


{{Navbox weapons}}
{{Navbox items|firearms}}

Revision as of 16:39, 23 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
Containers
Building / Room Container Rolls Chance
SafehouseLoot crate 4 3
SafehouseLoot dresser 4 3
SafehouseLoot wardrobe 4 3

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