Recoil Pad: Difference between revisions
m (Added model. Removed image improvement tag.) |
m (Automated Formatting) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | |||
{{Infobox | {{Page version|41.65}} | ||
| | {{Infobox item | ||
| | |name=Recoil Pad | ||
|model=Rifle_RecoilPad_Model.png | |||
|icon=RifleRecoilPad.png | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight=0.1 | |weight=0.1 | ||
Line 14: | Line 13: | ||
|recoil_mod=-10 | |recoil_mod=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.RecoilPad | ||
}}{{Quote|text=Weapon attachment. Reduces firearm recoil and delay to next shot.|author=In-game tooltip}}A '''recoil pad''' is a weapon mod. | }} | ||
{{Quote|text=Weapon attachment. Reduces firearm recoil and delay to next shot.|author=In-game tooltip}}A '''recoil pad''' is a weapon mod. | |||
==Usage== | ==Usage== | ||
Line 27: | Line 27: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2555 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item RecoilPad | |||
{ | { | ||
DisplayCategory = WeaponPart, | DisplayCategory = WeaponPart, | ||
Line 44: | Line 51: | ||
WorldStaticModel = Rifle_RecoilPad_Ground, | WorldStaticModel = Rifle_RecoilPad_Ground, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 50: | Line 58: | ||
*[[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} |
Revision as of 11:31, 14 April 2024
Recoil Pad
Performance
Recoil
-10
Encumbrance mod.
0.1
Technical
Item ID
Base.RecoilPad
“
Weapon attachment. Reduces firearm recoil and delay to next shot.
A recoil pad is a weapon mod.
Usage
Reduces firearm recoil by 10. 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 RecoilPad
{
DisplayCategory = WeaponPart,
Type = WeaponPart,
DisplayName = Recoil Pad,
Icon = RifleRecoilPad,
Weight = 0.1,
WeightModifier = 0.1,
RecoilDelayModifier = -10.0,
MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
PartType = RecoilPad,
Tooltip = Tooltip_RecoilPad,
WorldStaticModel = Rifle_RecoilPad_Ground,
}