Atrinik Server  4.0
Python map fields

Python map fields

List of the map fields and their meaning.

Name Type Details Flags Notes
previous map  (readonly)
name string Name of map as given by its creator
msg string Message map creator may have left
reset_timeout integer How many seconds must elapse before this map should be reset
timeout unknown When this reaches 0, the map will be swapped out.
difficulty integer What level the player should be to play here. Affects treasures, random shops and various other things.
height integer Height of the map.  (readonly)
width integer Width of the map.  (readonly)
darkness integer

Indicates the base light value on this map.

This value is only used when the map is not marked as outdoor.

See Also
MAP_DEFAULT_DARKNESS
path string Filename of the map (shared string now)  (readonly)
enter_x integer

Used to indicate the X position of where to put the player when he logs in to the map if the map has flag MAP_FLAG_FIXED_LOGIN set.

Also used by exits as the default X location if the exit doesn't have one set.

See Also
MAP_FLAG_FIXED_LOGIN
enter_y integer

Used to indicate the Y position of where to put the player when he logs in to the map if the map has flag MAP_FLAG_FIXED_LOGIN set.

Also used by exits as the default Y location if the exit doesn't have one set.

See Also
MAP_FLAG_FIXED_LOGIN
region region Pointer to the region this map is in.  (readonly)
bg_music string Background music of the map
weather string Weather effect active on this map.