Iron Sight: Difference between revisions
m (128px) |
m (Automated CodeBox update) |
||
(18 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{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--> | <!--GENERAL--> | ||
|weight=0.1 | |weight=0.1 | ||
Line 13: | Line 13: | ||
|max_range_mod=3 | |max_range_mod=3 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.IronSight | ||
}}{{ | }} | ||
{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}} | |||
An '''iron sight''' is a weapon mod. | |||
==Usage== | ==Usage== | ||
Line 22: | Line 25: | ||
==Distribution== | ==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. | Iron sights can be occasionally found in gun stores and attached to firearms found in the world. | ||
Line 36: | Line 54: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2446 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ==See also== | ||
Line 54: | Line 86: | ||
*[[Weapons]] | *[[Weapons]] | ||
{{Navbox weapons}} | {{Navbox weapons|firearms}} |
Revision as of 10:52, 26 March 2024
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
- D-E Pistol
- M1911 Pistol
- M9 Pistol
- M625 Revolver
- Magnum
- MSR700 Rifle
- MSR788 Rifle
- M14 Rifle
- M16 Assault Rifle
Code
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}