Goonstation 13 - Modules - TypesVar Details - Proc Details

Station Map

Minimap objects are responsible for displaying and handling player interaction with minimaps. They act as the physical manifestation of minimap datums, being displayed either on the map or in a UI element.

Vars

mapThe minimap datum for this minimap object, containing data on the appearance and scale of the minimap, handling resizes, and managing markers.
map_pathThe minimap type path that map should use.
map_scaleThe desired scale of the physical map, as a multiple of the original size (300x300px).
map_typeA bitflag that will be passed to the datum and determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Procs

initialise_minimapSet up this minimap object's minimap datum and click overlay.

Var Details

map

The minimap datum for this minimap object, containing data on the appearance and scale of the minimap, handling resizes, and managing markers.

map_path

The minimap type path that map should use.

map_scale

The desired scale of the physical map, as a multiple of the original size (300x300px).

map_type

A bitflag that will be passed to the datum and determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm.

Proc Details

initialise_minimap

Set up this minimap object's minimap datum and click overlay.