Page 1 of 1

Loaders and electrical-energy-interface recipes

Posted: Thu Jul 27, 2017 6:21 am
by BrokenScience
I was working with my mod that uses recipes to create an order of all the items in the game. When printing the results, I noticed some items that I did not expect to find. I am aware of what loaders are, but have never seen the electrical-energy-interface before. The version of factorio I was running was not modded (apart from my own). Only items that are in a recipe, either as an ingredient or a product would show up. Why aren't these recipes hidden (I filtered all hidden recipes out) and why don't they show up in the game?

Loaders:
Image
electrical-energy-interface:
Image

I know the list is incomplete as it is also supposed to have fluids in it, but only has steam.

Re: Loaders and electrical-energy-interface recipes

Posted: Thu Jul 27, 2017 6:57 am
by Patashu
electrical-energy-interface is used in the trains tutorial so that inserters can be given power while abstracting away the details of what the power is. Not sure if it is used anywhere else in Vanilla.

Re: Loaders and electrical-energy-interface recipes

Posted: Thu Jul 27, 2017 10:58 pm
by BrokenScience
So why does the electrical-energy-interface have a recipe?

Re: Loaders and electrical-energy-interface recipes

Posted: Fri Jul 28, 2017 1:45 am
by DaveMcW
They don't show up because they are not enabled. Same as all other recipes that are enabled by research (except you can't research them).

Code: Select all

/c game.player.force.recipes["electric-energy-interface"].enabled = true
/c game.player.force.recipes["loader"].enabled = true

Re: Loaders and electrical-energy-interface recipes

Posted: Fri Jul 28, 2017 2:14 am
by d3x0r
accumulators are derrived from electrical-energy-interface

Re: Loaders and electrical-energy-interface recipes

Posted: Fri Jul 28, 2017 8:04 am
by Bilka
d3x0r wrote:accumulators are derrived from electrical-energy-interface
No. The accumulators were part of the game before the interface was.