Laser: Difference between revisions

From PZwiki
No edit summary
(added header and new infobox)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{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.


{{Consumables
==Usage==
|image = MODLaser.png
Increases a [[pistol]]s accuracy.
|weight = 0.2
}}
==Description==


Can be added to a [[pistol]] using a [[screwdriver]].
Can be added to a pistol using a [[screwdriver]].


Increases a pistols accuracy.
==Compatible weapons==
[[File:HandGun.png|link=Pistol]] [[Pistol]]


==Compatible Weapons==
==Code==
[[File:Pistol.png|32px|link=Pistol|Pistol]] [[Pistol|Pistol]]
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=43}}
== Code ==
<pre> item Laser
<nowiki>item Laser
Type = WeaponPart,
    {
DisplayName = Laser,
        Type = WeaponPart,
Icon = HandgunLaser,
        DisplayName = Laser,
Weight = 0.2,
        Icon = HandgunLaser,
WeightModifier = 0.2,
        Weight = 0.2,
HitChanceModifier = 5,
        WeightModifier = 0.2,
MountOn = Pistol,
        HitChanceModifier = 5,
PartType = Canon,
        MountOn = Pistol,
Tooltip = Tooltip_Laser,</pre>
        PartType = Canon,
        Tooltip = Tooltip_Laser,
    }</nowiki>
 
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| - || -
|}
 
==See Also==
* [[Items#Firearm Modifications|Firearm Modifications]]


==See also==
* [[Weapon mods]]
* [[Weapons]]


{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:weapons]]
[[Category:Weapon Parts]]

Revision as of 16:04, 2 June 2019

Laser
Laser
General
Category Weapon mod
Encumbrance
Heavy Load
0.2
Weapon(s) HandGun.png
Part type Canon
Modifiers
Encumbrance 0.2
Accuracy 5
Technical details
Item ID Base.Laser
Weapon attachment. Increases firearm accuracy.
— In-game tooltip

A laser is a weapon mod.

Usage

Increases a pistols accuracy.

Can be added to a pistol using a screwdriver.

Compatible weapons

HandGun.png Pistol (disambiguation)

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,

See also

Template:Navbox/Weapons