DOCKSCAF.C
LIB3/D/HOME/CITY/DOCKSCAF.C · 2.3 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/pub";
setup() {
add_menu_item("Tea", "softdrink", 100, 5, 0, 0,
"buy and drink a cup of weak tea.",
"buys and drinks a cup of tea.");
add_alias("tea", "Tea");
add_menu_item("Strong Tea", "softdrink", 200, 15, 0, 0,
"buy and drink a cup of only moderately weak tea.",
"buys and drinks some strong tea.");
add_alias("strong tea", "Strong Tea");
add_menu_item("Breakfast", "food", 400, 100, 0, 0,
"buy a greasy plate of lightly fried eggs, sausage and bacon.",
"buys and eats a horribly greasy breakfast.");
add_alias("breakfast", "Breakfast");
add_menu_item("Lunch", "food", 600, 100, 0, 0,
"buy a greasy plate of lightly fried eggs, sausage and bacon.",
"buys and eats a very greasy looking lunch.");
add_alias("lunch", "Lunch");
add_menu_item("Dinner", "food", 600, 100, 0, 0,
"buy a greasy plate of lightly fried eggs, sausage and bacon.",
"buys a very greasy looking dinner.");
add_alias("dinner", "Dinner");
add_menu_item("Speciality", "food", 1000, 200, 0, 0,
"buy the house speciality, it is fish. big surprise huh?",
"buys the house speciality.\n");
add_alias("speciality", "Speciality");
add_alias("special", "Speciality");
set_short("A Cafe");
set_long("You are in a sleazy seaside cafe. Tables have been "
+"stacked almost touching each other, forcing the guests to "
+"squeeze past each other a lot. The room is well ventilated, "
+"unfortunate considering its proximity to the harbour.\n"
+"A menu sits on your table.\n");
add_item("table",
"The tables are cheap formica-topped affairs, and in certain "
+"places two or more have been pushed toghether to form a "
+"'family' sized table. \n");
add_item( ({"people", "tramp", "customer", "guest", "diner"}),
"There is nobody else here, apart from a sad old tramp "
+"propped up against a window table. \n");
add_item( ({"harbour", "ship", "boat", "bay", "water", "sea", "ocean", "docks"}),
"The wide glass windows fronting the cafe give an "
+"excellent view of the ships unloading. Oh look, there is "
+"one bringing in a load of 'topsoil' for the city park. \n");
add_exit("east", HOMECITY+"kipperrow1", "door");
set_zone("docks");
set_light(60);
}