VOID.C

LIB3/ROOM/VOID.C · 690 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

inherit "/std/room";

void    setup()
{
    set_short( "The void" );
    set_long( "You are in the void, a non-existant place "
	      + "(literally) in the middle of nowhere. Being "
	      + "here is not normal, and decidedly not good. "
	      + "So unless you have business here, please "
	      + "leave, or shout on a lord or creator to restore "
	      + "you to your correct location.\n" );
    set_light( 70 );
}

int    *query_co_ord()
{
    return 0;
}

void    init()
{
    object *things;
    int     i;

    ::init();
    if( things = all_inventory( this_object() ) )
	for( i = 0; i < sizeof( things ); i++ )
	    if( !interactive( things[ i ] ) )
		things[ i ]->dest_me();
}

Site Stats

Snippets: 1791
Codebases: 571