Fluid energy source

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Fluid energy source

Post by eradicator »

LONGQUOTE
Lulz. Why is everybody picking on that one side comment. I just said it's not quite as useless as you make it sound from my point of view. Also if you voluntarily abstain from scripting (for any reason) then obviously a prototype that was created to be used with scripts isn't going to be terribly useful for you ^^. That's like saying a car is of limited usefulness because you don't want to use fuel.

-> Back to topic.
The main content of that post was me saying "changing reactor adjacency bonuses is already possible".
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Fluid energy source

Post by mrvn »

This made me think: Can't you use a nuclear reactor but set it to accept crude oil barrels and output empty barrels?

You would then need heat pipes and heat exchangers but they could be hidden in a compound entity. You would then have a liquid fuel boiler working on barrels.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Fluid energy source

Post by eradicator »

mrvn wrote:This made me think: Can't you use a nuclear reactor but set it to accept crude oil barrels and output empty barrels?

You would then need heat pipes and heat exchangers but they could be hidden in a compound entity. You would then have a liquid fuel boiler working on barrels.
Sounds neat until you remember the constant-consumption mechanic of the reactor. :/
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Fluid energy source

Post by bobingabout »

And that still runs on barrelled oil. you could more easily code a new "Oil powered boiler" that uses barrelled oil directly, and even add a return item slot to give empty barrels, if you set a new fuel category on both the barrel and the boiler.

The point is that we want to be able to use piped oil directly as a fuel source, which means we need support for using fluid as a fuel type option on a standard energy_source tag.


Of course you then still have issues where certain entities like the reactor, and the locomotive currently have a burner= tag rather than an energy_source= tag, forcing them to be item burners, but lets take things one step at a time. Having the ability on everything with an energy_source tag, like boilers, mining drills and assembling machines would be a great starting point.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Fluid energy source

Post by mrvn »

Add an assembler that barrels oil and 2 inserters to move the barrels between the "nuclear" reactor and assembler. Add a small steam tank and hook the inserters into that so they stop when the steam output is backed up.

For me the important part would be to make this work without Lua script on_tick. Checking the fuel, water and steam fluid boxes every tick and then modifying them to fake produce steam is a no go for UPS.
Post Reply

Return to “Implemented mod requests”