Alarm Clock: Difference between revisions

From PZwiki
m (edit language tag)
m (Automated CodeBox update)
(33 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages|Alarm Clock}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{Items
{{Page version|41.78.16}}
|image = AlarmClock.png
{{Infobox item
|weight = 1.5
|name=Alarm Clock
|name_colour=Electric
|name_text_colour=Electric
|model=AlarmClock_Model.png
|icon=AlarmClock.png
|icon_name=Alarm Clock
|category=Household
|weight=0.5
|function=Display [[Controls#Time Controls|time]]<br>Distract [[zombie]]s
|material=Metal
|material_value=25
|sound_radius=15
|item_id=Base.AlarmClock2
}}
}}


The alarm clock is an item that can be found in house bedrooms.  
An '''alarm clock''' is an [[Items|item]] that displays the [[Controls#Time Controls|time]].
== Uses ==
 
The alarm clock is a very interesting device. Once placed it will tick for 10 seconds (Default) then emit a ringing sound, drawing in zombies in a 10 meter radius. This is a very effective weapon for drawing off hoards. The "Explosion" Delay can be changed in the player's inventory (Note: Uses seconds as measurement). Be careful though, once the ringer goes off (lasts for around 10 seconds), the zombies will stop standing right on it and disperse again. Also, this device will not prevent the zombies from seeing you but is a way to lure them to a certain area.
==Usage==
When it is in the player's main inventory, the time of day will be displayed on the [[Controls#HUD|HUD]] at the top right of the screen, the same as a [[Digital Watch|digital watch]] and [[Classic Wrist Watch|classic wrist watch]], with additional weight. Similar to the [[Classic Wrist Watch|classic wrist watch]], the alarm clock ''will not'' display how long the [[Player|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 [[zombies|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 [[sleep]]ing. But be careful, this will also draw nearby zombies.
 
==Crafting==
{{Crafting header|ing=4}}
{{Crafting electrical|102|ing=4}}
|}
 
==Distribution==
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;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bedroom
|[[sidetable]]
|4
|1
|}Alarm clocks can be found in house bedrooms.
 
==Code==
{{CodeBox |{{CodeSnip
  | lang = java
  | line = true
  | start = 3671
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item AlarmClock2
    {
        DisplayCategory = Household,
        Type = AlarmClock,
        DisplayName = Alarm Clock,
        Weight = 0.5,
        Icon = AlarmClock,
        AlarmSound = AlarmClockRingingLoop,
        SoundRadius = 15,
        MetalValue = 25,
        WorldStaticModel = AlarmClock,
    }
}}}}
 
==See also==
*[[Digital Watch]]
*[[Aerosol Bomb|Aerosol Bomb with Timer]]
*[[Pipe Bomb|Pipe Bomb with Timer]]
 
{{Navbox equipment|household}}
 
[[Category:Electricals and Transmission (Project)]]

Revision as of 10:02, 26 March 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
TimerCrafted.png
Crafted Timer
0 XP Electrical 1 Electronics Magazine Vol.2 Screwdriver.png
Screwdriver
(keep)

(consumed)
ElectronicsScrap.png
Scrap Electronics x1
(consumed)
Glue.png
Glue
(1 unit)

(consumed)

Distribution

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

Containers
Building/Room Container Rolls Chance
bedroom sidetable 4 1

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