Gun Light
A gun light is an upcoming weapon part.
Usage
Having the gun light attached to a weapon currently has no function.
Attach
The bayonet can be attached to the M9 pistol, M1911 pistol, and the D-E pistol like similiar weapon mods. A screwdriver, any of the aforementioned pistols and the weapon mod must be in a nearby inventory, then press RMB on the pistol and select "Upgrade" > "Gun Light".
The gun light can only be obtained in debug mode.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item GunLight
{
DisplayCategory = WeaponPart,
Type = WeaponPart,
DisplayName = Gun Light,
Icon = RedDot,
Weight = 0.2,
WeightModifier = 0.2,
AimingTimeModifier = 5,
MountOn = Pistol; Pistol2; Pistol3,
PartType = Canon,
StaticModel = GunLight,
MetalValue = 15,
WorldStaticModel = Handgun_Light_Ground,
}