Alarm Clock: Difference between revisions
(added link to HU) |
(Updated to 41.78.16) |
||
Line 1: | Line 1: | ||
{{languages|Alarm Clock}} | {{languages|Alarm Clock}} | ||
{{header|The Game World|Items|type=Electric|version=Version | {{header|The Game World|Items|type=Electric|version=Version 41|incver=78.16}}{{Infobox normal | ||
|display_name=Alarm Clock | |display_name=Alarm Clock | ||
|name_colour = Electric | |name_colour = Electric | ||
Line 17: | Line 17: | ||
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. | 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== | ==Distribution== | ||
Line 23: | Line 28: | ||
==Code== | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=78.16}} | ||
<pre> item AlarmClock2 | <pre> | ||
item AlarmClock2 | |||
{ | |||
DisplayCategory = Household, | |||
Type = AlarmClock, | |||
DisplayName = Alarm Clock, | |||
Weight = 0.5, | |||
Icon = AlarmClock, | |||
AlarmSound = AlarmClockRingingLoop, | |||
SoundRadius = 15, | |||
MetalValue = 25, | |||
WorldStaticModel = AlarmClock, | |||
} | |||
</pre> | </pre> | ||
==See also== | ==See also== | ||
*[[Digital Watch]] | *[[Digital Watch]] | ||
*[[Aerosol Bomb|Aerosol Bomb with Timer]] | |||
*[[Pipe Bomb|Pipe Bomb with Timer]] | |||
{{Navbox | {{Navbox equipment}} | ||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Revision as of 05:11, 3 April 2023
Alarm Clock | |
---|---|
General | |
Category | Item |
Encumbrance | 0.5 |
Function |
Display time Distract zombies |
Technical details | |
Base 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 |
---|---|---|---|---|---|---|---|
Crafted Timer |
0 XP | Electrical 1 | Screwdriver (keep) |
(consumed) |
Scrap Electronics x1 (consumed) |
Glue (1 unit) (consumed) |
Distribution
Alarm clocks can be found in house bedrooms.
Code
From newitems.txt (Project Zomboid directory/media/scripts/) 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, }