X8 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 = x8 Scope
|name_colour = Weapon
|name_text_colour = Weapon
|image = Scope8x_128px.png
|image_width = 128px
<!--GENERAL-->
|weight = 0.8
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type = Scope
<!--MODIFIERS-->
|weight_mod = +0.8
|max_range_mod = +20
|min_range_mod = +10
<!--TECHNICAL DETAILS-->
|class_name = Base.x8Scope
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x8 scope''' is a weapon mod.


{{Consumables
==Usage==
|image = MOD8xScope.png
Increases firearms maximum fire range.
|weight = 0.8
}}
==Description==
Gives more accuracy long range and increased maximum shooting distance, while decreasing minimum shooting distance.


==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 x8Scope
    {
        Type = WeaponPart,
        DisplayName = x8 Scope,
        Icon = Scope8x,
        Weight = 0.8,
        WeightModifier = 0.8,
        MaxRangeModifier = 20,
        MinRangeModifier = 10,
        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 x8Scope
| - || -
Type = WeaponPart,
|}
DisplayName = x8 Scope,
 
Icon = Scope8x,
==See Also==
Weight = 0.8,
* [[Items#Firearm Modifications|Firearm Modifications]]
WeightModifier = 0.8,
MaxRangeModifier = 20,
MinRangeModifier = 10,
MountOn = HuntingRifle; VarmintRifle,
PartType = Scope,
Tooltip = Tooltip_Scope,
MetalValue = 22,</pre>


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


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

Revision as of 17:02, 2 June 2019

x8 Scope
x8 Scope
General
Category Weapon mod
Encumbrance
Heavy Load
0.8
Weapon(s) RifleHunting.png RifleVarmint.png
Part type Scope
Modifiers
Encumbrance +0.8
Min. range +10 tiles
Max. range +20 tiles
Technical details
Item ID Base.x8Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

A x8 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 x8Scope
		Type 			= WeaponPart,
		DisplayName 		= x8 Scope,
		Icon 			= Scope8x,
		Weight 			= 0.8,
		WeightModifier 		= 0.8,
		MaxRangeModifier 	= 20,
		MinRangeModifier 	= 10,
		MountOn 		= HuntingRifle; VarmintRifle,
		PartType 		= Scope,
		Tooltip 		= Tooltip_Scope,
		MetalValue		= 22,

See also

Template:Navbox/Weapons