X2 Scope: Difference between revisions

From PZwiki
m (Automated Formatting)
m (Distribution table update)
Line 32: Line 32:
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|x2Scope|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>x2Scope distribution
! Container
        <span class="mw-customtoggle-togglebox-x2Scope" 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-x2Scope">
! 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%;"
|all
    |+ {{ll|Containers}}
|[[militarycrate]]
    ! Building / Room
|4
    ! Container
|6
    ! Rolls
|-
    ! Chance
|garagestorage
    |-
|[[locker]]
    | all
|4
    | {{ll|militarycrate}}
|8
    | 4
|-
    | 6.0
|gunstore
    |-
|[[counter]]
    | garagestorage
|4
    | {{ll|locker}}
|8
    | 4
|-
    | 8.0
|policestorage
    |-
|[[locker]]
    | gunstore
|4
    | {{ll|counter}}
|4
    | 4
|}
    | 8.0
    |-
    | policestorage
    | {{ll|locker}}
    | 4
    | 4.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | PoliceTruckBed
    | 4
    | 4
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-x2Scope" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|x2Scope|41.78.16-->


==Code==
==Code==

Revision as of 17:01, 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]
x2 Scope
Rifle 2XScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Used in
RifleHunting.png RifleVarmint.png
Part type
Scope
Performance
Min range
+6
Max range
+7
Encumbrance mod.
+0.3
Technical
Item ID
Base.x2Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

A x2 scope is a weapon mod.

Usage

Increases firearms maximum fire range.

Can be added to guns using a screwdriver.

Compatible weapons

Distribution

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

x2Scope distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all militarycrate 4 6.0
garagestorage locker 4 8.0
gunstore counter 4 8.0
policestorage locker 4 4.0
Vehicles
Vehicle Type/Location Rolls Chance
PoliceTruckBed 4 4

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 x2Scope
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = x2 Scope,
        Icon = Scope2x,
        Weight = 0.3,
        WeightModifier = 0.3,
        MaxRangeModifier = 7,
        MinRangeModifier = 6,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22,
        WorldStaticModel = Rifle_2XScope_Ground,
    }

See also