X2 Scope: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Automated Formatting) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | ||
{{Page version| | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=x2 Scope | |name=x2 Scope | ||
|model=Rifle_2XScope_Model.png | |model=Rifle_2XScope_Model.png | ||
|icon= Scope2x.png | |icon=Scope2x.png | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight=0.3 | |weight=0.3 | ||
Line 15: | Line 15: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.x2Scope | |item_id=Base.x2Scope | ||
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x2 scope''' is a weapon mod. | }} | ||
{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x2 scope''' is a weapon mod. | |||
==Usage== | ==Usage== | ||
Line 28: | Line 29: | ||
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | *[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
Line 35: | Line 35: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| all | |all | ||
| [[militarycrate]] | |[[militarycrate]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
| garagestorage | |garagestorage | ||
| [[locker]] | |[[locker]] | ||
| 4 | |4 | ||
| 8 | |8 | ||
|- | |- | ||
| gunstore | |gunstore | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 8 | |8 | ||
|- | |- | ||
| policestorage | |policestorage | ||
| [[locker]] | |[[locker]] | ||
| 4 | |4 | ||
| 4 | |4 | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
Line 65: | Line 66: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 2462 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item x2Scope | item x2Scope | ||
{ | { | ||
DisplayCategory = WeaponPart, | |||
Type = WeaponPart, | |||
DisplayName = x2 Scope, | |||
Icon = Scope2x, | |||
Weight = 0.3, | |||
WeightModifier = 0.3, | |||
MaxRangeModifier = 7, | |||
MinRangeModifier = 6, | |||
MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2, | |||
PartType = Scope, | |||
Tooltip = Tooltip_Scope, | |||
} | MetalValue = 22, | ||
WorldStaticModel = Rifle_2XScope_Ground, | |||
} | |||
}} | |||
}} | }} | ||
Line 91: | Line 94: | ||
*[[Weapons]] | *[[Weapons]] | ||
{{Navbox weapons}} | {{Navbox items|weapons}} |
Revision as of 13:31, 14 April 2024
x2 Scope
Performance
Min range
+6
Max range
+7
Encumbrance mod.
+0.3
Technical
Item ID
Base.x2Scope
“
Weapon attachment. Increases firearm's maximum range.
A x2 scope is a weapon mod.
Usage
Increases firearms maximum fire range.
Can be added to guns using a screwdriver.
Compatible weapons
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | militarycrate | 4 | 6 |
garagestorage | locker | 4 | 8 |
gunstore | counter | 4 | 8 |
policestorage | locker | 4 | 4 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item x2Scope
{
DisplayCategory = WeaponPart,
Type = WeaponPart,
DisplayName = x2 Scope,
Icon = Scope2x,
Weight = 0.3,
WeightModifier = 0.3,
MaxRangeModifier = 7,
MinRangeModifier = 6,
MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
PartType = Scope,
Tooltip = Tooltip_Scope,
MetalValue = 22,
WorldStaticModel = Rifle_2XScope_Ground,
}