openable.c
lima-1.0b5/lib/domains/std/attic/openable.c · 372 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. */
#include <mudlib.h>
inherit M_OPENABLE;
void set_closed(int x) {
if (clonep(this_object())) base_name(this_object())->set_closed(x);
else ::set_closed(x);
}
int query_closed() {
if (clonep(this_object())) return base_name(this_object())->query_closed();
else return ::query_closed();
}