Iron Sight

From PZwiki
Revision as of 07:30, 8 January 2024 by Calvy (talk | contribs) (→‎Code: code box update)
Iron Sight
Iron Sight
ScopeIronSight.png
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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

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