CleverRaven/Cataclysm-DDA — pull request #2183 by OzoneH3 (2013-07-25 15:16:04+00:00)
Title: Added alarm-clock flag to wrist watch and cell phone.

Added watch flag to cell phones and powerarmor helmets.
The watch flag item will also work if it is in the inventory.
Added the ability to set an alarm with an alarm-clock item in the sleep screen.
Traits like Heavy Sleeper, Bad Hearing and Bionic Ears have an effect on hearing the alarm.
Waiting can now be canceled with the "wait a turn" key (. of 5).
Waiting without a watch item has different options now.
UIMENU popups can be closed with ESC.
New player function has_item_with_flag(string).
New inventory function has_flag(string).