Hello.
I'm trying to debug a problem in my mod: "Imersite Asteroids".
The mod adds 2 recipes: imerstite-asteroid-crushing and advanced-imersite-asteroid-crushing. The recipes are very similar, but despite of that only one of them is selectable in circuit network - the advanced variant is just not there. I can't figure why. Could anyone help?
There is also another smaller issue that might or might not be related to it: the recipe icons are shown twice in technologies. For example, if one opens the technology tree and looks for "Basic imersite processing" then there would be 3 technologies unlocked, yet 4 icons displayed - the advanced imersite asteroid crushing would be twice there.
Recipe is not selectable in circuit network
Re: Recipe is not selectable in circuit network
For the technology issue, do you have specified the recipe twice as unlock-recipe?
Re: Recipe is not selectable in circuit network
Yes, that was it. Indirectly though - the script is apparently called twice and it was adding the technology each time. Thank you!Natha wrote: Sat Jan 03, 2026 1:33 pm For the technology issue, do you have specified the recipe twice as unlock-recipe?
The more serious problem (missing circuit logic signal) was not fixed with it, unfortunately.
Re: Recipe is not selectable in circuit network
From recipe.lua:
You are specifying both icon and icons parameter; the Vanilla advanced crushing recipes use only icon. Editing this file to remove the icons reference (and creating the missing file advanced-imersite-asteroid-crushing.png) results in:
Good Luck!
Code: Select all
{
type = "recipe",
name = "advanced-imersite-asteroid-crushing",
icon = "__Imersite-Asteroids__/graphics/icons/advanced-imersite-asteroid-crushing.png",
icons = {
{ icon = "__Krastorio2Assets__/icons/items/rare-metal-ore.png" , scale = 0.25, shift = { -10, -6 }},
{ icon = "__Krastorio2Assets__/icons/items/rare-metal-ore.png" , scale = 0.25, shift = { 10, -6 }},
{ icon = "__Imersite-Asteroids__/graphics/icons/imersite-asteroid-chunk.png", shift = { 0, 0 } },
{ icon = "__Krastorio2Assets__/icons/items/imersite.png" , scale = 0.25, shift = { -10, 10 }},
{ icon = "__Krastorio2Assets__/icons/items/rare-metal-ore.png" , scale = 0.25, shift = { 10, 10 }},
},
Good Luck!
Re: Recipe is not selectable in circuit network
Thank you! On your screenshot, though, only one recipe is visible - my goal was to have both.eugenekay wrote: Sat Jan 03, 2026 9:45 pm Editing this file to remove the icons reference (and creating the missing file advanced-imersite-asteroid-crushing.png) results in:
01-03-2026, 16-45-29.png
Good Luck!
HOWEVER!
I was able to fix the problem by adding this line to the prototype:
hide_from_signal_gui = false,
Thank you, everyone! All problems are fixed now.
Re: Recipe is not selectable in circuit network
In my screenshot I searched for "advanced" to highlight it functioning; both Imersite recipes were selectable as Signals.snakeru wrote: Sat Jan 03, 2026 10:05 pm Thank you! On your screenshot, though, only one recipe is visible - my goal was to have both.

