Iron Sight: Difference between revisions

From PZwiki
m (Vaileasys moved page Iron Sight to Iron Sight: non-plural)
m (Automated CodeBox update)
(31 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.78.16}}
{{Infobox item
|name=Iron Sight
|model=Rifle_IronSights_Model.png
|icon=ScopeIronSight.png
<!--GENERAL-->
|weight=0.1
|weapon=[[File:HandGun.png|link=D-E Pistol]][[File:HandGun2.png|link=M1911 Pistol]] [[File:HandGun3.png|link=M9 Pistol]] [[File:Revolver.png|link=M625 Revolver]] [[File:RevolverLong.png|link=Magnum]] [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:AssaultRifle2.png|link=M14 Rifle]] [[File:AssaultRifle.png|link=M16 Assault Rifle]]
|part_type=Scope
<!--MODIFIERS-->
|weight_mod=0.1
|max_range_mod=3
<!--TECHNICAL DETAILS-->
|item_id=Base.IronSight
}}


{{Consumables
{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}
|image = MODIronSights.png
An '''iron sight''' is a weapon mod.
|weight = 0.1
 
}}
==Usage==
==Description==
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==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|gunstore
|[[counter]]
|4
|4
|}
Iron sights can be occasionally found in gun stores and attached to firearms found in the world.


Can be added to rifles and pistols.
==Compatible weapons==
*[[File:HandGun.png|link=D-E Pistol]] [[D-E Pistol]]
*[[File:HandGun2.png|link=M1911 Pistol]] [[M1911 Pistol]]
*[[File:HandGun3.png|link=M9 Pistol]] [[M9 Pistol]]
*[[File:Revolver.png|link=M625 Revolver]] [[M625 Revolver]]
*[[File:RevolverLong.png|link=Magnum]] [[Magnum]]
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]


Increases guns maximum fire range.
==Code==


==Compatible Weapons==
{{CodeBox
[[File:Pistol.png|32px|link=Pistol|Pistol]] [[Pistol|Pistol]]<br>
| {{CodeSnip
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
  | lang = java
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
  | line = true
== Code ==
  | start = 2446
<nowiki>item IronSight
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item IronSight
     {
     {
        DisplayCategory = WeaponPart,
         Type = WeaponPart,
         Type = WeaponPart,
         DisplayName = Iron Sight,
         DisplayName = Iron Sight,
Line 24: Line 73:
         WeightModifier = 0.1,
         WeightModifier = 0.1,
         MaxRangeModifier = 3,
         MaxRangeModifier = 3,
         MountOn = HuntingRifle; VarmintRifle; Pistol,
         MountOn = HuntingRifle; VarmintRifle; Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2,
         PartType = Scope,
         PartType = Scope,
         Tooltip = Tooltip_IronSight,
         Tooltip = Tooltip_IronSight,
    }</nowiki>
        MetalValue = 15,
 
        WorldStaticModel = Rifle_IronSights_Ground,
== 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|firearms}}
[[Category:weapons]]

Revision as of 10:52, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Iron Sight
Rifle IronSights Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Used in
HandGun.pngHandGun2.png HandGun3.png Revolver.png RevolverLong.png RifleHunting.png RifleVarmint.png AssaultRifle2.png AssaultRifle.png
Part type
Scope
Performance
Max range
3
Encumbrance mod.
0.1
Technical
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
gunstore counter 4 4

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 41.78.16
item IronSight
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Iron Sight,
        Icon = ScopeIronSight,
        Weight = 0.1,
        WeightModifier = 0.1,
        MaxRangeModifier = 3,
        MountOn = HuntingRifle; VarmintRifle; Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_IronSight,
        MetalValue = 15,
        WorldStaticModel = Rifle_IronSights_Ground,
    }

See also