exit.c

lima-1.0b5/lib/cmds/verbs/exit.c · 336 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

inherit VERB_OB;

void do_exit()
{
   environment(this_body())->do_verb_rule("exit");
}

void do_exit_obj(object ob)
{
   environment(this_body())->do_verb_rule("exit","OBJ",ob);
}

void create()
{
   add_rules( ({ "OBJ", "" }), ({ "leave", "disembark" }) );
}

Site Stats

Snippets: 1791
Codebases: 571