YARM icon indicating copy to clipboard operation
YARM copied to clipboard

Configurable auto-name template

Open narc0tiq opened this issue 9 years ago • 4 comments

Correctly identified by Anson at https://forums.factorio.com/viewtopic.php?p=197305#p197305 -- the auto-naming should be configurable, most likely with simple printf-style %markers (or with {keyword} markers).

Relatedly, when a new site's name collides with an existing one, offer a dialog to rename the new one or (if possible) merge it into the existing one.

narc0tiq avatar Aug 22 '16 07:08 narc0tiq

I guess this is related to #68, re: name collision handling.

dgw avatar Aug 13 '17 10:08 dgw

I'm guessing this is low priority, since it was suggested 2 years ago, but I've some ideas for this as well.

If the printf() type thing gets implemented, some catagories to consider.

Total ore sites counter. Individual ore site counter. IE, each ore type would have their own counter. Ore name and ore abbreviations, such as "Copper", "Cpr", and "C" (Coal would have to use some other single letter)

ChuckSavage avatar Mar 31 '18 02:03 ChuckSavage

Now that we've got rich text, perhaps %ore-icon? not sure how well %ore-name would work given localisation?

mrudat avatar Apr 20 '19 01:04 mrudat

Ore name definitely wouldn't work, exactly because of localization. Site names aren't localized, and I don't want to bring the locale system into it, either. The ore icon is just a perfectly fine idea, though.

Please note that printf markers are traditionally one character, so it's either %i %q %o %d (short, but cryptic) or {ore-icon} {quadrant} {distance-from-origin} {index-per-ore} (long, but much more intelligible).

There would need to be some documentation, too, to specify that "quadrant" is an intentional misnomer for octant (because "quadrant" is a more familiar term) and that "index-per-ore" refers to the per-ore-type counter previously described.

narc0tiq avatar Apr 20 '19 13:04 narc0tiq