Sling

From PZwiki
Revision as of 20:36, 26 February 2023 by Faalagorn (talk | contribs) (Remove 128px, minor fixes)
Sling
Sling
General
Category Weapon mod
Encumbrance
Heavy Load
0.5
Weapon(s) Shotgun2.pngRifleVarmint.pngRifleHunting.png
Part type Sling
Modifiers
Encumbrance -0.3
Technical details
Item ID Base.Sling
Weapon attachment. Reduces firearm carry-weight.
— In-game tooltip

A sling is a weapon mod.

Usage

This item can be attached to a JS-2000 Shotgun, MSR700 Rifle, or MSR788 Rifle, using a screwdriver, thus reducing weight of the firearm by 0.3.

Compatible weapons

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    item Sling
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Sling,
        Icon = GunSling,
        Weight = 0.5,
        WeightModifier = -0.3,
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
        PartType = Sling,
        Tooltip = Tooltip_Sling,
    }

See also