Laser: Difference between revisions

From PZwiki
(→‎Code: code box update)
m (→‎top: category project: "The Game World")
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{Infobox weapon mod
{{Infobox weapon mod
|display_name=Laser
|display_name=Laser

Revision as of 11:06, 9 January 2024

Laser
Laser
HandgunLaser.png
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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Laser
{
    DisplayCategory     = WeaponPart,
    Type                = WeaponPart,
    DisplayName         = Laser,
    Icon                = HandgunLaser,
    Weight              = 0.2,
    WeightModifier      = 0.2,
    HitChanceModifier   = 5,
    MountOn             = Pistol; Pistol2; Pistol3; AssaultRifle; AssaultRifle2,
    PartType            = Canon,
    Tooltip             = Tooltip_Laser,
    MetalValue          = 15,
    WorldStaticModel    = Handgun_Laser_Ground,
}

See also