Sling: Difference between revisions
No edit summary |
(added header and new infobox) |
||
Line 1: | Line 1: | ||
{{languages}}{{ | {{languages}} | ||
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}} | |||
{{Infobox weapon mod | |||
|display_name = Sling | |||
|name_colour = Weapon | |||
|name_text_colour = Weapon | |||
|image = GunSling_128px.png | |||
|image_width = 128px | |||
<!--GENERAL--> | |||
|weight = 0.5 | |||
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:Shotgun2.png|link=Shotgun]] | |||
|part_type = Scope | |||
<!--MODIFIERS--> | |||
|weight_mod = -0.3 | |||
<!--TECHNICAL DETAILS--> | |||
|class_name = Base.Sling | |||
}}{{quote|text=Weapon attachment. Reduces firearm carry-weight.|author=In-game tooltip}}A '''sling''' is a weapon mod. | |||
==Usage== | |||
A sling is an attachment for the [[Hunting Rifle|hunting rifle]], [[Varmint Rifle|varmint rifle]] and [[shotgun]], it reduces the weight of the weapon by -0.3. | |||
A | |||
Can be added to guns using a [[screwdriver]]. | Can be added to guns using a [[screwdriver]]. | ||
==Compatible | ==Compatible weapons== | ||
[[File:Shotgun2.png|32px|link= | *[[File:Shotgun2.png|32px|link=Shotgun]] [[Shotgun]] | ||
[[File: | *[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]] | ||
[[File: | *[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]] | ||
== | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{| | {{Retrieved|version=40|incver=43}} | ||
<pre> item Sling | |||
Type = WeaponPart, | |||
DisplayName = Sling, | |||
Icon = GunSling, | |||
Weight = 0.5, | |||
WeightModifier = -0.3, | |||
= | MountOn = HuntingRifle; VarmintRifle; Shotgun, | ||
PartType = Sling, | |||
Tooltip = Tooltip_Sling,</pre> | |||
==See also== | |||
* [[Weapon mods]] | |||
* [[Weapons]] | |||
{{Navbox/Weapons}} | {{Navbox/Weapons}} | ||
Revision as of 16:22, 2 June 2019
“
Weapon attachment. Reduces firearm carry-weight.
A sling is a weapon mod.
Usage
A sling is an attachment for the hunting rifle, varmint rifle and shotgun, it reduces the weight of the weapon by -0.3.
Can be added to guns using a screwdriver.
Compatible weapons
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43
item Sling Type = WeaponPart, DisplayName = Sling, Icon = GunSling, Weight = 0.5, WeightModifier = -0.3, MountOn = HuntingRifle; VarmintRifle; Shotgun, PartType = Sling, Tooltip = Tooltip_Sling,