Alarm Clock: Difference between revisions

From PZwiki
m (Remove lines))
m (Distribution table update)
Line 31: Line 31:
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|AlarmClock2|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>AlarmClock2 distribution
! Container
        <span class="mw-customtoggle-togglebox-AlarmClock2" 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-AlarmClock2">
! 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%;"
|bedroom
    |+ {{ll|Containers}}
|[[sidetable]]
    ! Building / Room
|4
    ! Container
|1
    ! Rolls
|}Alarm clocks can be found in house bedrooms.
    ! Chance
    |-
    | bedroom
    | {{ll|sidetable}}
    | 4
    | 10
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-AlarmClock2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|AlarmClock2|41.78.16-->
Alarm clocks can be found in house bedrooms.


==Code==
==Code==

Revision as of 16:39, 23 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]
Alarm Clock
AlarmClock Model.png
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Function
Display time
Distract zombies
Properties
Material
Metal
Metal quantity
25
Performance
Noise radius
15
Technical
Item ID
Base.AlarmClock2

An alarm clock is an item that displays the time.

Usage

When it is in the player's main inventory, the time of day will be displayed on the HUD at the top right of the screen, the same as a digital watch and classic wrist watch, with additional weight. Similar to the classic wrist watch, the alarm clock will not display how long the player has been alive for in the info tab. An alarm can be set to go off at a specific time by right-clicking it and selecting "Set Alarm". The alarm can be turned on or off.

This is a very effective tool for drawing off zombie hordes. Once the alarm is triggered (lasts for around 10 seconds), zombies move towards it and stop on top of it and disperse once it ends. This device will not prevent zombies from seeing the player, however can be used to lure them to a certain area.

The sound of a triggered alarm will wake up the player if they're sleeping. But be careful, this will also draw nearby zombies.

Crafting

Product Ingredients Tools Requirements Workstation XP
TimerCrafted.png
Crafted Timer
One of:
AlarmClock.png Alarm Clock ×1
Timer.png Timer ×1
Each of:
ElectronicsScrap.png Scrap Electronics ×1
Glue.png Glue ×1 unit(s)
Screwdriver.png
Screwdriver
Electrical 1
(and)
MagazineElectronics02.png
Electronics Magazine Vol.2
none none

Distribution

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

AlarmClock2 distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bedroom sidetable 4 10

Alarm clocks can be found in house bedrooms.

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 AlarmClock2
    {
        DisplayCategory = Household,
        Type	=	AlarmClock,
        DisplayName	=	Alarm Clock,
        Weight	=	0.5,
        Icon	=	AlarmClock,
        AlarmSound = AlarmClockRingingLoop,
        SoundRadius = 15,
        MetalValue = 25,
        WorldStaticModel = AlarmClock,
    }

See also