[Package Index | Mudlib Index | Effect Index]

File /std/map.c

This is a map object inheritable. It is used to create in character maps i.e. maps that exist as objects in the game. To use this map create an object that inherits /std/map. The map can be setup in one of two ways. The easy way is to use set_map() to select one of the standard set of maps. The harder way is to use setup_map() to create your own "custom" map.

Written by ceres

Example

inherit "/std/map";

void setup() {
   set_name("map");
   set_short("map");
   set_main_plural("maps");
   set_long("This piece of parchment appears to be a map of the area "
            "around Ankh-Morpork.\n");
   set_weight( 1 );
   set_length( 18 );
   set_width( 12 );
   set_value( 6000 );
   set_material("paper");
   set_map("sur");
}
 

Inherits

This class inherits the following classes /std/object.c

Includes

This class includes the following files /include/terrain_map.h

Method index

Public Functions

These are functions that everyone can access.

.