Red Dot: Difference between revisions
m (Automated CodeBox update) |
m (Distribution table update) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Red Dot | |name=Red Dot | ||
Line 35: | Line 34: | ||
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | *[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]] | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|RedDot|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>RedDot distribution | |||
<span class="mw-customtoggle-togglebox-RedDot" 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-RedDot"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
| garagestorage | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
| 4 | ! Container | ||
| 6 | ! Rolls | ||
|- | ! Chance | ||
| gunstore | |- | ||
| | | garagestorage | ||
| 4 | | {{ll|locker}} | ||
| 6 | | 4 | ||
|} | | 6.0 | ||
|- | |||
| gunstore | |||
| {{ll|counter}} | |||
| 4 | |||
| 6.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-RedDot" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|RedDot|41.78.16--> | |||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 2586 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item RedDot | item RedDot | ||
{ | { | ||
DisplayCategory = WeaponPart, | |||
Type = WeaponPart, | |||
DisplayName = Red Dot, | |||
Icon = RedDot, | |||
Weight = 0.2, | |||
WeightModifier = 0.2, | |||
AimingTimeModifier = 5, | |||
MountOn = Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2; HuntingRifle; VarmintRifle, | |||
PartType = Scope, | |||
Tooltip = Tooltip_RedDot, | |||
} | StaticModel = RedDot, | ||
MetalValue = 15, | |||
WorldStaticModel = Handgun_RedDotScope_Ground, | |||
} | |||
}} | |||
}} | }} | ||
Line 88: | Line 99: | ||
*[[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} |
Revision as of 16:25, 24 April 2024
Red Dot
Performance
Aiming time
5
Encumbrance mod.
0.2
Technical
Item ID
Base.RedDot
“
Weapon attachment. Increases firearm's aiming speed.
A red dot is a weapon mod.
Usage
Increases firearms' aiming speed.
To install an attachment, right click either the weapon you want to modify or attachment you want to add, and select "Upgrade" to modify the weapon. Requires a screwdriver.
Compatible weapons
- D-E Pistol
- M1911 Pistol
- M9 Pistol
- M625 Revolver
- Magnum
- MSR700 Rifle
- MSR788 Rifle
- M14 Rifle
- M16 Assault Rifle
Distribution
The loot distributions can be found in the table(s) below.
RedDot distribution
Show / Hide
Building / Room | Container | Rolls | Chance |
---|---|---|---|
garagestorage | locker | 4 | 6.0 |
gunstore | counter | 4 | 6.0 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item RedDot
{
DisplayCategory = WeaponPart,
Type = WeaponPart,
DisplayName = Red Dot,
Icon = RedDot,
Weight = 0.2,
WeightModifier = 0.2,
AimingTimeModifier = 5,
MountOn = Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2; HuntingRifle; VarmintRifle,
PartType = Scope,
Tooltip = Tooltip_RedDot,
StaticModel = RedDot,
MetalValue = 15,
WorldStaticModel = Handgun_RedDotScope_Ground,
}