X8 Scope: Difference between revisions

From PZwiki
Line 27: Line 27:
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
*[[File:AssaultRifle.png|link=M16_Assault_Rifle]] [[M16 Assault Rifle]]
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]


==Code==
==Code==

Revision as of 18:17, 17 January 2023

Template:Infobox weapon mod

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