Compact Recipe Pins

by Shemp

A Factoriopedia Favourites panel reminiscent of NEI and The Planet Crafter

Utilities
4 hours ago
2.0
52

i [Implemented] Add option to change GUI side

5 days ago

This is awesome, just what I've been looking for, an easy way to pin recipes to the screen for quick reference!

May I suggest adding an option to allow the menu to be ordered differently, depending on what other mods may be taking up the screen space in the top left corner? For example, I have a list of mod tool buttons to the right of the menu, and a menu for Resource monitor below, and I'd like to be able to have the recipe pins show below instead of to the left of the toolbar buttons.

Hopefully this illustration can help:
https://i.imgur.com/8ZyBbDj.png

5 days ago

Unfortunately I can't use Imgur in my country, so I'll have to use my imagination, but I think I know what you mean.

Compact Recipe Pins will grow vertically as it fills up (particularly when using mini-recipes), so it's important for it to be anchored to the top of the screen. If I put it on the left side (gui.left), other mods would tile underneath it, rather than to the side. The game does have a hard-coded height limit for mod GUIs after which it starts to scroll (and it looks very awkward).

If you find that it's getting in the way, Ctrl-Click on the title bar or use the "Banish" keybind to hide it.

Alternatively, some of the other mods which add the buttons (I know Factory Planner is one) will have options to not show those buttons.

5 days ago
(updated 5 days ago)

Is this better? https://i.ibb.co/ZRgKfWBk/8ZyBbDj.png

Yeah basically, I just want it below the bar that has those buttons like factory planner etc. The problem is that not every mod has an option to hide their button, so it's impossible for me to get completely rid of it, therefore it would be great if it was possible to have it anchor below this. It would also be fine if it could go on the right side of the buttons rather than the left if that's possible instead :)

4 days ago

Right now I want to keep the mod feature-stable, and this is quite a large change to write in code.

You could try this console command to swap CRP with the other buttons (disables achievements):

/c game.player.gui.top.swap_children(1, 2)

I'll leave the thread here as a reminder for the future, but I don't think it will happen soon, sorry.

4 days ago

Implemented in 0.1.1.

I've also added the option to make the GUI "Floating" which means you can drag it around.

4 days ago

That's exactly what I wanted, thanks!

New response