Iron Sight: Difference between revisions

From PZwiki
(added category)
(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 = Iron Sight
|name_colour = Weapon
|name_text_colour = Weapon
|image = ScopeIronSight_128px.png
|image_width = 128px
<!--GENERAL-->
|weight = 0.1
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:HandGun.png|link=Pistol]]
|part_type = Stock
<!--MODIFIERS-->
|weight_mod = 0.1
|max_range_mod = 3
<!--TECHNICAL DETAILS-->
|class_name = Base.FiberglassStock
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}An '''iron sight''' is a weapon mod.


{{Consumables
==Usage==
|image = MODIronSights.png
Increases firearms maximum fire range.
|weight = 0.1
}}
==Description==


Can be added to rifles and pistols.
Can be added to guns using a [[screwdriver]].


Increases guns maximum fire range.
==Compatible weapons==
*[[File:HandGun.png|link=Pistol]] [[Pistol]]
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]


==Compatible Weapons==
==Code==
[[File:Pistol.png|32px|link=Pistol|Pistol]] [[Pistol|Pistol]]<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
{{Retrieved|version=40|incver=43}}
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
<pre> item IronSight
== Code ==
Type = WeaponPart,
<nowiki>item IronSight
DisplayName = Iron Sight,
    {
Icon = ScopeIronSight,
        Type = WeaponPart,
Weight = 0.1,
        DisplayName = Iron Sight,
WeightModifier = 0.1,
        Icon = ScopeIronSight,
MaxRangeModifier = 3,
        Weight = 0.1,
MountOn = HuntingRifle; VarmintRifle; Pistol,
        WeightModifier = 0.1,
PartType = Scope,
        MaxRangeModifier = 3,
Tooltip = Tooltip_IronSight,</pre>
        MountOn = HuntingRifle; VarmintRifle; Pistol,
        PartType = Scope,
        Tooltip = Tooltip_IronSight,
    }</nowiki>
 
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| - || -
|}
 
==See Also==
* [[Items#Firearm Modifications|Firearm Modifications]]


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


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

Revision as of 15:58, 2 June 2019

Iron Sight
Iron Sight
General
Category Weapon mod
Encumbrance
Heavy Load
0.1
Weapon(s) RifleHunting.png RifleVarmint.png HandGun.png
Part type Stock
Modifiers
Encumbrance 0.1
Max. range 3 tiles
Technical details
Item ID Base.FiberglassStock
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

An iron sight is a weapon mod.

Usage

Increases firearms maximum fire range.

Can be added to guns using a screwdriver.

Compatible weapons

Code

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

	item IronSight
		Type 		= WeaponPart,
		DisplayName 		= Iron Sight,
		Icon 			= ScopeIronSight,
		Weight 			= 0.1,
		WeightModifier 		= 0.1,
		MaxRangeModifier 	= 3,
		MountOn 		= HuntingRifle; VarmintRifle; Pistol,
		PartType 		= Scope,
		Tooltip 		= Tooltip_IronSight,

See also

Template:Navbox/Weapons