Laser: Difference between revisions
m (Removing trailing whitespace(s)) |
m (Automated Formatting) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | |||
{{Header | {{Page version|41.78.16}} | ||
{{Page version| | |||
{{Infobox item | {{Infobox item | ||
|name=Laser | |name=Laser | ||
Line 30: | Line 29: | ||
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | *[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
Line 37: | Line 35: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! 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 | ||
|} | |} | ||
==Code== | ==Code== | ||
Line 58: | Line 57: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 2570 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
Line 64: | Line 63: | ||
| code = | | code = | ||
item Laser | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 85: | Line 84: | ||
*[[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} |
Revision as of 09:40, 14 April 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,
}