Boiler prototype, output_fluid_box must be optional

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Boiler prototype, output_fluid_box must be optional

Post by darkfrei »

From this discussion: https://mods.factorio.com/mod/SteamRehe ... 48073f2ff9

The prototype has value mode = "heat-water-inside", but the output output_fluid_box must be defined and will be ignored.

You can put the steam into the A and got the hotter steam from B, or put into the B and get hotter steam from the A, but:
1. you cannot get steam from output C output_fluid_box;
2. you cannot delete output C output_fluid_box.

Also the target_temperature = 165 will be ignored, but must be defined.
Attachments
2020-07-11T15_35_08-Factorio 0.18.35a.png
2020-07-11T15_35_08-Factorio 0.18.35a.png (784.1 KiB) Viewed 822 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4419
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Boiler prototype, output_fluid_box must be optional

Post by boskid »

You can have dummy output_fluid_box: one that is defined but has no pipe_connections. Target temperature could be used in the "heat-water-inside" mode because right now boiler will heat fluid up to its prototype max temperature. This mode is not heavily tested and has quite low priority right now.
Puke
Inserter
Inserter
Posts: 23
Joined: Mon Jun 13, 2016 7:00 pm
Contact:

Boiler output_fluid_box : Make it optional when mode is "heat-fluid-inside"

Post by Puke »

Hello !

Boiler prototype doc :
https://lua-api.factorio.com/2.0.76/pro ... otype.html

The documentation says :
The output fluid box.

If mode is "output-to-separate-pipe" and this has a filter, the heated input fluid is converted to the output fluid that is set in the filter. The conversion ratio is based on the heat capacity of the fluids: output_fluid_amount = input_fluid_amount * (output_fluid_heat_capacity / input_fluid_heat_capacity)

If mode is "heat-fluid-inside", this fluidbox is unused.
It is indeed not used in mode "heat-fluid-inside", but it still needs to be defined, and positioned in a way that doesn't "parasite" or connect / overlap with other fluidboxes (which is a bit of a pain).
Could it be possible to make it optional, or just... removed if the mode is "heat-fluid-inside" ?

Best regards and thank you for reading.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 457
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Boiler output_fluid_box : Make it optional when mode is "heat-fluid-inside"

Post by protocol_1903 »

+1, it should be optional, but for now you can create a dummy linked connection so it doesn't show up anywhere.
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Bilka
Factorio Staff
Factorio Staff
Posts: 3706
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Boiler prototype, output_fluid_box must be optional

Post by Bilka »

Merged with a previous thread with the same suggestion.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Puke
Inserter
Inserter
Posts: 23
Joined: Mon Jun 13, 2016 7:00 pm
Contact:

Re: Boiler prototype, output_fluid_box must be optional

Post by Puke »

Thanks Bilka, will try this !
Post Reply

Return to “Modding interface requests”