Daedalus Dock - Modules - TypesVar Details - Proc Details

mining_template

Vars

centerThe center turf.
foundHas this template been located by players?
sizeThe size (radius, chebyshev distance). Will be clamped to the size of the asteroid magnet in New().
summonedHas this template been summoned?

Procs

AfterInitializeCalled during SSmapping.generate_asteroid() after all atoms have been initialized.
GenerateThe proc to call to completely generate an asteroid
PopulateCalled during SSmapping.generate_asteroid(). Here is where you mangle the geometry provided by the asteroid generator function. Atoms at this stage are NOT initialized
get_descriptionCalled by an asteroid magnet to return a description as a list of bullets
randomizeRandomize the data of this template. Does not change size, center, or location.

Var Details

center

The center turf.

found

Has this template been located by players?

size

The size (radius, chebyshev distance). Will be clamped to the size of the asteroid magnet in New().

summoned

Has this template been summoned?

Proc Details

AfterInitialize

Called during SSmapping.generate_asteroid() after all atoms have been initialized.

Generate

The proc to call to completely generate an asteroid

Populate

Called during SSmapping.generate_asteroid(). Here is where you mangle the geometry provided by the asteroid generator function. Atoms at this stage are NOT initialized

get_description

Called by an asteroid magnet to return a description as a list of bullets

randomize

Randomize the data of this template. Does not change size, center, or location.