Complex machine kinds

Place to get help with not working mods / modding interface.
Post Reply
NoQ
Inserter
Inserter
Posts: 46
Joined: Mon Jan 09, 2017 2:01 pm
Contact:

Complex machine kinds

Post by NoQ »

Is any of the following assemble-machine-like entities possible to mod up? I'd be happy if at least one is possible, or maybe there are other tricks of this kind that i'm missing.

- A machine that cools down one liquid by heating another liquid of different kind.
- A machine that produces electricity as a byproduct when crafting recipes.
- A machine that produces a liquid with non-default temperature.
- A machine that can only be placed over grass but not on sand.

I've noticed this trick which would probably make me happy as well, but it looks hacky and much coding.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Complex machine kinds

Post by DaveMcW »

Not with data.lua mods.

You can write the logic yourself in a control.lua mod, but it does involve coding and checking stuff every tick.

NoQ
Inserter
Inserter
Posts: 46
Joined: Mon Jan 09, 2017 2:01 pm
Contact:

Re: Complex machine kinds

Post by NoQ »

Thanks!

Hmm, is it at all possible to implement a steam turbine as in fff-164 on 0.14 with only data.lua mod? That is, a steam engine that cools down the liquid instead of consuming it.

User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Complex machine kinds

Post by Arch666Angel »

NoQ wrote:- A machine that cools down one liquid by heating another liquid of different kind.
Can be done through recipes, although it is a bit wonky.
NoQ wrote:- A machine that produces electricity as a byproduct when crafting recipes.
Only with scripting, probably combining an assembler with an accumulator
NoQ wrote:- A machine that produces a liquid with non-default temperature.
Same as 1. can be done through recipes
NoQ wrote:- A machine that can only be placed over grass but not on sand.
Only with scripting

Post Reply

Return to “Modding help”