knock.c
lima-1.0b5/lib/cmds/verbs/knock.c · 287 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_knock_on_obj( object obj )
{
obj->do_knock();
}
void do_knock_at_obj(object obj)
{
obj->do_knock();
}
void create()
{
add_rules( ({ "on OBJ", "at OBJ" }), ({ "rap" }) );
}