elevator.c

ds3.0/lib/domains/campus/chamber/elevator.c · 375 B

From the archive ds3.0.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_ELEVATOR;

void create(){
    elevator::create();
    SetSpeed(5);
    SetOpacity(0);
    SetFloors( ([
                -1 : ({ "b", "/domains/campus/room/shaftb" }),
                1 : ({ "1", "/domains/campus/room/shaft1" }),
                2 : ({ "2", "/domains/campus/room/shaft2" }),
                ]) );
}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571