Fiberglass Stock: Difference between revisions

From PZwiki
No edit summary
m (Distribution table fix)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.65}}
{{Reupload|Missing 3D model}}
{{Infobox item
|name=Fiberglass Stock
|icon=RifleFibreglassStock.png
<!--GENERAL-->
|weight=1.0
|weapon=[[File:RifleVarmint.png|link=MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]]
|part_type=Stock
<!--MODIFIERS-->
|weight_mod=-0.5
|accuracy_mod=8
<!--TECHNICAL DETAILS-->
|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.


{{Consumables
==Usage==
|image = MODFiberglassStock.png
Decreases the encumbrance of the firearm by 0.5, while also increasing its accuracy by 8. Can be attached using a [[screwdriver]].
|weight = 1
 
}}
==Compatible weapons==
==Description==
*[[File:RifleVarmint.png]][[MSR700 Rifle]]
*[[File:RifleHunting.png]][[MSR788 Rifle]]
 
==Distribution==
The loot distributions can be found in the table(s) below.


Can be added to guns using a [[screwdriver]].
<!--BOT FLAG|FiberglassStock|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>FiberglassStock distribution
        <span class="mw-customtoggle-togglebox-FiberglassStock" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-FiberglassStock">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|militarycrate}}
    | 15.1%
    |-
    | all
    | {{ll|militarylocker}}
    | 15.1%
    |-
    | armystorage
    | {{ll|locker}}
    | 15.1%
    |-
    | armystorage
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | garagestorage
    | {{ll|locker}}
    | 15.1%
    |-
    | gunstore
    | {{ll|counter}}
    | 15.1%
    |-
    | policestorage
    | {{ll|locker}}
    | 10.78%
    |-
    | policestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Police
    | {{ll|Truck Bed}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-FiberglassStock" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|FiberglassStock|41.78.16-->


==Compatible Weapons==
==Code==
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
{{CodeBox
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
| {{CodeSnip
== Code ==
  | lang = java
<nowiki>item FiberglassStock
  | line = true
  | start = 2541
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item FiberglassStock
     {
     {
        DisplayCategory = WeaponPart,
         Type = WeaponPart,
         Type = WeaponPart,
         DisplayName = Fiberglass Stock,
         DisplayName = Fiberglass Stock,
Line 24: Line 114:
         PartType = Stock,
         PartType = Stock,
         Tooltip = Tooltip_FiberglassStock,
         Tooltip = Tooltip_FiberglassStock,
     }</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 items|firearms}}
[[Category:weapons]]
[[Category:Weapon Parts]]

Latest revision as of 19:12, 30 April 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.

FiberglassStock distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all militarycrate 15.1%
all militarylocker 15.1%
armystorage locker 15.1%
armystorage metal_shelves 15.1%
garagestorage locker 15.1%
gunstore counter 15.1%
policestorage locker 10.78%
policestorage metal_shelves 10.78%
Vehicles
Type Container Effective chance
Police Trunk 10.78%

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