Ammo Straps: Difference between revisions

From PZwiki
m (Distribution table update)
(30 intermediate revisions by 9 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">
    <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>    item AmmoStraps
  | lang = java
  | line = true
  | start = 2513
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item AmmoStraps
     {
     {
         DisplayCategory = WeaponPart,
         DisplayCategory = WeaponPart,
Line 50: Line 88:
         Tooltip = Tooltip_AmmoStrap,
         Tooltip = Tooltip_AmmoStrap,
         WorldStaticModel = AmmoStrap_Ground,
         WorldStaticModel = AmmoStrap_Ground,
     }</pre>
     }
}}
}}


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


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

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