White Sands - Modules - TypesVar Details - Proc Details

Overmap

Vars

encounter_cooldownCooldown on dynamically loading encounters
eventsList of all events
events_enabledShould events be processed
helmsList of all helms, to be adjusted
mainThe main station or ship
navsList of all nav computers to initialize
overmap_objectsList of all overmap objects
radius_tilesUsed for generating "orbits" via the solar generator Has tiles between index 1 and OVERMAP_DIMENSIONS, and a special "unsorted" key for tiles that don't fit in an orbit the latter being used primarily for oddities like wormholes. Map of tiles at each radius around the sun
simulated_shipsList of all active, simulated ships
sizeWidth/height of the overmap "zlevel"

Procs

InitializeCreates an overmap object for shuttles, triggers initialization procs for ships and helms
create_mapThe proc that creates all the objects on the overmap, split into seperate procs for redundancy.
get_overmap_object_by_idGets the corresponding overmap object that shares the provided ID
get_overmap_object_by_zGets the corresponding overmap object that shares the provided z level
get_unused_overmap_squareReturns a random, usually empty turf in the overmap
get_unused_overmap_square_in_radiusReturns a random turf in a radius from the star, or a random empty turf if OVERMAP_GENERATOR_RANDOM is the active generator.
setup_shuttle_shipCreates an overmap ship object for the provided mobile docking port if one does not already exist.
spawn_dynamic_encounterReserves a square dynamic encounter area, and spawns a ruin in it if one is supplied.
spawn_event_clusterSee /datum/controller/subsystem/overmap/proc/spawn_events, spawns "veins" (like ores) of events
spawn_eventsVERY Simple random generation for overmap events, spawns the event in a random turf and sometimes spreads it out similar to ores
spawn_ruin_levelsCreates an overmap object for each ruin level, making them accessible.
spawn_stationCreates a station and lavaland overmap object randomly on the overmap.

Var Details

encounter_cooldown

Cooldown on dynamically loading encounters

events

List of all events

events_enabled

Should events be processed

helms

List of all helms, to be adjusted

main

The main station or ship

navs

List of all nav computers to initialize

overmap_objects

List of all overmap objects

radius_tiles

Used for generating "orbits" via the solar generator Has tiles between index 1 and OVERMAP_DIMENSIONS, and a special "unsorted" key for tiles that don't fit in an orbit the latter being used primarily for oddities like wormholes. Map of tiles at each radius around the sun

simulated_ships

List of all active, simulated ships

size

Width/height of the overmap "zlevel"

Proc Details

Initialize

Creates an overmap object for shuttles, triggers initialization procs for ships and helms

create_map

The proc that creates all the objects on the overmap, split into seperate procs for redundancy.

get_overmap_object_by_id

Gets the corresponding overmap object that shares the provided ID

get_overmap_object_by_z

Gets the corresponding overmap object that shares the provided z level

get_unused_overmap_square

Returns a random, usually empty turf in the overmap

get_unused_overmap_square_in_radius

Returns a random turf in a radius from the star, or a random empty turf if OVERMAP_GENERATOR_RANDOM is the active generator.

setup_shuttle_ship

Creates an overmap ship object for the provided mobile docking port if one does not already exist.

spawn_dynamic_encounter

Reserves a square dynamic encounter area, and spawns a ruin in it if one is supplied.

spawn_event_cluster

See /datum/controller/subsystem/overmap/proc/spawn_events, spawns "veins" (like ores) of events

spawn_events

VERY Simple random generation for overmap events, spawns the event in a random turf and sometimes spreads it out similar to ores

spawn_ruin_levels

Creates an overmap object for each ruin level, making them accessible.

spawn_station

Creates a station and lavaland overmap object randomly on the overmap.