Fiberglass Stock: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Automated CodeBox update)
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{header/sandbox2|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.65}}
{{page version|41.65}}
{{Reupload|Missing 3D model}}
{{Reupload|Missing 3D model}}
{{Infobox item
{{Infobox item
Line 16: Line 15:
|item_id=Base.FiberglassStock
|item_id=Base.FiberglassStock
}}
}}
{{Quote|text=Weapon attachment. Decreases firearm weight and increases accuracy.|author=In-game tooltip}}
{{Quote|text=Weapon attachment. Decreases firearm weight and increases accuracy.|author=In-game tooltip}}
A '''fiberglass stock''' is a weapon mod.
A '''fiberglass stock''' is a weapon mod.
Line 26: Line 26:
*[[File:RifleHunting.png|32px]] [[MSR788 Rifle]]
*[[File:RifleHunting.png|32px]] [[MSR788 Rifle]]


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 33: Line 32:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| all  
|all  
| [[militarycrate]]  
|[[militarycrate]]  
| 4  
|4  
| 6
|6
|-
|-
| garagestorage  
|garagestorage  
| [[locker]]  
|[[locker]]  
| 4  
|4  
| 6
|6
|-
|-
| gunstore  
|gunstore  
| [[counter]]  
|[[counter]]  
| 4  
|4  
| 6
|6
|-
|-
| policestorage  
|policestorage  
| [[locker]]  
|[[locker]]  
| 4  
|4  
| 4
|4
|}
|}
==Code==
==Code==
{{CodeBox
{{CodeBox
Line 63: Line 63:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2541
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41.65
   | version = 41.78.16
   | code =
   | code =
item FiberglassStock
item FiberglassStock
{
    {
    DisplayCategory = WeaponPart,
        DisplayCategory = WeaponPart,
    Type = WeaponPart,
        Type = WeaponPart,
    DisplayName = Fiberglass Stock,
        DisplayName = Fiberglass Stock,
    Icon = RifleFibreglassStock,
        Icon = RifleFibreglassStock,
    Weight = 1,
        Weight = 1,
    WeightModifier = -0.5,
        WeightModifier = -0.5,
    HitChanceModifier = 8,
        HitChanceModifier = 8,
    MountOn = HuntingRifle; VarmintRifle,
        MountOn = HuntingRifle; VarmintRifle,
    PartType = Stock,
        PartType = Stock,
    Tooltip = Tooltip_FiberglassStock,
        Tooltip = Tooltip_FiberglassStock,
}
    }  
  }}
}}
}}
}}


Line 88: Line 88:
*[[Weapons]]
*[[Weapons]]


{{Navbox weapons}}
{{Navbox weapons|firearms}}

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