Recoil Pad: Difference between revisions
(added header and new infobox) |
(Add distro table) |
||
(22 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | ||
{{Page version|41.65}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Recoil Pad | ||
| | |model=Rifle_RecoilPad_Model.png | ||
| | |icon=RifleRecoilPad.png | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight | |weight=0.1 | ||
|weapon | |weapon=[[File:RifleVarmint.png|MSR700 Rifle]][[File:RifleHunting.png|link=MSR788 Rifle]][[File:AssaultRifle2.png|M14 Rifle]][[File:AssaultRifle.png|M16 Assault Rifle]] | ||
|part_type | |part_type=Recoil pad | ||
<!--MODIFIERS--> | <!--MODIFIERS--> | ||
|weight_mod | |weight_mod=0.1 | ||
|recoil_mod | |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. | |||
==Usage== | ==Usage== | ||
Can be | Reduces firearm recoil by 10. Can be attached using a [[screwdriver]]. | ||
==Compatible | ==Compatible weapons== | ||
*[[File:RifleVarmint.png | *[[File:RifleVarmint.png]][[MSR700 Rifle]] | ||
*[[File: | *[[File:RifleHunting.png]][[MSR788 Rifle]] | ||
*[[File:AssaultRifle2.png]][[M14 Rifle]] | |||
*[[File:AssaultRifle.png]][[M16 Assault Rifle]] | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|RecoilPad|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>RecoilPad distribution | |||
<span class="mw-customtoggle-togglebox-RecoilPad" 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-RecoilPad"> | |||
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 sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| garagestorage | |||
| {{ll|locker}} | |||
| 15.1% | |||
|- | |||
| gunstore | |||
| {{ll|counter}} | |||
| 15.1% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-RecoilPad" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|RecoilPad|41.78.16--> | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2555 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
* [[Weapon mods]] | *[[Weapon mods]] | ||
* [[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} |
Latest revision as of 16:48, 4 May 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
Distribution
The loot distributions can be found in the table(s) below.
RecoilPad 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 |
---|---|---|
garagestorage | locker | 15.1% |
gunstore | counter | 15.1% |
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,
}