コード例 #1
0
ファイル: logd.c プロジェクト: simonthoresen/viking
static void
create()
{
    ::create();
    set_log_dir(ART_DIR_LOG);
    set_save_file(ART_DIR_VAR + "logd");
}
コード例 #2
0
ファイル: scored.c プロジェクト: simonthoresen/viking
static void
create()
{
    ::create();
    set_save_file(ART_DIR_VAR + "scored");
    set_prefix("art_score_");
    set_num_records(10);
}
コード例 #3
0
ファイル: conf_A.c プロジェクト: ClockworkSoul/MortalRemains
void create()
{
        bboard::create();
        set_attic_dir ("/d/Conf/data/attic") ;
	set_save_dir("/d/Conf/data") ;
        set_save_file("conf_A");
        set_location("/d/Conf/room/room_A") ;
	set ("short.text", "Resolutions and Amendments Board") ;
}
コード例 #4
0
void create()
{
        bboard::create();
	set_attic_dir ("/d/TMI/data/attic") ;
	set_save_dir("/d/TMI/data") ;
	set_save_file("network");
		set_location("/d/TMI/rooms/networkroom");
	set ("short.text","The network board");
}
コード例 #5
0
void create()
{
    bboard::create();
    set_attic_dir(BASE+"data/attic");
    set_save_dir(BASE+"data");
    set_save_file("MS");
    set_location(FLOOR_1("entrance.c"));
    set("author", "cyanide");
    set("short.text", "a brand new posting board");
}
コード例 #6
0
void create()
{
     monolith::create();
  set_attic_dir("/d/Dark/data/attic");
  set_save_dir("/d/Dark/data");
  set_save_file("necro_board");
  set_location("/d/Dark/Prime/wiz/necro_room");
  set ("short.text", "Great Basalt Monolith");
  set ("long.text",
"this is a black monolith. You can post on it. For information on how to\n"+
"use it, type \"help monolith\".\n");
  set("id",({ "monolith" }));
コード例 #7
0
void setup() {
   set_light(50);
   set_theft_handler( HOSPITAL );
   set_save_file("%savedir%/%N%bed4");

/* DESCRIPTIONS */

   set_orientation(%orientation%);
  set_quit_handler(%out%);

   set_short("bedroom");
   set_base_desc( "a small bedroom" );
   add_surface( "floor", "finished pine board" );
   add_surface( "ceiling", "plain plaster" );
   add_surface( "%0% wall", "plain plaster" );
   add_surface( "%2% wall", "plain plaster" );
   add_surface( "%4% wall", "plain plaster" );
   add_surface( "%6% wall", "plain plaster" );

/* EXITS */

   add_exit( "%4%", PATH +"%N%landing2", "door" );
   modify_exit("%4%", ({ "door short", "livingroom door" }));