DanielKote / Foreman2

Visual planning tool for Factorio
Other
162 stars 16 forks source link

Condensing Steam (from Space Exploration) has no recipes #35

Open PG-Fuury opened 2 years ago

PG-Fuury commented 2 years ago

Condensing Steam, which is the intermediate product produced by condensing turbines that turns into energy, has no recipes listed in Foreman (because there is no visible recipe that takes it as input, given that it is only used by the internal generator of the Condensing Turbine), which complicates trying to plan out reactors in Foreman

gillett-hernandez commented 1 year ago

i'm looking into this. it seems like it's due to the recipe export not having any "associated-items". in testing, by manually adding an entry to "associated-items" for the recipe in the .pjson, i was able to get this: image i'll see if maybe having the export mod create its own virtual item would work, so that will get associated with recipes like this so that they can exist in the graph.

DanielKote commented 1 year ago

The recipe for processing the steam (internally) is in fact being read by the presets and is available, it is just hidden due to the fact that no entity is available that is capable of using the recipe. In most situations this is a valid solution and in fact removes a bunch of recipes that dont show up in-game. Unfortunately in this particular situation the removed recipe is one that you do want.

I am not sure what to do about this due to actually allowing the recipe by default will open up the gates to a bunch of unwanted recipes, and there isnt a way internally to know if a specific recipe is important (as in the case of SE-condensing steam) or unimportant (such as the 3 loaders, burner generator, and electric interface - all included in vanilla factorio).

For now there is an option to show these 'dev only' recipes by going into settings -> graph options -> advanced -> show unavailable items (DEV) (enable it). After this you should be able to drag the steam to create a new recipe called "internal turbine steam to electricity" (make sure your ignore assembler and show disabled options are both checked on inside the recipe selection screen).