Iron Sight: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Weapon parts) |
(→Code: Update codebox to B41) |
||
Line 44: | Line 44: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 2446 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item IronSight | 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, | |||
} | |||
}} | }} | ||
}} | }} |
Revision as of 08:54, 2 February 2024
Iron Sight
Performance
Max range
3
Encumbrance mod.
0.1
Technical
Item ID
Base.IronSight
“
Weapon attachment. Increases firearm's maximum range.
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
- D-E Pistol
- M1911 Pistol
- M9 Pistol
- M625 Revolver
- Magnum
- MSR700 Rifle
- MSR788 Rifle
- M14 Rifle
- M16 Assault Rifle
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
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,
}