room_item.c

ds2.1.1/lib/domains/town/obj/room_item.c · 482 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DUMMY; // These do not show up in desc, but you can look at them

int ShowRoomDesc(){
    this_player()->eventDescribeEnvironment();
    tell_room(environment(),this_player()->GetName()+" looks around.",({ this_player() }) );
    return 1;
}

static void create() {
    dummy::create();
    SetKeyName("room");
    SetId(({"here","around","place","area" }));
    SetAdjectives("this", "current");
    SetShort("");
    SetLong( (: ShowRoomDesc :) );
}

Site Stats

Snippets: 1791
Codebases: 571