Page 1 of 1

runtime access to fusion reactor/generator properties

Posted: Fri Jun 06, 2025 6:21 am
by SWeini
I'd like to have access to these properties in runtime stage:

Fusion Reactor:
https://lua-api.factorio.com/latest/pro ... onnectable
https://lua-api.factorio.com/latest/pro ... bour_bonus (can probably use the existing reactor-only property)
https://lua-api.factorio.com/latest/pro ... ower_input
https://lua-api.factorio.com/latest/pro ... luid_usage (probably as get_...(quality) method)

Fusion Generator:
https://lua-api.factorio.com/latest/pro ... luid_usage (probably as get_...(quality) method)

these are needed to calculate the production rates of fusion reactors and fusion generators (I think that is all, but I might be missing something)

Re: runtime access to fusion reactor/generator properties

Posted: Fri Jun 06, 2025 3:36 pm
by SWeini