X2 Scope: Difference between revisions

From PZwiki
No edit summary
(added header and new infobox)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{languages}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{Infobox weapon mod
|display_name = x2 Scope
|name_colour = Weapon
|name_text_colour = Weapon
|image = Scope2x_128px.png
|image_width = 128px
<!--GENERAL-->
|weight = 0.3
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type = Scope
<!--MODIFIERS-->
|weight_mod = +0.3
|max_range_mod = +7
|min_range_mod = +6
<!--TECHNICAL DETAILS-->
|class_name = Base.x2Scope
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x2 scope''' is a weapon mod.


{{Consumables
==Usage==
|image = MOD2xScope.png
Increases firearms maximum fire range.
|weight = 0.3
}}
==Description==


==Compatible Weapons==
Can be added to guns using a [[screwdriver]].
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
== Code ==
<nowiki>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,
    }</nowiki>


== History ==
==Compatible weapons==
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]


{| class="wikitable" width="550" style="text-align:center;"
==Code==
|-
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
! Alpha ||
{{Retrieved|version=40|incver=43}}
|-
<pre> item x2Scope
| - || -
Type = WeaponPart,
|}
DisplayName = x2 Scope,
 
Icon = Scope2x,
==See Also==
Weight = 0.3,
* [[Items#Firearm Modifications|Firearm Modifications]]
WeightModifier = 0.3,
MaxRangeModifier = 7,
MinRangeModifier = 6,
MountOn = HuntingRifle; VarmintRifle,
PartType = Scope,
Tooltip = Tooltip_Scope,</pre>


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


{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:weapons]]
[[Category:Weapon Parts]]

Revision as of 16:30, 2 June 2019

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,

See also

Template:Navbox/Weapons