Shiptest 13 - Modules - TypesVar Details - Proc Details

Dynamic Overmap Encounters

These overmap objects can be docked with and will create a dynamically generated area of many different types depending on the planet variable. When undocked with, it checks if there's anyone left on the planet, and if not, will move to another random location and wait to create a new encounter.

Vars

default_baseturfThe turf used as the backup baseturf for any reservations created by this datum. Should not be null.
force_encounterThe planet that will be forced to load
gravityThe default gravity the virtual z will have
loadingWhether or not the level is currently loading.
mapgenThe mapgenerator itself. SHOULD NOT BE NULL if the datum ever creates an encounter
mapzoneThe active turf reservation, if there is one
planetWhat kind of planet the level is, if it's a planet at all.
planet_namePlanet's flavor name, if it is a planet.
preserve_levelIf the level should be preserved. Useful for if you want to build a colony or something.
probabilitiesList of probabilities for each type of planet.
reserve_docksThe docking port in the reserve
ruin_turfslist of ruins and their target turf, indexed by name
ruin_typeRuin types to generate
templateThe preset ruin template to load, if/when it is loaded.
vlevel_heightThe Y bounds of the virtual z level
vlevel_widthThe X bounds of the virtual z level
weather_controller_typeThe weather the virtual z will have. If null, the planet will have no weather.

Procs

choose_level_typeChooses a type of level for the dynamic level to use.
load_levelLoad a level for a ship that's visiting the level.

Var Details

default_baseturf

The turf used as the backup baseturf for any reservations created by this datum. Should not be null.

force_encounter

The planet that will be forced to load

gravity

The default gravity the virtual z will have

loading

Whether or not the level is currently loading.

mapgen

The mapgenerator itself. SHOULD NOT BE NULL if the datum ever creates an encounter

mapzone

The active turf reservation, if there is one

planet

What kind of planet the level is, if it's a planet at all.

planet_name

Planet's flavor name, if it is a planet.

preserve_level

If the level should be preserved. Useful for if you want to build a colony or something.

probabilities

List of probabilities for each type of planet.

reserve_docks

The docking port in the reserve

ruin_turfs

list of ruins and their target turf, indexed by name

ruin_type

Ruin types to generate

template

The preset ruin template to load, if/when it is loaded.

vlevel_height

The Y bounds of the virtual z level

vlevel_width

The X bounds of the virtual z level

weather_controller_type

The weather the virtual z will have. If null, the planet will have no weather.

Proc Details

choose_level_type

Chooses a type of level for the dynamic level to use.

load_level

Load a level for a ship that's visiting the level.