Laser: Difference between revisions
m (Minor) |
m (→Code: bump to .16) |
||
Line 33: | Line 33: | ||
==Code== | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=78}} | {{Retrieved|version=41|incver=78.16}} | ||
<pre> | <pre> | ||
item Laser | item Laser |
Revision as of 18:12, 6 January 2024
Laser | ||
---|---|---|
| ||
General | ||
Category | Weapon mod | |
Encumbrance | 0.2 | |
Weapon(s) | ||
Part type | Canon | |
Modifiers | ||
Encumbrance | 0.2 | |
Accuracy | 5 | |
Technical details | ||
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
Code
From newitems.txt (Project Zomboid directory/media/scripts/) 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,