S-52 fusion reactor

Vars | |
buildstate | How damaged the reactor is |
---|---|
cur_tick | How many ticks since last fail check |
fail_check_ticks | How often the reactor checks if it can fail |
fail_rate | % chance of the reactor failing every check_failure |
fusion_cell | The reactors fuel cell, fail rate increases if empty |
is_ship_reactor | Whether the reactor is on the ship |
original_fail_rate | Original fail rate of the reactor |
overloaded | If the generator is overloaded |
power_gen_percent | % of power produced, increases to 100% over time |
power_generation_max | How much the reactor will generate at max power_gen_percent |
power_percent_states | All icon states split by power_gen_percent |
require_fusion_cell | Whether the reactor requires a fusion cell |
Var Details
buildstate

How damaged the reactor is
cur_tick

How many ticks since last fail check
fail_check_ticks

How often the reactor checks if it can fail
fail_rate

% chance of the reactor failing every check_failure
fusion_cell

The reactors fuel cell, fail rate increases if empty
is_ship_reactor

Whether the reactor is on the ship
original_fail_rate

Original fail rate of the reactor
overloaded

If the generator is overloaded
power_gen_percent

% of power produced, increases to 100% over time
power_generation_max

How much the reactor will generate at max power_gen_percent
power_percent_states

All icon states split by power_gen_percent
require_fusion_cell

Whether the reactor requires a fusion cell