BANK.C

LIB3/D/HOME/CITY/BANK.C · 1.2 KB

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit "/std/bank";

object sign;

setup()
{
   add_sign("A gold plated plaque.", "   The plaque gives instructions "+
      "on how to save happily with this bank.\n   First, you must 'start account' "+
      "an account. Once this is done you can 'deposit' or 'withraw' "+
      "<number> <type> coins. ie 'deposit 10 silver coins'. The bank "+
      "charges 10% on all deposits, and you get no interest! Should "+
      "this bank fail to please you, you could also 'finish account' your account",
      0, "plaque");
   set_short(CITYNAME+"'s bank.");
   set_long("You are in the bank of "+CITYNAME+". A long row of serving "+
      "booths line one edge of the room, but only one is open. "+
      "Typical, eh? A plaque is affixed to the wall.\n");
   add_item( ({"desk", "teak desk"}),
      "The desks are kind of teak coloured, with four legs.\n");
   add_item( ({"glass", "clear glass front", "glass front"}),
      "You try to look at the clear glass front of a booth, but "+
      "cannot, as it is see through.\n");
add_item( ({"booth", "serving booth"}),
      "The booths have a clear glass front, and imitation teak desks.\n");
   add_exit("east", HOMECITY+"traderswalk10", "door");
   set_zone("trader");
   set_light(60);
}

Site Stats

Snippets: 1791
Codebases: 571