Page 1 of 1

How can I make an assembly machine which Produces Heat while crafting

Posted: Fri Aug 22, 2025 7:13 am
by oobanooba
I wanted to create an assembly machine which produced heat when crafting. (Ideally, only when placed on space platforms) The idea being that you have to keep your machines under a certain temperature for them to work. Sort of like a reverse Aquilo. And that waste heat would have to be removed via radiators, or be recycled back into energy (respecting conservation of energy, of course)

Generator entities like heating towers have the sort of behaviour I would like, where they can consume an energy source and produce heat proportionate to the energy consumed. And can be told to stop working at a maximum temperature (like heat exchangers) but they don't support crafting recipes.

Is there a way I can get the behaviour I'm looking for?

I'm fairly new to modding, so forgive me if I'm missing something super obvious.

Re: How can I make an assembly machine which Produces Heat while crafting

Posted: Fri Aug 22, 2025 12:03 pm
by Osmo
What people do in such cases is fake it by having multiple entites, such as, for example, an assembling machine that produces some fluid when working, and that fluid is then used as a fuel to a reactor which produces heat. If there will be no place to move away the heat, the fluid will also not be consumed and eventually the machine will stop.
To do that, you need to, at runtime, listen for when an assembling machine is created and destroyed, and create/destroy the other hidden entity and, in this example, link their fluidboxes by using linked pipe connections.

Re: How can I make an assembly machine which Produces Heat while crafting

Posted: Mon Aug 25, 2025 3:26 am
by oobanooba
Thanks for the reply, I'll look into compound entities and see what I can do.