Red Dot: Difference between revisions

From PZwiki
m (Automated Formatting)
m (Distribution table update)
Line 37: Line 37:
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|RedDot|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>RedDot distribution
! Container
        <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>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-RedDot">
! style="width: 3.2em;" | Chance
    <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}}
|[[locker]]
    ! Building / Room
|4
    ! Container
|6
    ! Rolls
|-
    ! Chance
|gunstore
    |-
|[[counter]]
    | 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==

Revision as of 16:25, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Red Dot
Handgun RedDotScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
HandGun.pngHandGun2.png HandGun3.png Revolver.png RevolverLong.png RifleHunting.png RifleVarmint.png AssaultRifle2.png AssaultRifle.png
Part type
Scope
Performance
Aiming time
5
Encumbrance mod.
0.2
Technical
Item ID
Base.RedDot
Weapon attachment. Increases firearm's aiming speed.
— In-game tooltip

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

Distribution

The loot distributions can be found in the table(s) below.

RedDot distribution Show / Hide
Containers
Building / Room Container Rolls Chance
garagestorage locker 4 6.0
gunstore counter 4 6.0

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
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,
    }

See also