field.c

dw_fluffos_v1/lib/d/learning/examples/terrain_map/basic/field.c · 425 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

#include <terrain_map.h>

inherit TERRAIN_MAP_OUTSIDE_BASE;

// Important that we return the pathname to our handler.
string query_handler_path() { return __DIR__ + "field_handler"; }

// A standard room setup.
void setup()

{
  set_short("grassy field");
  set_long("This is a large grassy field.\n");

  add_item("field", "Large and grassy.");
  add_item("grass", "It's green, which should come as no surprise at all.");
}

Site Stats

Snippets: 1791
Codebases: 571