asteroid_magnet 
Vars | |
| 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". |
Procs | |
| 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() |
| 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. |
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()
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.