runtime access to fusion reactor/generator properties

SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 57
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)
Rseding91
Factorio Staff
Factorio Staff
Posts: 15714
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: runtime access to fusion reactor/generator properties

Post by Rseding91 »

I've added the missing ones for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”