inherit "room/room"; object obj_board; reset(arg) { if (arg) return; set_light(1); set_inside(1); short_desc = "Water Brothers Guild Entrance"; no_castle_flag = 0; long_desc = "Water Brothers Guild Entrance\n" + "The guild for advancement is to the north\n" + "Type 'help guild' for more info on the Water Brothers.\n"; dest_dir = ({ "players/jubal/castle/entrance", "east", "players/jubal/water/guild", "north", }); extra_reset(); } init() { ::init(); add_action("help","help"); add_action("north","north"); add_action("join","join"); } help(str) { if (str!="guild") return 0; write("\n"); cat("/guilds/water/README"); write("More to come! Leave ideas on the board!\n"); return 1; } join() { if(this_player()->query_guild_string()=="water brother") return write("You are already a Water Brother\n"); write("You join the Water Brothers.\n"); this_player()->set_guild_string("water brother"); return 1; } north() { if(this_player()->query_name()!="Jubal") return write("The guild is not open yet.\n"); if(this_player()->query_guild_string()!="water brother") return write("You are not a member of the guild yet. (type 'help guild')\n"); return write("Welcome, Water Brother.\n"),0; } extra_reset() { if (!obj_board) { obj_board = clone_object("obj/bull_board"); move_object(obj_board,this_object()); obj_board->set_remove_level(1000); obj_board->set_save_file("players/jubal/log/guildboard"); } } query_light() { return 1; }