Laser: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Weapon parts) |
(Automated update of distribution section) |
||
Line 30: | Line 30: | ||
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | *[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | ||
{{clear}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
!Building/Room | |||
!Container | |||
! style="width: 3.2em;" |Rolls | |||
! style="width: 3.2em;" |Chance | |||
|- | |||
| garagestorage | |||
| [[locker]] | |||
| 4 | |||
| 6 | |||
|- | |||
| gunstore | |||
| [[counter]] | |||
| 4 | |||
| 6 | |||
|} | |||
==Code== | ==Code== | ||
Revision as of 10:24, 12 February 2024
Laser
Performance
Accuracy
5
Encumbrance mod.
0.2
Technical
Item ID
Base.Laser
“
Weapon attachment. Increases firearm accuracy.
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}