Laser: Difference between revisions

From PZwiki
m (Updated distribution table)
m (Automated Formatting)
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
|item_id=Base.Laser
|item_id=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.


Line 41: Line 40:
! style="width: 3.2em;" | Chance
! style="width: 3.2em;" | Chance
|-
|-
|garagestorage  
|garagestorage
|[[locker]]  
|[[locker]]
|4  
|4
|6
|6
|-
|-
|gunstore  
|gunstore
|[[counter]]  
|[[counter]]
|4  
|4
|6
|6
|}
|}
Line 58: Line 57:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2570
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
Line 64: Line 63:
   | code =
   | code =
item Laser
item Laser
{
    {
    DisplayCategory     = WeaponPart,
        DisplayCategory = WeaponPart,
    Type               = WeaponPart,
        Type = WeaponPart,
    DisplayName         = Laser,
        DisplayName = Laser,
    Icon               = HandgunLaser,
        Icon = HandgunLaser,
    Weight             = 0.2,
        Weight = 0.2,
    WeightModifier     = 0.2,
        WeightModifier = 0.2,
    HitChanceModifier   = 5,
        HitChanceModifier = 5,
    MountOn             = Pistol; Pistol2; Pistol3; AssaultRifle; AssaultRifle2,
        MountOn = Pistol; Pistol2; Pistol3; AssaultRifle; AssaultRifle2,
    PartType           = Canon,
        PartType = Canon,
    Tooltip             = Tooltip_Laser,
        Tooltip = Tooltip_Laser,
    MetalValue         = 15,
        MetalValue = 15,
    WorldStaticModel   = Handgun_Laser_Ground,
        WorldStaticModel = Handgun_Laser_Ground,
}
    }
  }}
}}
}}
}}


Line 85: Line 84:
*[[Weapons]]
*[[Weapons]]


{{Navbox weapons|firearms}}
{{Navbox items|firearms}}

Revision as of 09:40, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Laser
Handgun Laser Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
HandGun.png HandGun2.png HandGun3.png AssaultRifle2.png AssaultRifle.png
Part type
Canon
Performance
Accuracy
5
Encumbrance mod.
0.2
Technical
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

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
garagestorage locker 4 6
gunstore counter 4 6

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