Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4

Author Topic: Sort everything alphabetically.  (Read 12257 times)

Yaotzin

  • Bay Watcher
    • View Profile
Sort everything alphabetically.
« on: March 09, 2012, 05:18:56 am »

In pretty much everywhere, but most annoyingly the stockpile screens, things are not sorted alphabetically. I suppose they're sorted by the order they appear in the RAWs. No matter, this is infuriating.

For example, I wanted to make a stockpile for valuable leather (giraffe, rhino, elephant etc), then another for everything else. Do you know how hard it is to actually find those items?

So, my request is that I *beg* you to make everything possible to be sorted alphabetically.

There's so much STUFF in this game - especially after all these new giant creatures. That's great, but it makes sorting a complete nightmare.
« Last Edit: March 09, 2012, 05:23:37 am by Yaotzin »
Logged

xpi0t0s

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #1 on: March 09, 2012, 07:08:38 am »

Definitely.  Don't know how many times I've paged through the same list maybe 3-4 times before I've found the thing I'm looking for.
It's one of the reasons I stopped playing.
Logged

Di

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #2 on: March 09, 2012, 07:56:06 am »

I'd say put string search into any menu bigger than 10 positions.
Logged
Quote from: Creamcorn
Dwarf Fortress: Where you meet the limit of your imagination, moral compass, sanity and CPU processor.
http://www.bay12forums.com/smf/index.php?topic=103080.0 Fix sober vampires!
http://www.bay12forums.com/smf/index.php?topic=91442.0 Dwarven Cognitive Science

Yaotzin

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #3 on: March 09, 2012, 09:08:25 am »

I say do both? :)

Some of the lists are just absurdly long now. Something is badly needed. I figure it really can't be hard for Toady to do, either. The only tricky part is the game of whack-a-mole making sure every list around is sorted - and the community can do the job for him there!
Logged

Adrian

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #4 on: March 09, 2012, 09:11:21 am »

Alphabetic sorting of lists
String search for lists >10 positions

Both of these sound like smart additions to DF, but it also sounds like either one would make the other obsolete.
So now my question will be: "Which one would be easier to implement and require less CPU power/RAM to operate?"
Logged

Yaotzin

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #5 on: March 09, 2012, 10:19:40 am »

Actually you could accomplish this without changing DF's code at all, I believe. You could simply write a script to edit all the RAWs to make all the entries in alphabetical order. The game then loads them up as they appear, and tada, they're in order already.

In game it would take utterly trivial amounts of processing power, and would only happen when you actually load the list - so no impact on overall FPS.

Searching can be useful even with alphabetical lists in cases where the list is genuinely huge, as some of them are becoming. Or if your a-b-c's are really bad :):)
Logged

peskyninja

  • Bay Watcher
  • Natural de-selector
    • View Profile
Re: Sort everything alphabetically.
« Reply #6 on: March 09, 2012, 11:45:59 am »

Alphabetic sorting of lists
String search for lists >10 positions

Both of these sound like smart additions to DF, but it also sounds like either one would make the other obsolete.
So now my question will be: "Which one would be easier to implement and require less CPU power/RAM to operate?"

They won't use almost any Computing power. (Compared to temp checks, pathing, kittens, mists....) As the game won't need to constantly search/check for information, they'll be activated only when the player needs to search for something.
Logged
Burn the land and boil the sea. You can't take the sky from me

Thou son of a b*tch wilt not ever make subjects of Christian sons; we have no fear of your army, by land and by sea we will battle with thee, f**k thy mother.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Sort everything alphabetically.
« Reply #7 on: March 09, 2012, 02:07:36 pm »

Actually you could accomplish this without changing DF's code at all, I believe. You could simply write a script to edit all the RAWs to make all the entries in alphabetical order. The game then loads them up as they appear, and tada, they're in order already.

Heh.  I just did this - before even coming across this thread.  I haven't created a fortress with that build yet, so I have yet to see how well it works.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Yaotzin

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #8 on: March 09, 2012, 02:17:00 pm »

On second thought it might only partially alphabetize things, if the game reads one RAW at a time.

Regardless, it's such an ugly hack of a solution. Toady needs to fix it properly :>
Logged

King Mir

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #9 on: March 09, 2012, 05:44:46 pm »

It's nice having some things, like gems, sorted by value.

AWdeV

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #10 on: March 09, 2012, 06:24:12 pm »

But alphabetically is hardly important. Sorting by value or by weight makes more sense as that has an actual impact on things that aren't OCD.
Logged
Teenage Bearded Axelord Turtles
Teenage Bearded Axelord Turtles
Urists in a half shell (Turtle Power)

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Sort everything alphabetically.
« Reply #11 on: March 09, 2012, 06:27:47 pm »

But alphabetically is hardly important. Sorting by value or by weight makes more sense as that has an actual impact on things that aren't OCD.

Spoken like someone who has never tried to make a refuse stockpile that only accepts corpses from specific creatures.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Aachen

  • Bay Watcher
  • Wenzo Pilgrim cancels job: unstuck in time.
    • View Profile
Re: Sort everything alphabetically.
« Reply #12 on: March 09, 2012, 07:00:17 pm »

Yeah. And same goes for animal-butchery products. In general, I'd think extending the "filter-on-string" approach is more generally helpful, but even being able to cycle through several different sorting methods would simplify a lot of the waste-work with regard to lists.
Logged
Quote from: Rithol Camus
There is but one truly serious philosophical problem and that is magma.

Quote from: Chinua Achebe
.... For Cliché is pauperized Ecstasy.

Yaotzin

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #13 on: March 09, 2012, 07:50:48 pm »

Yep, as I said in the OP, this was started by me trying to find elephant+giraffe+rhino leather in the stockpile list. The thing is hideous.

Being able to search is great too. Sort by value or weight could be useful too.

So I say have them all. Default to alphabetically, able to change to value or weight, and with a search option. Please Toady Please!
Logged

irmo

  • Bay Watcher
    • View Profile
Re: Sort everything alphabetically.
« Reply #14 on: March 09, 2012, 07:55:02 pm »

Yep, as I said in the OP, this was started by me trying to find elephant+giraffe+rhino leather in the stockpile list. The thing is hideous.

Being able to search is great too. Sort by value or weight could be useful too.

So I say have them all. Default to alphabetically, able to change to value or weight, and with a search option. Please Toady Please!

How about just condensing the various leathers into a smaller number of categories? I mean, if you saw a piece of leather, would you be able to say whether it's elephant or rhino? Does it ever make a difference, then, besides that an elephant produces more of it?
Logged
Pages: [1] 2 3 4