Ammo Straps: Difference between revisions

From PZwiki
m (Minor)
(→‎Code: code box update)
Line 30: Line 30:


==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 = 0
        DisplayCategory = WeaponPart,
  | source = newitems.txt
        Type = WeaponPart,
  | retrieved = true
        DisplayName = Ammo Straps,
  | version = 41
        Icon = AmmoStrap,
  | incver = 65
        Weight = 0.5,
  | code =
        WeightModifier = 0.5,
item AmmoStraps
        ReloadTimeModifier = -5,
{
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
    DisplayCategory = WeaponPart,
        PartType = Sling,
    Type = WeaponPart,
        Tooltip = Tooltip_AmmoStrap,
    DisplayName = Ammo Straps,
        WorldStaticModel = AmmoStrap_Ground,
    Icon = AmmoStrap,
    }
    Weight = 0.5,
</pre>
    WeightModifier = 0.5,
    ReloadTimeModifier = -5,
    MountOn = HuntingRifle; VarmintRifle; Shotgun,
    PartType = Sling,
    Tooltip = Tooltip_AmmoStrap,
    WorldStaticModel = AmmoStrap_Ground,
}
  }}
}}


==See also==
==See also==

Revision as of 07:32, 8 January 2024

Ammo Straps
Ammo Straps
AmmoStrap.png
General
Category Weapon mod
Encumbrance
Heavy Load
0.5
Weapon(s) Shotgun2.pngRifleVarmint.pngRifleHunting.png
Part type Sling
Modifiers
Encumbrance 0.5
Reload time -5
Technical details
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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.65
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