Ammo Straps: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Distribution table update)
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{header/sandbox2|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.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 item
{{Infobox item
Line 16: Line 15:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|item_id=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 28:
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[MSR788 Rifle]]
*[[File:RifleHunting.png|32px|link=Hunting Rifle]] [[MSR788 Rifle]]


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|AmmoStraps|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>AmmoStraps distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-AmmoStraps">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| all
    |+ {{ll|Containers}}
| [[militarycrate]]
    ! Building / Room
| 4  
    ! Container
| 6
    ! Rolls
|-
    ! Chance
| garagestorage
    |-
| [[locker]]
    | SafehouseLoot
| 4  
    | {{ll|crate}}
| 6
    | 4
|-
    | 3
| rowspan="2"|gunstore
    |-
| [[counter]]
    | SafehouseLoot
| 4  
    | {{ll|dresser}}
| 6
    | 4
|-
    | 3
|[[locker]]
    |-
|4
    | SafehouseLoot
|6
    | {{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==
{{CodeBox
{{CodeBox
Line 64: 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.65
   | version = 41.78.16
   | 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 90: 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