Daedalus Dock - Modules - TypesVar Details - Proc Details

asteroid_magnet

Vars

area_sizeThe size (chebyshev) of the available area, set in mapping
available_templatesTemplates available to succ in
center_turfThe center turf
center_xCenter turf X, set in mapping
center_yCenter turf Y, set in mapping
mapThe map that stores asteroids
selected_templateThe currently selected template
statusStatus of the user interface
summon_cdThe cooldown between uses.
summon_in_progressBoolean to keep track of state and protect against double summoning
templates_on_mapAll templates in the "map".

Procs

CleanupTemplateCleanup our currently loaded mining template
GenerateMapGenerates the random map for the magnet.
PlaceForcefieldPlaces the forcefield boundary during summon_sequence
PlaceTemplateSummoning part of summon_sequence()
_FinishSummonSequenceThis process should take ATLEAST 20 seconds
check_for_magnet_errorsTest to see if we should clear the magnet area. Returns FALSE if it can clear, returns a string error message if it can't.
summon_sequencePerforms a full summoning sequence, including putting up boundaries, clearing out the area, and bringing in the new asteroid.

Var Details

area_size

The size (chebyshev) of the available area, set in mapping

available_templates

Templates available to succ in

center_turf

The center turf

center_x

Center turf X, set in mapping

center_y

Center turf Y, set in mapping

map

The map that stores asteroids

selected_template

The currently selected template

status

Status of the user interface

summon_cd

The cooldown between uses.

summon_in_progress

Boolean to keep track of state and protect against double summoning

templates_on_map

All templates in the "map".

Proc Details

CleanupTemplate

Cleanup our currently loaded mining template

GenerateMap

Generates the random map for the magnet.

PlaceForcefield

Places the forcefield boundary during summon_sequence

PlaceTemplate

Summoning part of summon_sequence()

_FinishSummonSequence

This process should take ATLEAST 20 seconds

check_for_magnet_errors

Test to see if we should clear the magnet area. Returns FALSE if it can clear, returns a string error message if it can't.

summon_sequence

Performs a full summoning sequence, including putting up boundaries, clearing out the area, and bringing in the new asteroid.