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_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 |
spawned_ruins | list of ruin templates currently spawned on the planet. |
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. |
Procs | |
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. |
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
spawned_ruins
list of ruin templates currently spawned on the planet.
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.
- visiting shuttle - The docking port of the shuttle visiting the level.