Sort button on inventories

Thoughts on the further development of Haven & Hearth? Feel free to opine!
User avatar
Gauteamus
Posts: 858
Joined: Fri May 29, 2009 7:16 pm

Sort button on inventories

Post by Gauteamus »

After struggling with Photoshop abit, I decided not to attach a funny image after all, I think you see what I mean.

As I understand it, there is an overhaul of inventory code coming up in the foreseeable future.
It would be nice to have the ability to sort an inventory (possibly any inventory, including kilns etc.)
Each item would be assigned a number, and this number concatenated with the quality number of the item (probably ignoring variables such as degree of fullness in wine bottles and curd quality in cheese vats) would decide the slot the item would be placed in the sorted inventory.
Sorting the inventory could drain a small amount of stamina, depending on number of slots.
Possible extension: assign number 0001 to the first item group (keys) encountered in the inventory, and item number 9999 to the last encountered item (flax seeds).

The Problem: all the different shapes items can take in a variably sized environment will screw up the algorithm.
One possible solution could be to leave all non-1x1 items in the place they were before sorting.
Image<<Bottleneck>>
What if Rosa Parks had a car?
User avatar
Gauteamus
Posts: 858
Joined: Fri May 29, 2009 7:16 pm

Re: Sort button on inventories

Post by Gauteamus »

With the new great harvesting update in mind, I do not feel like a complete ass bumping this up again.
Any thoughts?
Image<<Bottleneck>>
What if Rosa Parks had a car?
User avatar
Chakravanti
Posts: 3345
Joined: Sat Aug 29, 2009 3:38 am

Re: Sort button on inventories

Post by Chakravanti »

Some of you may have noticed that the next item up for grabs comes out to the last item placed in inventory when crafting or planting now. This consistency is useful but were this suggestion implemented in some way it SHOULD affect this so as to solve two problems with one: The need for auto-sorted seeds when auto-replanting.
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!

Return to “Critique & Ideas”