X2 Scope: Difference between revisions

From PZwiki
m (Remove 128px, minor fixes)
Line 1: Line 1:
{{languages}}
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}{{Infobox weapon mod
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
|display_name=x2 Scope
{{Infobox weapon mod
|name_colour=Weapon
|display_name = x2 Scope
|name_text_colour=Weapon
|name_colour = Weapon
|image= Scope2x.png
|name_text_colour = Weapon
|image_width=120px
|image = Scope2x_128px.png
|image_width = 128px
<!--GENERAL-->
<!--GENERAL-->
|weight = 0.3
|weight=0.3
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|weapon=[[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type = Scope
|part_type=Scope
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = +0.3
|weight_mod=+0.3
|max_range_mod = +7
|max_range_mod=+7
|min_range_mod = +6
|min_range_mod=+6
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.x2Scope
|class_name=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.


Line 33: Line 31:
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=40|incver=43}}
<pre> item x2Scope
<pre>
item x2Scope
Type = WeaponPart,
Type = WeaponPart,
DisplayName = x2 Scope,
DisplayName = x2 Scope,
Line 44: Line 43:
PartType = Scope,
PartType = Scope,
Tooltip = Tooltip_Scope,
Tooltip = Tooltip_Scope,
MetalValue = 22,</pre>
MetalValue = 22,
</pre>


==See also==
==See also==
* [[Weapon mods]]
*[[Weapon mods]]
* [[Weapons]]
*[[Weapons]]


{{Navbox/Weapons}}
{{Navbox weapons}}
{{Navbox_weapons}}

Revision as of 13:32, 26 February 2023

x2 Scope
x2 Scope
General
Category Weapon mod
Encumbrance
Heavy Load
0.3
Weapon(s) RifleHunting.png RifleVarmint.png
Part type Scope
Modifiers
Encumbrance +0.3
Min. range +6 tiles
Max. range +7 tiles
Technical details
Item ID Base.x2Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

A x2 scope is a weapon mod.

Usage

Increases firearms maximum fire range.

Can be added to guns using a screwdriver.

Compatible weapons

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43

	item x2Scope
		Type 			= WeaponPart,
		DisplayName 		= x2 Scope,
		Icon 			= Scope2x,
		Weight 			= 0.3,
		WeightModifier 		= 0.3,
		MaxRangeModifier 	= 7,
		MinRangeModifier 	= 6,
		MountOn 		= HuntingRifle; VarmintRifle,
		PartType 		= Scope,
		Tooltip 		= Tooltip_Scope,
		MetalValue		= 22,

See also