Fiberglass Stock: Difference between revisions

From PZwiki
(Add iwbums navbox)
No edit summary
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=65}}
{{Infobox weapon mod
{{Infobox weapon mod
|display_name = Fiberglass Stock
|display_name = Fiberglass Stock
Line 9: Line 9:
<!--GENERAL-->
<!--GENERAL-->
|weight = 1.0
|weight = 1.0
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|weapon = [[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type = Stock
|part_type = Stock
<!--MODIFIERS-->
<!--MODIFIERS-->
Line 19: Line 19:


==Usage==
==Usage==
Decreases the weight of the weapon while also increasing the accuracy.
Decreases the weight of the firearm by 0.5, while also increasing it's accuracy by 8. Can be attached using a [[screwdriver]].
 
Can be added to guns using a [[screwdriver]].


==Compatible Weapons==
==Compatible Weapons==
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleVarmint.png|32px]] [[MSR700 Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
*[[File:RifleHunting.png|32px]] [[MSR788 Rifle]]


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=65}}
<pre> item FiberglassStock
<pre>   item FiberglassStock
Type = WeaponPart,
    {
DisplayName = Fiberglass Stock,
        DisplayCategory = WeaponPart,
Icon = RifleFibreglassStock,
        Type = WeaponPart,
Weight = 1,
        DisplayName = Fiberglass Stock,
WeightModifier = -0.5,
        Icon = RifleFibreglassStock,
HitChanceModifier = 8,
        Weight = 1,
MountOn = HuntingRifle; VarmintRifle,
        WeightModifier = -0.5,
PartType = Stock,
        HitChanceModifier = 8,
Tooltip = Tooltip_FiberglassStock,</pre>
        MountOn = HuntingRifle; VarmintRifle,
        PartType = Stock,
        Tooltip = Tooltip_FiberglassStock,
    }</pre>


==See also==
==See also==

Revision as of 18:05, 14 February 2022

The Game WorldItemsWeaponsFirearmsWeapon PartsFiberglass Stock
Fiberglass Stock
Fiberglass Stock
General
Category Weapon mod
Encumbrance
Heavy Load
1.0
Weapon(s) RifleVarmint.pngRifleHunting.png
Part type Stock
Modifiers
Encumbrance -0.5
Accuracy 8
Technical details
Item ID Base.FiberglassStock
Weapon attachment. Decreases firearm weight and increases accuracy.
— In-game tooltip

A fiberglass stock is a weapon mod.

Usage

Decreases the weight of the firearm by 0.5, while also increasing it's accuracy by 8. Can be attached using a screwdriver.

Compatible Weapons

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

   item FiberglassStock
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Fiberglass Stock,
        Icon = RifleFibreglassStock,
        Weight = 1,
        WeightModifier = -0.5,
        HitChanceModifier = 8,
        MountOn = HuntingRifle; VarmintRifle,
        PartType = Stock,
        Tooltip = Tooltip_FiberglassStock,
    }

See also

Template:Navbox/Weapons