Sling: Difference between revisions

From PZwiki
No edit summary
No edit summary
Line 10: Line 10:
|weight = 0.5
|weight = 0.5
|weapon = [[File:Shotgun2.png|link=JS-2000 Shotgun]][[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|weapon = [[File:Shotgun2.png|link=JS-2000 Shotgun]][[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type = Scope
|part_type = Sling
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = -0.3
|weight_mod = -0.3
Line 18: Line 18:


==Usage==
==Usage==
This item can be attached to a [[JS-2000 Shotgun]], [[MSR700 Rifle]], or [[MSR788 Rifle]], using a [[screwdriver]], reducing weight of the firearm by 0.3.  
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==
==Compatible weapons==

Revision as of 17:49, 14 February 2022

Template:Infobox weapon mod

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

Template:Navbox/Weapons