workroom.c

./lib/d/coronos/w/angel/ud/l1/workroom.c · 986 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

#include <mudlib.h>

inherit ROOM;

void reset(status arg) {
	if(arg) return;
	set_short("The Adminstrators Office");
	set_long("You are in a Dingy little office with a single dusty window.\n");
	set_exits(({
	"players/alena/workroom", "alena",
		"players/admin/begin", "tarea",
		"room/void", "void",
		"room/city/square", "square",
		"room/city/t_hall1", "hall",
		"room/city/shop/shop", "shop",
	}));
	set_weather(5,5,5);
}

void init() {
	::init();
	add_action("message", "message");
	add_action("map", "map");
}

status map() {
	string tmp;
	tmp = (string)"/room/ships/maps"->make_map();
	write(tmp);
	return 1;
}

message() {
	this_player()->set_mmsgout(
	"utters holy words...\n"+
	"A golden portal opens before him, bathing the room in heavenly light\n"+
	"Angel steps into the portal, which closes behind him.\n");

	this_player()->set_mmsgin(
	"steps through a golden portal of heavenly light...\n");
	write("Done.\n");
	return 1;
}

Site Stats

Snippets: 1791
Codebases: 571