goatfungus / NMSSaveEditor

No Man's Sky - Save Editor
1.92k stars 241 forks source link

please add simple alphabetic sort for bases #1094

Open tmbdev opened 3 weeks ago

tmbdev commented 3 weeks ago

While a general UI for reordering bases might be more complex than you want to implement, a simple "sort bases alphabetically" would help enormously. That way, we can pick a naming scheme (e.g., 001 Halimoton Oxygen Farm, 002 ...) and just sort the bases to get the order we want. It would just be one button and (hopefully) one function call.

goatfungus commented 1 week ago

I'll see what I can do. At the moment the selection order is based on the order in the save file, so I'm guessing this is the same order as shown in the teleporter in game?

tmbdev commented 1 week ago

Thanks. Yes, I think that's the case: it currently seems to be the same order as in the teleporter list in the game.

It is possible to reorder this manually by editing the JSON, but JSON is quite fragile, so that's not so great.

A simple sort button would allow users to get the bases into a decent and predictable order by some simple naming scheme (e.g., "M 005 Red Earth Mine" for a mining planet in galaxy 5).