Iron Sight: Difference between revisions

From PZwiki
m (128px)
mNo edit summary
Line 14: Line 14:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.IronSight
|class_name=Base.IronSight
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}An '''iron sight''' is a weapon mod.
}}{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}An '''iron sight''' is a weapon mod.


==Usage==
==Usage==
Line 48: Line 48:
PartType = Scope,
PartType = Scope,
Tooltip = Tooltip_IronSight,
Tooltip = Tooltip_IronSight,
MetalValue = 15,</pre>
MetalValue = 15,
</pre>


==See also==
==See also==

Revision as of 18:06, 25 June 2023

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

An iron sight is a weapon mod.

Usage

When installed on a firearm, the firearm receives a 3 tile buff to its range.

A screwdriver is required to install or uninstall the Iron Sight.

Distribution

Iron sights can be occasionally found in gun stores and attached to firearms found in the world.

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,
		MetalValue		= 15,

See also