NEWBIEPU.C
LIB3/D/HOME/CITY/NEWBIEPU.C · 3.9 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/pub";
object board;
void reset()
{
if (!board) {
board = clone_object("obj/misc/board");
board->move(this_object());
board->set_datafile("newbiepub");
}
}
void dest_me()
{
if (board) board->dest_me();
::dest_me();
}
setup()
{
set_co_ord( ({ 0, 0, 0 }) );
add_menu_item("Beer", "alcohol", 10, 0, 30, 30,
"buy a pint of local beer. It tastes terrible, but you manage "+
"to force it down your gullet",
"buys a pint of the revolting local beer. They must be very "+
"hard up before they resort to that vile brew");
add_menu_item("Ale", "alcohol", 100, 0, 50, 50,
"buy a flagon of ale, and down it rapidly",
"buys a flagon of ale and drinks it quickly");
add_menu_item("Best lager", "alcohol", 350, 0, 60, 60,
"buy some of the best lager. You drink it all, then almost "+
"choke to death on the bit of lime",
"buys some fancy imported lager. What a show off. You are just "+
"hoping they will choke on it when they do");
add_menu_item("Wine", "alcohol", 1000, 0, 120, 120,
"buy a bottle of good red wine, decork it, savour its pleasent "+
"bouquet, then guzzle the lot",
"buys a whole bottle of red wine, and proceeds to get at least "+
"half of it in their mouth");
add_menu_alias("ale", "Ale");
add_menu_alias("beer", "Beer");
add_menu_alias("lager", "Best lager");
add_menu_alias("best lager", "Best lager");
add_menu_alias("wine", "Wine");
set_short("The "+CITYNAME+" Inn");
set_long("You are in the "+CITYNAME+" Inn. It is a warm and friendly "
+"local tavern, if a little upmarket for your taste. There is "
+"a bar up against the north wall with a small sign on it, "
+"and small clusters of tables scattered around the edge of "
+"the room. It is moderately busy right now. A door to the "
+"north will take you out onto Diamond Street. \n");
add_item("bar",
"The bar is made of polished teak, edged with brass "
+"fittings. At present, it is propping up several of the "
+"locals, many of whom are trying to catch the bartenders "
+"attention. \n");
add_item( ({"tender", "bartender", "waiter"}),
"The bartender moves rapidly about behind the bar, serving "
+"drinks at an almost inhuman speed. Funny, though, no matter "
+"how hard you try, you can never manage to catch his "
+"attention. \n");
add_item("table",
"The tables are arranged round the edges of the room. As "
+"far as you can see, all of them are occupied, even the one "
+"reserved for teetotalers. \n");
add_item( ({"teetotaler", "abstainer"}),
"Don't be silly, there are none here! \n");
add_item( ({"people", "crowd", "local"}),
"All manner of people come here, although on the most part "
+"they are quite genteel. A large cluster of men in smart "
+"suits are drinking coolers in the corner, and several lone "
+"females have draped themselves across the bar. \n");
add_item( ({"woman", "women", "female", "lady", "ladies"}),
"They are draped across the bar, obviously looking for some "
+"company. You would oblige them, but thier hideousness makes "
+"you believe that you could not do so and keep your lunch "
+"down... \n");
add_item( ({"door", "way out", "exit"}),
"You can tell the door leads onto diamond street, as a large "
+"flashing neon sign tells you so. \n");
add_item( ({"neon sign", "flashing sign"}),
"The neon sign isn't really there. You imagined it. \n");
add_item( ({"street", "road", "diamond street", "Diamond Street"}),
"Diamond street runs east/west through "+CITYNAME+". It is a "
+"quiet, upmarket street, home to the rich and famous of the "
+"city. A door to the north will take you onto it. \n");
add_exit("north", HOMECITY+"diamondstreet6", "door");
set_zone("newbie");
}