start.c

skylib_fluffos_v3/mudlib/d/learning/school/add_sc/start.c · 528 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

/*
* add_command examples for the cre school
* Feb 2 '02 by Avelan
*/

#include "defs.h"
inherit ROOM_OBJ;

void setup(){

    set_light(80);
    set_short("add_command school");
    set_long("This section gives a few simple examples"
      " on add_commands and how to use them.  If the need"
      " arises, i might add some more complicated ones too.\n");

    add_exit("example 1",ADD_SC "add_sc01","path");
    add_exit("example 2",ADD_SC "add_sc02","path");
    add_exit("school",SCHOOL+"school","path");

} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571