Fiberglass Stock: Difference between revisions
(3d model request tag) |
(→Code: code box update) |
||
Line 26: | Line 26: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 65 | |||
| code = | |||
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== | ==See also== |
Revision as of 07:35, 8 January 2024
Fiberglass Stock | |
---|---|
General | |
Category | Weapon mod |
Encumbrance | 1.0 |
Weapon(s) | |
Part type | Stock |
Modifiers | |
Encumbrance | -0.5 |
Accuracy | 8 |
Technical details | |
Item ID | Base.FiberglassStock |
“
Weapon attachment. Decreases firearm weight and increases accuracy.
A fiberglass stock is a weapon mod.
Usage
Decreases the weight of the firearm by 0.5, while also increasing it's accuracy by 8. Can be attached using a screwdriver.
Compatible Weapons
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,
}