common.c

dw_fluffos_v1/lib/d/liaison/NEWBIE/common.c · 523 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

void dest_money(object coins) {
  if(coins->query_number_coins() > 1)
    tell_room(this_object(), "As the coins hit the ground they "
              "slip between the cracks and disappear.\n");
  else
    tell_room(this_object(), "As the coin hits the ground it "
              "slips between the cracks and disappears.\n");

  coins->move("/room/rubbish");
}
#ifdef 0
void event_enter(object ob, string mess, object from) {
  if(base_name(ob) == "/obj/money") {
    call_out("dest_money", 0, ob);
  }
  return;
}
#endif

Site Stats

Snippets: 1791
Codebases: 571