Laser: Difference between revisions

From PZwiki
(Add iwbums navbox)
Line 24: Line 24:


==Compatible weapons==
==Compatible weapons==
[[File:HandGun.png|link=Pistol]] [[Pistol]]
*[[File:HandGun.png|link=D-E Pistol]] [[D-E Pistol]]
*[[File:HandGun2.png|link=M1911 Pistol]] [[M1911 Pistol]]
*[[File:HandGun3.png|link=M9 Pistol]] [[M9 Pistol]]
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]


==Code==
==Code==

Revision as of 18:49, 17 January 2023

Laser
Laser
General
Category Weapon mod
Encumbrance
Heavy Load
0.2
Weapon(s) HandGun.png
Part type Canon
Modifiers
Encumbrance 0.2
Accuracy 5
Technical details
Item ID Base.Laser
Weapon attachment. Increases firearm accuracy.
— In-game tooltip

A laser is a weapon mod.

Usage

Increases a pistols accuracy.

Can be added to a pistol using a screwdriver.

Compatible weapons

Code

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

	item Laser
		Type 			= WeaponPart,
		DisplayName 		= Laser,
		Icon 			= HandgunLaser,
		Weight 			= 0.2,
		WeightModifier 		= 0.2,
		HitChanceModifier 	= 5,
		MountOn 		= Pistol,
		PartType 		= Canon,
		Tooltip 		= Tooltip_Laser,
		MetalValue		= 15,

See also

Template:Navbox/Weapons