Alarm Clock: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{languages| | {{languages|Alarm Clock}} | ||
{{header|The Game World|Items|type=Electric|version=Version 40|incver=5}}{{Infobox normal | {{header|The Game World|Items|type=Electric|version=Version 40|incver=5}}{{Infobox normal | ||
|display_name=Battery | |display_name=Battery |
Revision as of 10:35, 3 August 2018
Battery | |
---|---|
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. 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.
Distribution
Alarm clocks can be found in house bedrooms.
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.5
item AlarmClock2 Type = AlarmClock, DisplayName = Alarm Clock, Weight = 0.5, Icon = AlarmClock, AlarmSound = AlarmClockRingingLoop, SoundRadius = 15, MetalValue = 25,