r222: Added a way to re-sort the player's inventory
Posted: Tue Mar 13, 2012 11:21 pm
r222 added a feature to sort the inventory:
Added a way to re-sort the player's inventory by moving items to top/bottom.
1) Beside the fact that I would like a drag and drop sort possibility like the one the app "quick settings" provides, (I don't know if it is complicated or if it is an android listbox feature that only needs to be "activated") I think moving items to top/bottom of the list might generate frustration:
If you want to sort the inventory for the first time, you may only need a maximum of "N-1" operations. (let N be the number of items available in the inventory.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "floor(N/2)" operations. (This might generate frustration.)
Also this option might not be very intuitive. Might result in "N²/2" operations.
2) Only adding moving items one place up/down isn't a good solution either:
If you want to sort the inventory for the first time, you may only need a maximum of "N²/2" operations. (This might generate even more frustration.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "1" operation.
3) Providing both actions in combination would result in:
If you want to sort the inventory for the first time, you may only need a maximum of "N-1" operations. (let N be the number of items available in the inventory.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "1" operation.
The menu containing the move actions (and the previous entries like "info", "use", "drop", "assign to quickslot") will grow too much and will be in need of a scroll bar. (This might generate frustration, because it would result in "2N-2" or "2" operations)
What do you think?
I tend to option #3.
Added a way to re-sort the player's inventory by moving items to top/bottom.
1) Beside the fact that I would like a drag and drop sort possibility like the one the app "quick settings" provides, (I don't know if it is complicated or if it is an android listbox feature that only needs to be "activated") I think moving items to top/bottom of the list might generate frustration:
If you want to sort the inventory for the first time, you may only need a maximum of "N-1" operations. (let N be the number of items available in the inventory.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "floor(N/2)" operations. (This might generate frustration.)
Also this option might not be very intuitive. Might result in "N²/2" operations.
2) Only adding moving items one place up/down isn't a good solution either:
If you want to sort the inventory for the first time, you may only need a maximum of "N²/2" operations. (This might generate even more frustration.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "1" operation.
3) Providing both actions in combination would result in:
If you want to sort the inventory for the first time, you may only need a maximum of "N-1" operations. (let N be the number of items available in the inventory.)
Later in an almost sorted inventory just moving one item one place up or down will need a maximum of "1" operation.
The menu containing the move actions (and the previous entries like "info", "use", "drop", "assign to quickslot") will grow too much and will be in need of a scroll bar. (This might generate frustration, because it would result in "2N-2" or "2" operations)
What do you think?
I tend to option #3.