Sling: Difference between revisions

From PZwiki
No edit summary
(added header and new infobox)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{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.


{{Consumables
==Usage==
|image = MODSling.png
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.  
|weight = 0.5
}}
==Description==
A Sling is a attachment for the [[Hunting Rifle|Hunting Rifle]], [[Varmint Rifle|Varmint Rifle]] and [[Shotgun|Shotgun]], it reduces the weight of the weapon by a negative -0.3 and so can be useful when you have to transport large amount of items without becoming encumbered.


Can be added to guns using a [[screwdriver]].
Can be added to guns using a [[screwdriver]].


==Compatible Weapons==
==Compatible weapons==
[[File:Shotgun2.png|32px|link=Shotgun|Shotgun]] [[Shotgun|Shotgun]]<br>
*[[File:Shotgun2.png|32px|link=Shotgun]] [[Shotgun]]
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
== Code ==
<nowiki>item Sling
    {
        Type = WeaponPart,
        DisplayName = Sling,
        Icon = GunSling,
        Weight = 0.5,
        WeightModifier = -0.3,
        MountOn = HuntingRifle; VarmintRifle; Shotgun,
        PartType = Sling,
        Tooltip = Tooltip_Sling,
    }</nowiki>


== History ==
==Code==
 
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{| class="wikitable" width="550" style="text-align:center;"
{{Retrieved|version=40|incver=43}}
|-
<pre> item Sling
! Alpha || 
Type = WeaponPart,
|-
DisplayName = Sling,
| - || -  
Icon = GunSling,
|}
Weight = 0.5,
 
WeightModifier = -0.3,
==See Also==
MountOn = HuntingRifle; VarmintRifle; Shotgun,
* [[Items#Firearm Modifications|Firearm Modifications]]
PartType = Sling,
Tooltip = Tooltip_Sling,</pre>


==See also==
* [[Weapon mods]]
* [[Weapons]]


{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:weapons]]
[[Category:Weapon Parts]]

Revision as of 16:22, 2 June 2019

Sling
Sling
General
Category Weapon mod
Encumbrance
Heavy Load
0.5
Weapon(s) RifleHunting.png RifleVarmint.png Shotgun2.png
Part type Scope
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

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,

See also

Template:Navbox/Weapons