Fiberglass Stock: Difference between revisions
No edit summary |
m (Distribution table fix) |
||
(29 intermediate revisions by 8 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== | |||
== | *[[File:RifleVarmint.png]][[MSR700 Rifle]] | ||
*[[File:RifleHunting.png]][[MSR788 Rifle]] | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--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--> | |||
== | ==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 24: | Line 114: | ||
PartType = Stock, | PartType = Stock, | ||
Tooltip = Tooltip_FiberglassStock, | Tooltip = Tooltip_FiberglassStock, | ||
} | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Weapon mods]] | |||
*[[Weapons]] | |||
{{Navbox | {{Navbox items|firearms}} | ||
Latest revision as of 19:12, 30 April 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.
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.
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% |
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,
}