Fiberglass Stock: Difference between revisions

From PZwiki
(Add iwbums navbox)
m (Automated CodeBox update)
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{Page version|41.65}}
{{Infobox weapon mod
{{Reupload|Missing 3D model}}
|display_name = Fiberglass Stock
{{Infobox item
|name_colour = Weapon
|name=Fiberglass Stock
|name_text_colour = Weapon
|icon=RifleFibreglassStock.png
|image = RifleFibreglassStock_128px.png
|image_width = 128px
<!--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-->
|weight_mod = -0.5
|weight_mod=-0.5
|accuracy_mod = 8
|accuracy_mod=8
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.FiberglassStock
|item_id=Base.FiberglassStock
}}{{quote|text=Weapon attachment. Decreases firearm weight and increases accuracy.|author=In-game tooltip}}A '''fiberglass stock''' is a weapon mod.
}}
 
{{Quote|text=Weapon attachment. Decreases firearm weight and increases accuracy.|author=In-game tooltip}}
A '''fiberglass stock''' is a weapon mod.


==Usage==
==Usage==
Decreases the weight of the weapon while also increasing the accuracy.
Decreases the encumbrance of the firearm by 0.5, while also increasing its accuracy by 8. Can be attached using a [[screwdriver]].
 
==Compatible Weapons==
*[[File:RifleVarmint.png|32px]] [[MSR700 Rifle]]
*[[File:RifleHunting.png|32px]] [[MSR788 Rifle]]


Can be added to guns using a [[screwdriver]].
==Distribution==
The loot distributions can be found in the table(s) below.


==Compatible Weapons==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
! colspan="4" | Containers
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|all
|[[militarycrate]]  
|4
|6
|-
|garagestorage
|[[locker]]  
|4
|6
|-
|gunstore
|[[counter]]  
|4
|6
|-
|policestorage
|[[locker]]  
|4
|4
|}


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item FiberglassStock
  | lang = java
Type = WeaponPart,
  | line = true
DisplayName = Fiberglass Stock,
  | start = 2541
Icon = RifleFibreglassStock,
  | source = newitems.txt
Weight = 1,
  | retrieved = true
WeightModifier = -0.5,
  | version = 41.78.16
HitChanceModifier = 8,
  | code =
MountOn = HuntingRifle; VarmintRifle,
item FiberglassStock
PartType = Stock,
    {
Tooltip = Tooltip_FiberglassStock,</pre>
        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==
==See also==
* [[Weapon mods]]
*[[Weapon mods]]
* [[Weapons]]
*[[Weapons]]


{{Navbox/Weapons}}
{{Navbox weapons|firearms}}
{{Navbox_weapons}}

Revision as of 01:15, 25 March 2024

Project ZomboidItemsWeaponsFirearmsWeapon partsFiberglass Stock
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Fiberglass Stock
Fiberglass Stock
General
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Used in
RifleVarmint.pngRifleHunting.png
Part type
Stock
Performance
Accuracy
8
Encumbrance mod.
-0.5
Technical
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 encumbrance of the firearm by 0.5, while also increasing its accuracy by 8. Can be attached using a screwdriver.

Compatible Weapons

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all militarycrate 4 6
garagestorage locker 4 6
gunstore counter 4 6
policestorage locker 4 4

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
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