add_sign.c
final_realms_fluffos_v1/lib/std/basic.old/add_sign.c · 548 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
/*
* add_sign(string long, string read_mess)
*
* This file can be inherited and will return a sign that can be used
* by a room or object in any way it sees fit. This function was the
* brainchild of Wyrm - 7 Feb '92
*/
object add_sign (string long, string mess)
{
object sign;
sign = clone_object("/std/object");
sign-> set_name ("sign");
sign-> set_short ("sign");
sign-> set_long (long);
sign-> set_read_mess (mess);
sign-> set_main_plural ("signs");
sign-> reset_get ();
sign-> move (this_object());
return sign;
}