Ammo Straps: Difference between revisions

From PZwiki
m (→‎See also: fix link)
m (Distribution table update)
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}}
{{Page version|41.65}}
<!--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]].}}-->
<!--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]].}}-->
{{Infobox weapon mod
{{Infobox item
|display_name=Ammo Straps
|name=Ammo Straps
|name_colour=Weapon
|model=AmmoStrap_Ground_Model.png
|name_text_colour=Weapon
|icon=AmmoStrap.png
|image=AmmoStrap_Ground_Model.png
|alternate_image=AmmoStrap.png
<!--GENERAL-->
<!--GENERAL-->
|weight=0.5
|weight=0.5
Line 16: 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 28: 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==
Line 34: Line 70:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2513
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 65
   | code =
   | code =
item AmmoStraps
item AmmoStraps
{
    {
    DisplayCategory = WeaponPart,
        DisplayCategory = WeaponPart,
    Type = WeaponPart,
        Type = WeaponPart,
    DisplayName = Ammo Straps,
        DisplayName = Ammo Straps,
    Icon = AmmoStrap,
        Icon = AmmoStrap,
    Weight = 0.5,
        Weight = 0.5,
    WeightModifier = 0.5,
        WeightModifier = 0.5,
    ReloadTimeModifier = -5,
        ReloadTimeModifier = -5,
    MountOn = HuntingRifle; VarmintRifle; Shotgun,
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
    PartType = Sling,
        PartType = Sling,
    Tooltip = Tooltip_AmmoStrap,
        Tooltip = Tooltip_AmmoStrap,
    WorldStaticModel = AmmoStrap_Ground,
        WorldStaticModel = AmmoStrap_Ground,
}
    }
  }}
}}
}}
}}


Line 61: Line 96:
*[[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