[Package Index | Mudlib Index | Effect Index]
File /obj/clock.c
An inheritable clock object. This is used for proper clocks, if you need to
create a watch use the watch object instead.
See also:
/obj/watch
.c
Written by Ceres
Inherits
This class inherits the following classes std/object.cIncludes
This class includes the following files /include/am_time.hMethod index
Public Functions
These are functions that everyone can access.
.
void chime(string chime_message,
int type)
Function to chime. Overload this if you wish to have your own chime
code.
- Parameters:
chime_message - the message set with set_chimes.
- See also:
set_chimes
.c
string extra_look(object thing)
void set_chimes(int num,
string mess)
setup chimes for this clock.
- Parameters:
num - 1 = every hour, 2 = every half hour, 3 = every quarter hour.
mess - The message to be displayed when the clock chimes.
void set_show_date()
Sets this clock to show the date as well as the tme.