Laser: Difference between revisions
No edit summary |
(added header and new infobox) |
||
Line 1: | Line 1: | ||
{{languages}}{{ | {{languages}} | ||
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}} | |||
{{Infobox weapon mod | |||
|display_name = Laser | |||
|name_colour = Weapon | |||
|name_text_colour = Weapon | |||
|image = HandgunLaser_128px.png | |||
|image_width = 128px | |||
<!--GENERAL--> | |||
|weight = 0.2 | |||
|weapon = [[File:HandGun.png|link=Pistol]] | |||
|part_type = Canon | |||
<!--MODIFIERS--> | |||
|weight_mod = 0.2 | |||
|accuracy_mod = 5 | |||
<!--TECHNICAL DETAILS--> | |||
|class_name = Base.Laser | |||
}}{{quote|text=Weapon attachment. Increases firearm accuracy.|author=In-game tooltip}}A '''laser''' is a weapon mod. | |||
==Usage== | |||
Increases a [[pistol]]s accuracy. | |||
== | |||
Can be added to a | Can be added to a pistol using a [[screwdriver]]. | ||
==Compatible weapons== | |||
[[File:HandGun.png|link=Pistol]] [[Pistol]] | |||
== | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=40|incver=43}} | |||
<pre> item Laser | |||
Type = WeaponPart, | |||
DisplayName = Laser, | |||
Icon = HandgunLaser, | |||
Weight = 0.2, | |||
WeightModifier = 0.2, | |||
HitChanceModifier = 5, | |||
MountOn = Pistol, | |||
PartType = Canon, | |||
Tooltip = Tooltip_Laser,</pre> | |||
==See also== | |||
* [[Weapon mods]] | |||
* [[Weapons]] | |||
{{Navbox/Weapons}} | {{Navbox/Weapons}} | ||
Revision as of 16:04, 2 June 2019
Laser | |
---|---|
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 40.43
item Laser Type = WeaponPart, DisplayName = Laser, Icon = HandgunLaser, Weight = 0.2, WeightModifier = 0.2, HitChanceModifier = 5, MountOn = Pistol, PartType = Canon, Tooltip = Tooltip_Laser,