Fiberglass Stock: Difference between revisions
(Created page with "{{languages}}{{Notice|Short}} {{Consumables |image = MODFiberglassStock.png |weight = 1 }} ==Description== ==Compatible Weapons== File:VarmintRifle.png|32px|link=Varmint R...") |
m (Automated CodeBox update) |
||
(24 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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. | ||
| | |||
}} | ==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== | ==Compatible Weapons== | ||
[[File: | *[[File:RifleVarmint.png|32px]] [[MSR700 Rifle]] | ||
[[File: | *[[File:RifleHunting.png|32px]] [[MSR788 Rifle]] | ||
== Code == | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! 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== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| 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 22: | Line 80: | ||
PartType = Stock, | PartType = Stock, | ||
Tooltip = Tooltip_FiberglassStock, | Tooltip = Tooltip_FiberglassStock, | ||
} | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Weapon mods]] | |||
*[[Weapons]] | |||
{{Navbox | {{Navbox weapons|firearms}} | ||
Revision as of 01:15, 25 March 2024
Fiberglass Stock
Performance
Accuracy
8
Encumbrance mod.
-0.5
Technical
Item ID
Base.FiberglassStock
“
Weapon attachment. Decreases firearm weight and increases accuracy.
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}