#include <lib.h> inherit LIB_ROOM; int read_sign(); static void create() { ::create(); SetClimate("indoors"); SetAmbientLight(30); SetShort("The Magic Shop"); SetLong("This is the local magic shop. Magical items can be "+ "bought and sold here. The storeroom is "+ "west and the town Mages' Guild is south. "+ "\n%^GREEN%^There is a sign here you can read.%^RESET%^"); SetItems(([ ({"store","shop","place"}) : "This is the local magic shop.", ({ "sign" ,"sign on the wall" }): "A sign on the wall, meant for reading.", ])); SetRead("sign", (: read_sign :) ); SetExits( ([ "out" : "/domains/town/room/south_road1", "east" : "/domains/town/room/south_road1", "south" : "/domains/town/room/magic_guild", "west" : "/domains/town/room/magic_shop2", ]) ); SetInventory( ([ "/domains/town/npc/oana" : 1, "/domains/town/obj/bbucket" : 1, ]) ); } int read_sign(){ write("HOW TO CONDUCT BUSINESS HERE\n"); write("ask oana to browse : Get a list of all the items Oana has for sale"); write("ask oana to appraise <item> : Ask Oana to tell you how much she would pay you for your item"); write("ask oana to price <item> : Ask Oana the price of her item"); write("ask oana to show <item> : Ask Oana for a closer look at her item\n"); write("\nbuy <item> from oana\nsell <item> to oana\n"); write("Prices shown are in silver coins."); write("\n\nWe're still under construction, so there's"); write("not much to buy. But if you want, you can go "); write("south to the mage's guild and join up!"); return 1; } void init(){ ::init(); }