bookshop.c

dw_fluffos_v1/lib/d/dist/pumpkin/rabbit/bookshop.c · 541 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

#include "path.h"

inherit "/std/shops/book_shop";

void setup() {
   set_short("Bugs Bookstore");
   set_long(
"The distinctly carroty atmosphere of the store makes you feel like "
"saying 'Whats up doc?'\n");
   add_exit("south", RABBIT + "rabbit2", "door");
   set_light(70);

   set_cut(10);

   set_when_sold_function( (: $1->set_open_page(0) :) );
   set_allowed_to_sell( (: $1->query_book() || $1->query_paper() :) );
   set_minimum_cost(400);
   set_save_dir(SAVE + "bookshop");

   add_property("place", "Pumpkin");
} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571