[2.0.14] Missing or inconsistent prototype data for Fusion Reactors/Generators

Olipro
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat May 28, 2016 1:28 am
Contact:

[2.0.14] Missing or inconsistent prototype data for Fusion Reactors/Generators

Post by Olipro »

Some data appears to be inaccessible or awkward to access for Fusion equipment when compared to its boiler/nuclear brethren. Additionally, the Fusion prototypes have no Lua wrapper exposed at all.

For more concrete examples: I cannot find any way to programmatically retrieve the plasma production/consumption for either of the respective entities - although at least I can identify their fluids through fluidbox_prototype. It would seem logical that something like `fluid_usage_per_tick` wouldn't be entirely unreasonable to change so that it doesn't return nil.

...Or I suppose, go ahead and rewrite all the electricity related entity prototypes to expose a consistent API, but that's probably not in the cards for the moment.
Bilka
Factorio Staff
Factorio Staff
Posts: 3647
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.14] Missing or inconsistent prototype data for Fusion Reactors/Generators

Post by Bilka »

Implemented: 129262
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”