[Package Index | Mudlib Index | Effect Index]
See also:
/obj/clock.
Written by ceres
inherit "/obj/watch";
void setup() {
set_name("watch");
set_main_plural("gold watches");
set_short("gold watch");
add_adjective("gold");
set_long("This is a mechanical gold watch. The time reads ");
set_weight(3);
set_type("bracelet");
add_property( "shop type", "jewellers" );
add_property("no recycling", 1);
set_cond(350);
set_max_cond(350);
set_damage_chance(4);
set_value(14000);
set_has_alarms(1);
set_alarm_mess("Beep, beep, beep, Your alarm has gone off!\n");
}
inherit "/obj/watch";
setup() {
set_name("watch");
set_main_plural("watches");
set_long("This is one of those wrist watches that is powered by "
"a chubby-looking imp. This watch basically has fifteen "
"functions, but as far you are concerned the imp performs "
"only two functions. One function to tell the time and the "
"function to apologise for its inefficiency in its other "
"thirteen functions.\n");
set_weight( 1 );
set_type("bracelet");
add_property("shop type", "jewellers");
add_property("no recycling", 1);
set_cond(300);
set_max_cond(300);
set_damage_chance(5);
set_value( 6000 );
set_pocketwatch(1);
set_watch_speaker("From inside the watch the chubby-looking imp");
}
void check_for_alarms()
void set_alarm_mess(string mess)
set_watch_speaker( "From inside the watch, a fat blue imp" ); set_alarm_mess( "It is $time$, this is your $alarm$ alarm!\n" ); set_silent_alarm( 1 ); set_alarm_mess( "Your $short$ buzzes almost imperceptibly as an alarm " "goes off.\n" );
void set_has_alarms(int i)
void set_pocketwatch(int i)
void set_silent_alarm(int silent)
set_has_alarms( 1 );
set_alarm_mess( "You feel a tiny pin prick on your wrist, indicating "
"that your $short$'s alarm is going off.\n" );
set_silent_alarm( 1 );
void set_watch_speaker(string mess)