Laser: Difference between revisions
(3d model request tag) |
(Added model. Removed image improvement tag. Retrieved item code for Build 41.78 (was 40.43).) |
||
Line 1: | Line 1: | ||
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}} | {{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}} | ||
{{Infobox weapon mod | {{Infobox weapon mod | ||
|display_name=Laser | |display_name=Laser | ||
|name_colour=Weapon | |name_colour=Weapon | ||
|name_text_colour=Weapon | |name_text_colour=Weapon | ||
|image= | |image=Handgun_Laser_Model.png | ||
| | |alternate_image=HandgunLaser.png | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight=0.2 | |weight=0.2 | ||
Line 32: | Line 31: | ||
==Code== | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=78}} | ||
<pre> | <pre> | ||
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, | |||
</pre> | </pre> | ||
Revision as of 10:02, 30 December 2023
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
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,