reactor_chamber 
Vars | |
| 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_link | Skip this chamber when building links |
| welded | Has the chamber been welded shut. Uh oh! |
Procs | |
| 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 |
| find_link | Searches for a valid reactor or linked chamber nearby |
| form_link | 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 |
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_link 
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
find_link
Searches for a valid reactor or linked chamber nearby
form_link
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