Space Station 13 - Modules - TypesVar Details - Proc Details

reactor_chamber

Vars

chamber_stateIs the chamber up, down, or open
durability_levelHolds our durability bar overlay level. Updates overlays if it changes
enrichingIs the chamber currently in an enrichment process
heat_mod_totalHolds the current accumulated heat mod value from its neighbors
heat_totalThe total amount of heat produced by this chamber
held_rodHolds the specific rod inserted into the chamber
linked_reactorEach reactor chamber can only be linked to a single reactor, if somehow theres two.
lockoutA simple binary to prevent open/close spam mucking up the anims
neighborsHolds the list of linked neighbors
operationalIs the rod chamber actively running and providing its effects
power_mod_totalHolds the current accumulated power mod value from its neighbors
power_totalThe total amount of power produced by this rod
previous_durability_levelHolds our previous overlay.
requirements_metHas the requirements for the rod inside this chamber been met?
skip_linkSkip this chamber when building links
weldedHas the chamber been welded shut. Uh oh!

Procs

calculate_statsCalculate how much heat and energy we should be making
check_statusValidates that all rod requirements are being met
desyncRemoves the chamber from neighbor from its neighbors, and forces them to run status checks
dupe_checkCheck for multiple on a tile and nuke it
find_linkSearches for a valid reactor or linked chamber nearby
form_linkForms the two-way link between the reactor and the chamber, then searches for valid neighbors.
get_neighborsGets the neighbors of the current chamber, and adds itself to its neighbors. can prompt a cascade of linking

Var Details

chamber_state

Is the chamber up, down, or open

durability_level

Holds our durability bar overlay level. Updates overlays if it changes

enriching

Is the chamber currently in an enrichment process

heat_mod_total

Holds the current accumulated heat mod value from its neighbors

heat_total

The total amount of heat produced by this chamber

held_rod

Holds the specific rod inserted into the chamber

linked_reactor

Each reactor chamber can only be linked to a single reactor, if somehow theres two.

lockout

A simple binary to prevent open/close spam mucking up the anims

neighbors

Holds the list of linked neighbors

operational

Is the rod chamber actively running and providing its effects

power_mod_total

Holds the current accumulated power mod value from its neighbors

power_total

The total amount of power produced by this rod

previous_durability_level

Holds our previous overlay.

requirements_met

Has the requirements for the rod inside this chamber been met?

Skip this chamber when building links

welded

Has the chamber been welded shut. Uh oh!

Proc Details

calculate_stats

Calculate how much heat and energy we should be making

check_status

Validates that all rod requirements are being met

desync

Removes the chamber from neighbor from its neighbors, and forces them to run status checks

dupe_check

Check for multiple on a tile and nuke it

Searches for a valid reactor or linked chamber nearby

Forms the two-way link between the reactor and the chamber, then searches for valid neighbors.

get_neighbors

Gets the neighbors of the current chamber, and adds itself to its neighbors. can prompt a cascade of linking