Loaders and electrical-energy-interface recipes

Place to get help with not working mods / modding interface.
BrokenScience
Inserter
Inserter
Posts: 26
Joined: Thu Jul 21, 2016 5:31 pm
Contact:

Loaders and electrical-energy-interface recipes

Post 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.
Smashing a brick wall with my face would be a lot more rewarding if I didn't just reveal 3 more.

Patashu
Fast Inserter
Fast Inserter
Posts: 130
Joined: Mon May 08, 2017 11:57 pm
Contact:

Re: Loaders and electrical-energy-interface recipes

Post 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.

BrokenScience
Inserter
Inserter
Posts: 26
Joined: Thu Jul 21, 2016 5:31 pm
Contact:

Re: Loaders and electrical-energy-interface recipes

Post by BrokenScience »

So why does the electrical-energy-interface have a recipe?
Smashing a brick wall with my face would be a lot more rewarding if I didn't just reveal 3 more.

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

Re: Loaders and electrical-energy-interface recipes

Post 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

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: Loaders and electrical-energy-interface recipes

Post by d3x0r »

accumulators are derrived from electrical-energy-interface

Bilka
Factorio Staff
Factorio Staff
Posts: 3307
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Loaders and electrical-energy-interface recipes

Post by Bilka »

d3x0r wrote:accumulators are derrived from electrical-energy-interface
No. The accumulators were part of the game before the interface was.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Modding help”