Core Help Root: Objects: Generic Map


Generic map is a simple note that contains a map of the room and its surroundings. While it can be described, it's not strictly necessary, you only need to edit the note's text for the desired effect. The map may be both wider and taller than the screen; in that case, only a part of the map will be displayed. The window to be displayed is configurable.

Tracking the location

You can embed pairs of numbers (example: '00') within the map. All such pairs will be replaced with spaces once the map is printed to the player, except the one that corresponds to the current location. To display that, set map-position on the current room. The map position specifies the window (the upper left corner of the part of the map you want to display), tag (the room tag that will be shown) and the generic map object that is used with the current room. Example:

> @set here:map-position=window 0, 0 tag 04 on $map_of_taobh_thiar
This sets the map of the current room to the $map_of_taobh_thiar; its tag to 04. Window (0,0) makes @map display the entire map. Finally, the portion of the $map_of_taobh_thiar for this room looks like:

                        \                   |     /     \ 
   Steam Tunnel 03    Steam Tunnel 04 Steam Tunnel 07   |
                          \            /                |

@map in the Steam Tunnel will replace 04 with **, 03 and 07 will vanish from the map.


the Cold Dark