/tg/ Station 13 - Modules - TypesVar Details - Proc Details

exploration_site

Exploration site, drone travel destination representing interesting zone for exploration.

Vars

band_infoContains baseline site bands at define time. Events bands will be added to this list as part of event generation.
coordinatesCoordinates in Station coordinate system - don't ask if station rotates
deep_scan_completeWas deep scan of this site completed.
descriptionDescription shown after scanning/exploring
distanceHow far is it, affects travel time/cost.
eventsList of event instances represting thing to be found around this exploration site.
fluff_typeKey for strings file fluff events
nameName displayed after scanning/exploring
point_scan_completeWas point scan of this site completed.
revealedWas the point scan done or a drone arrived on the site. Affects displayed name/description
scan_conditionsList of scan conditions for this site - scan conditions are singletons
site_traitsThese are used to determine events/adventures possible for this site

Procs

build_exploration_event_requirements_cacheList of exploration event requirements indexed by type, ./datum/exploration_site/a = list("required"=list(trait),"blacklisted"=list(other_trait))
generate_scan_conditionsTry to find aventure first since they're the meat of the system. Fill other events Baseline weights for each event root type Weight mods scaled by distance, resources are more easily found on farther sites
on_drone_arrivalAdd up event band values to ours
site_dataData for ui_data, exploration

Var Details

band_info

Contains baseline site bands at define time. Events bands will be added to this list as part of event generation.

coordinates

Coordinates in Station coordinate system - don't ask if station rotates

deep_scan_complete

Was deep scan of this site completed.

description

Description shown after scanning/exploring

distance

How far is it, affects travel time/cost.

events

List of event instances represting thing to be found around this exploration site.

fluff_type

Key for strings file fluff events

name

Name displayed after scanning/exploring

point_scan_complete

Was point scan of this site completed.

revealed

Was the point scan done or a drone arrived on the site. Affects displayed name/description

scan_conditions

List of scan conditions for this site - scan conditions are singletons

site_traits

These are used to determine events/adventures possible for this site

Proc Details

build_exploration_event_requirements_cache

List of exploration event requirements indexed by type, ./datum/exploration_site/a = list("required"=list(trait),"blacklisted"=list(other_trait))

generate_scan_conditions

Try to find aventure first since they're the meat of the system. Fill other events Baseline weights for each event root type Weight mods scaled by distance, resources are more easily found on farther sites

on_drone_arrival

Add up event band values to ours

site_data

Data for ui_data, exploration