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 | |
force_encounter | The planet that will be forced to load |
---|---|
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 |
template | The preset ruin template to load, if/when it is loaded. |
Procs | |
adjust_dock_to_shuttle | Alters the position and orientation of a stationary docking port to ensure that any mobile port small enough can dock within its bounds |
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
force_encounter

The planet that will be forced to load
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
template

The preset ruin template to load, if/when it is loaded.
Proc Details
adjust_dock_to_shuttle
Alters the position and orientation of a stationary docking port to ensure that any mobile port small enough can dock within its bounds
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.