runtime access to fusion reactor/generator properties

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Mon Apr 04, 2022 6:43 am
Contact:

runtime access to fusion reactor/generator properties

Post 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)
Post Reply

Return to “Modding interface requests”