Alarm Clock: Difference between revisions
m (category) |
(added new header and infobox) |
||
Line 1: | Line 1: | ||
{{languages| | {{languages|Battery}} | ||
{{Items | {{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal | ||
|image = AlarmClock.png | |display_name=Battery | ||
|weight = | |name_colour = Electric | ||
}} | |name_text_colour = Electric | ||
|image=AlarmClock.png | |||
|weight=0.5 | |||
|primary_use = Display [[Controls#Time Controls|time]] | |||
|secondary_use = Distract [[zombies]] | |||
|class_name=Base.AlarmClock2 | |||
}}An '''alarm clock''' is an [[Items|item]] that displays the [[Controls#Time Controls|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 [[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. | |||
This is a very effective | |||
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. | |||
==Distribution== | |||
Alarm clocks can be found in house bedrooms. | |||
==Code== | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=40|incver=5}} | |||
<pre> item AlarmClock2 | |||
Type = AlarmClock, | |||
DisplayName = Alarm Clock, | |||
Weight = 0.5, | |||
Icon = AlarmClock, | |||
AlarmSound = AlarmClockRingingLoop, | |||
SoundRadius = 15, | |||
MetalValue = 25, | |||
</pre> | |||
==See also== | |||
*[[Digital Watch]] | |||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Revision as of 08:49, 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,