Exemplo n.º 1
0
static void create() {
    daemon::create();
    SetNoClean(1);
    call_out((: eventReap :), 300);
    call_out((: CheckMem :), 60);
    set_heart_beat(5);
}
Exemplo n.º 2
0
static void create() {
    object ob;
    ::create();
    
    SetNoClean(1);
    SetNoModify(1);
    SetProperty("light", 3);
    SetProperty("night light", 2);
    SetProperty("no steal", 1);
    SetProperty("no magic", 1);
    SetProperty("no attack", 1);
    SetProperty("no castle", 1);
    
    SetClimate("indoors");
    SetShort("Clergy Prothesis");
    SetLong(
      "The prothesis is used as both an prayer room "
      "and a vestry where all the brothers that follow "
      "the path of faith can store goods to use for later "
      "or share and communicate with each other. "
    );
    SetItems( ([
        ({"prothesis","prayer room","room","vestry"}) :
        "Wouldn't it be easier just to look around?",
        "goods" : "Goods are left on the floor for "
        "general use.",
        "floor" : "You look directly down and examine "
        "the floor closely."    
      ]) );
Exemplo n.º 3
0
static void create() {
    room::create();
    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("Putcri Brothers' storage");
    SetLong("This is the Putcri Brothers' storage room.");
    SetInventory(([
        "/domains/ATC/armor/belt" : 3,
        "/domains/ATC/armor/goldish_ring" : 5,
        "/domains/ATC/armor/guard_bandana" : 5,
        "/domains/ATC/armor/rusty_chainmail_shirt" : 10,
        "/domains/ATC/obj/small_bag" : 20,
        "/domains/ATC/obj/copper_canteen" : 5,
        "/domains/ATC/obj/match" : 25,
        "/domains/ATC/obj/torch" : 10,
        "/domains/ATC/weap/paddle" : 5,
        "/domains/ATC/weap/butcher_knife" : 10,
        "/domains/ATC/weap/dagger" : 20,
        "/domains/ATC/weap/gladius" : 5,
        "/domains/ATC/weap/hand_axe" : 10,
        "/domains/ATC/weap/knife" : 10,
      ]));
    SetNoClean(1);

    SetExits( ([
        "up" : "/domains/ATC/room/putcri_bros",
      ]) );
}
Exemplo n.º 4
0
Arquivo: shop2.c Projeto: Elohim/FGmud
static void create() {
    room::create();
    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("Gorm's storage room");
    SetLong("This is a small, bare room where Gorm keeps his goods. The main store is above.");
    SetInventory(([
        OBJ +"skin" : 5,
        OBJ +"match" : 5,
        OBJ +"torch" : 5,
        WEAP +"axe" : 5,
        WEAP +"dagger" : 5,
        WEAP +"javelin" : 5,
        WEAP +"sword" : 5,
        ARMOR +"armored_boot_l" : 2,
        ARMOR +"armored_boot_r" : 2,
        ARMOR +"armored_glove_r" : 2,
        ARMOR +"armored_glove_l" : 2,
        ARMOR +"chainmail" : 5,
        ARMOR +"leather_armor" : 5,
        ARMOR +"orc_boot_r" : 5,
        ARMOR +"orc_boot_l" : 5,
        ARMOR +"orc_tallboot_r" : 5,
        ARMOR +"orc_tallboot_l" : 5,
        ARMOR +"orc_helmet" : 5,
        ARMOR +"platemail" : 1,
        ARMOR +"pants" : 10,
        ARMOR +"dress" : 10,
      ]));
    SetExits( ([ 
        "up" : ROOM+ "shop",
      ]) );
    SetNoClean(1);

}
Exemplo n.º 5
0
static void create() {
    string privs;
    privs = query_privs();
    if( privs ) privs = capitalize(privs);
    else privs = "a creator";
    room::create();
    SetClimate("indoors");
    SetAmbientLight(40);
    SetShort("Conference Room");
    SetLong((: ExtraDesc :));
    SetInventory(([
                      "/domains/town/obj/chair" : 4,
                      "/domains/town/obj/bbucket" : 1,
                      "/secure/npc/cambot" : 1
                  ]));
    SetExits(([
                  "west" : "/domains/town/room/adv_guild",
              ]));

    SetProperties(([
                       "no attack" : 1,
                       "nopeer" : 1,
                       "meeting room" : 1,
                   ]));
    SetNoClean(1);
    privacy=0;
    set_heart_beat(20);
    timer = 0;

}
Exemplo n.º 6
0
static void create() {
    ::create();

    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("The Cleric waiter's Storage Room");
    SetLong("  This is a small, bare room where the cleric waiter keeps his goods.");
    SetInventory( ([
        "/domains/diku-alfa/room/30.zon/meals/3002_dk_bottle" : 20,
	"/domains/diku-alfa/room/30.zon/meals/3004_local_bottle" : 20,       
        ]) );
    SetNoClean(1);
    SetExits(([
        "None" : "",
        ]));
}
Exemplo n.º 7
0
void create() {
    ::create();
    SetProperty("light", 2);
    SetProperty("no castle", 1);
    SetShort( "along West Road");
    SetLong( (: is_dug :));
    SetNoClean(1);
    SetItems(
        (["road" : "There is a mound of loose dirt piled by its side.",
          "dirt" : "It is very loose.",
          "hut " : "It looks very mystical.",
          "sign" : "Those who can read are very fortunate indeed!",
          "mound" : (: this_object(), "look_at_mound" :) ]) );
    SetExits(
        (["north" : "/domains/Praxis/west_road3",
          "south" : "/domains/Praxis/west_road1",
          "east" : "/domains/Praxis/medium"]) );
    dug = 0;
}
Exemplo n.º 8
0
static void create() {
    object ob;
    room::create();
    SetAmbientLight(30);
    SetNoClean(1);
    SetTerrainType(T_SPACE);
    SetMedium(MEDIUM_SPACE);

    SetShort("Outer Space");
    SetLong("Outer space. A big, place. There is a medium sized planet below.");
    SetExits(([
"+x" : "/domains/town/virtual/space/1,2,1", 
"-x-y-z" : "/domains/town/virtual/space/2100000000,2100000000,0", 
"-z" : "/domains/town/virtual/space/1,1,0", 
"-x-y" : "/domains/town/virtual/space/2100000000,2100000000,1", 
"+x+y-z" : "/domains/town/virtual/space/2,2,0", 
"-y" : "/domains/town/virtual/space/2100000000,1,1", 
"+x-y+z" : "/domains/town/virtual/space/2100000000,2,2", 
"-x+y+z" : "/domains/town/virtual/space/2,2100000000,2", 
"-x" : "/domains/town/virtual/space/1,2100000000,1", 
"+x+y" : "/domains/town/virtual/space/2,2,1", 
"-x-y+z" : "/domains/town/virtual/space/2100000000,2100000000,2", 
"+x-y-z" : "/domains/town/virtual/space/2100000000,2,0", 
"-x+y-z" : "/domains/town/virtual/space/2,2100000000,0", 
"+z" : "/domains/town/virtual/space/1,1,2", 
"+x-y" : "/domains/town/virtual/space/2100000000,2,1", 
"-x+y" : "/domains/town/virtual/space/2,2100000000,1", 
"+y" : "/domains/town/virtual/space/2,1,1", 
"+x+y+z" : "/domains/town/virtual/space/2,2,2",
"down": "/domains/town/virtual/sky/1,1,1000",
"-y+z" : "/domains/town/virtual/space/2100000000,1,2", 
"+x-z" : "/domains/town/virtual/space/1,2,0", 
"-x-z" : "/domains/town/virtual/space/1,2100000000,0", 
"+y-z" : "/domains/town/virtual/space/2,1,0", 
"+x+z" : "/domains/town/virtual/space/1,2,2", 
"-y-z" : "/domains/town/virtual/space/2100000000,1,0", 
"-x+z" : "/domains/town/virtual/space/1,2100000000,2", 
"+y+z" : "/domains/town/virtual/space/2,1,2", 
]) );

    SetInventory(([
      ]));
}
Exemplo n.º 9
0
static void create() {
    ::create();
    SetClimate("indoors");
    SetAmbientLight(30);
    SetShort("Luxan's Storage Room");
    SetLong("  This is a small, bare room where the Luxan keps his goods.");
    SetInventory(([
        "/domains/diku-alfa/room/55.zon/obj/3030_torch" : 20,        
        "/domains/diku-alfa/room/55.zon/obj/5004_wildflowers" : 20,
        "/domains/diku-alfa/room/55.zon/meals/5005_waterskin" : 20,
        "/domains/diku-alfa/room/55.zon/meals/5006_beef_jerkey" : 20,
        "/domains/diku-alfa/room/55.zon/armor/6001_shirt" : 20,
      ]));
    SetNoClean(1);

    SetExits(([
         "None" : "",
        
      ]));

}
Exemplo n.º 10
0
void create(){
    string path;
    item::create();
    SetNoClean(1);
    SetId( ({ "board", "message board" }) );
Exemplo n.º 11
0
static void create() {
    daemon::create();
    SetNoClean(1);
    call_out((: eventDecay :), 30);
}
Exemplo n.º 12
0
void create() {
    daemon::create();
    SetNoClean(1);
    SaveFile = save_file(SAVE_BANISH);
    __Names = ({"template"});