Compact Recipe Pins

by Shemp

Press Z to store recipes and Factoriopedia concepts in a Favourites panel, reminiscent of NEI and The Planet Crafter.

Utilities
a month ago
2.0 - 2.1
676
Manufacturing

b [Addressed] interoperability FYI re: hidden surface for copy/paste events

a month ago

Hi! Just an FYI about a minor interoperability edge case I encountered with Compact Recipe Pins.

CRP’s hidden technical planet, crp-planet-copy, uses Nauvis’s icon. A third-party UI I’m developing enumerated prototypes.space_location without filtering hidden prototypes, which made the location selector appear to contain Nauvis twice.

This is primarily my bug—I’ll exclude prototypes with hidden = true. No change is necessarily required on your end.

If you want additional defense against other mods making the same mistake, possible mitigations might be:

  • Give the technical planet a distinct icon.
  • Give it an explicit localized name identifying it as an internal CRP location.
  • Mark it hidden_in_factoriopedia too, if appropriate.
  • Avoid a planet prototype entirely if the copy surface can work without one, though I realize that may not be practical.

Again, this isn’t a bug report so much as an interoperability heads-up. Thanks for the useful mod!

a month ago
(updated a month ago)

I'll change the icon in the next release, apologies for any confusion. I did wonder how long it would be before this surface caused problems for people. :3

The planet should already have a localised_name, which the Surfaces list in the Map Editor shows in parentheses. (But not the LuaSurface because it takes precedence from the planet.)


The reason I opted to use a planet instead of a surface is because it gets deleted from the save when a user uninstalls the mod (it's also a bit more straightforward to hide it).

Being a small utility mod, I can see this happening fairly frequently and I don't want to leave a random surface in peoples' saves.

One downside is the user gets a message about a removed prototype, because my assembling-machine was present in the save, but that's acceptable.

New response