Laser: Difference between revisions

From PZwiki
m (Fix link)
m (128px)
Line 4: Line 4:
|name_text_colour=Weapon
|name_text_colour=Weapon
|image=HandgunLaser.png
|image=HandgunLaser.png
|image_width=120px
|image_width=128px
<!--GENERAL-->
<!--GENERAL-->
|weight=0.2
|weight=0.2
Line 14: Line 14:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Laser
|class_name=Base.Laser
}}{{quote|text=Weapon attachment. Increases firearm accuracy.|author=In-game tooltip}}A '''laser''' is a weapon mod.
}}{{Quote|text=Weapon attachment. Increases firearm accuracy.|author=In-game tooltip}}A '''laser''' is a weapon mod.


==Usage==
==Usage==

Revision as of 15:47, 25 June 2023

Laser
Laser
General
Category Weapon mod
Encumbrance
Heavy Load
0.2
Weapon(s) HandGun.png HandGun2.png HandGun3.png AssaultRifle2.png AssaultRifle.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