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

enter_vent

Enters a vent stored in entry_vent_key. Sets BB_EXIT_VENT_TARGET and BB_VENT_ENTRY_TIME on success.

Vars

failed_ventcrawlSet by the async action when the crawl finished but we did not end up in the vent.
is_starting_crawlTRUE while the async crawl-in is running. perform() holds at DELAY until it resolves.

Procs

calculate_exit_ventPicks a random valid vent on the same pipeline as the entry vent. Falls back to the entry vent itself; returns null if nothing is usable.
is_vent_validReturns TRUE if the vent exists and isn't welded shut.
perform_ventcrawl_actionRuns the sleeping ventcrawl off the tick. Flags failure if we didn't end up in the vent, so perform() never has to sleep.

Var Details

failed_ventcrawl

Set by the async action when the crawl finished but we did not end up in the vent.

is_starting_crawl

TRUE while the async crawl-in is running. perform() holds at DELAY until it resolves.

Proc Details

calculate_exit_vent

Picks a random valid vent on the same pipeline as the entry vent. Falls back to the entry vent itself; returns null if nothing is usable.

is_vent_valid

Returns TRUE if the vent exists and isn't welded shut.

perform_ventcrawl_action

Runs the sleeping ventcrawl off the tick. Flags failure if we didn't end up in the vent, so perform() never has to sleep.