raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
20 stars 9 forks source link

Suggestion: right click to jump to item instead of recipe #77

Closed dgattey closed 2 years ago

dgattey commented 3 years ago

Is your feature request related to a problem? Please describe.

Sometimes, I'm trying to follow an item chain, like going from molten carbon steel to see how it's used in the end products. I'd like to be able to be on the page for molten carbon steel (item), look at all the ingredients, then click each one and look at all of their ingredients. So a path might be molten steel -> steel plate -> reinforced steel plate -> shielded steel plate -> centrifuge, then I go back to look at molten steel -> steel plate -> small steel frame -> ...

Right now, that chain requires searching molten steel, clicking on one of the "Ingredient in" entries, which brings me to the recipe, where I visually have to look down a bit, click on the corresponding entry under products, and then repeat that with the next item. Instead of item -> item -> item, it's item -> recipe -> item -> recipe -> item. For my usage, it's redundant when 95% of the time I'm just interested in the products, not the recipe itself.

Describe the solution you'd like

Either 1) a setting where you can say "jump to item instead of jump to recipe" upon clicking on an entry in "Products" in a Recipe, or 2) right click jumps you right to the item, and left click brings you to the recipe, like what happens today. A little shortcut for ease of use!

Additional context

Add any other context or screenshots about the feature request here.

raiguard commented 2 years ago

The problem with this arises when a recipe has multiple products. Which one should it show in that case? There is just no way to make it reliably show the item that you want to look at.

I could add this for single-product recipes only, but that would cause even more frustration and confusion.

image

dgattey commented 2 years ago

Haven't used FNEI recently enough to know how it handles it, but there's a way they allow linking through items like this. I'd be perfectly fine with this only working for single item recipes though, I don't think that's unexpected.

raiguard commented 2 years ago

image

I have implemented this for single-product recipes.

dgattey commented 2 years ago

Awesome! thanks