Sling: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
m (Minor) |
||
Line 1: | Line 1: | ||
{{Languages}}{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}} | {{Languages}} | ||
{{Reupload}} | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}} | ||
{{Reupload|Missing 3D model}} | |||
{{Infobox weapon mod | {{Infobox weapon mod | ||
|display_name=Sling | |display_name=Sling | ||
Line 15: | Line 16: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|class_name=Base.Sling | |class_name=Base.Sling | ||
}}{{ | }} | ||
{{Quote|text=Weapon attachment. Reduces firearm carry-weight.|author=In-game tooltip}} | |||
A '''sling''' is a weapon mod. | |||
==Usage== | ==Usage== | ||
This item can be attached to a [[JS-2000 Shotgun]], [[MSR700 Rifle]], or [[MSR788 Rifle]], using a [[screwdriver]], thus reducing | This item can be attached to a [[JS-2000 Shotgun|JS-2000 shotgun]], [[MSR700 Rifle|MSR700 rifle]], or [[MSR788 Rifle|MSR788 rifle]], using a [[screwdriver]], thus reducing encumbrance of the firearm by 0.3. | ||
==Compatible weapons== | ==Compatible weapons== | ||
*[[File:Shotgun2.png | *[[File:Shotgun2.png|link=Shotgun]] [[JS-2000 Shotgun]] | ||
*[[File:RifleVarmint.png | *[[File:RifleVarmint.png|link=Varmint Rifle]] [[MSR700 Rifle]] | ||
*[[File:RifleHunting.png | *[[File:RifleHunting.png|link=Hunting Rifle]] [[MSR788 Rifle]] | ||
==Code== | ==Code== |
Revision as of 01:23, 14 January 2024
“
Weapon attachment. Reduces firearm carry-weight.
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 encumbrance of the firearm by 0.3.
Compatible weapons
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}