Goonstation 13 - Modules - TypesVar Details

Map Controller

Vars

controlled_minimapThe controlled minimap object.
displayed_minimapThe minimap to be displayed, mostly identical to the controlled minimap with the exception that the scale will always be 1. Used to circumvent a bug.
draggingWhether or not the minimap is currently being dragged/panned by the user.
marker_silhouetteA semi-transparent minimap marker used to communicate where the marker will be placed on the minimap.
selected_iconThe icon that the marker silouette should use.
selected_xThe sampled x coordinate.
selected_yThe sampled y coordinate.
selecting_coordinatesWhether the next click will sample coordinates at the clicked point, or toggle dragging.
start_click_pos_xThe "starting" x position of the drag/pan, allowing for distance moved in the x axis to be calculated and applied to the minimap.
start_click_pos_yThe "starting" y position of the drag/pan, allowing for distance moved in the y axis to be calculated and applied to the minimap.

Var Details

controlled_minimap

The controlled minimap object.

displayed_minimap

The minimap to be displayed, mostly identical to the controlled minimap with the exception that the scale will always be 1. Used to circumvent a bug.

dragging

Whether or not the minimap is currently being dragged/panned by the user.

marker_silhouette

A semi-transparent minimap marker used to communicate where the marker will be placed on the minimap.

selected_icon

The icon that the marker silouette should use.

selected_x

The sampled x coordinate.

selected_y

The sampled y coordinate.

selecting_coordinates

Whether the next click will sample coordinates at the clicked point, or toggle dragging.

start_click_pos_x

The "starting" x position of the drag/pan, allowing for distance moved in the x axis to be calculated and applied to the minimap.

start_click_pos_y

The "starting" y position of the drag/pan, allowing for distance moved in the y axis to be calculated and applied to the minimap.