Fiberglass Stock: Difference between revisions
m (Updated distribution table) |
m (Automated CodeBox update) |
||
Line 63: | Line 63: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 2541 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item FiberglassStock | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
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,
}