[v1.0.1-1.0.5] Inventory Sort Order

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [v1.0.1-1.0.5] Inventory Sort Order

#16 Post by Doctornull »

Regular inventory shots, same problem, for reference.
Attachments
Disabled (regular inventory screen)
Disabled (regular inventory screen)
Screen Shot 2013-12-08 at 11.22.33 PM.png (192.04 KiB) Viewed 12723 times
Enabled (regular inventory screen)
Enabled (regular inventory screen)
Screen Shot 2013-12-08 at 11.21.36 PM.png (236.97 KiB) Viewed 12723 times
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#17 Post by Zizzo »

Doctornull wrote:
Zizzo wrote:I've pushed that out in v1g; the new option is "Sort gems by tier", and toggles between sorting gems by tier then color or by color then tier.
It doesn't seem to be working :(

Neither selection makes the imbue gem screen sort them as I'd hope.
Hmm, there was a brief period during which the ZOmnibus version I'd pushed out was buggy and didn't properly apply the option (one of the hazards of having to maintain multiple copies of the same file...). I replaced the buggy version with a fixed version shortly thereafter; you might try re-downloading it and trying again.

In more immediate news... it seems I may have misconstrued DarkGod's intentions on the subject of option tabs in the Game Options dialog. I've pushed out v1h with the new "Sort gems by tier" option moved to the UI tab. We Apologize for the Inconvenience.(TM) :oops:
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#18 Post by Zizzo »

I'm working on some refinements to the sort order implemented by this addon, so I figured I'd check to see if anyone has any improvements they particularly wanted. What I'm working on at the moment is sorting out armor and weapons: separating 1-handed and 2-handed weapons, for instance, and not letting leather caps, iron helms and wizard hats get intermingled.
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#19 Post by Zizzo »

Zizzo wrote:I'm working on some refinements to the sort order implemented by this addon, [...]
So that just went out in v1j. Here's the scoop on the changes:
  • For weapons, the new order is:
    • Daggers and mindstars
    • One-handed swords, maces and axes, grouped by type
    • Whips
    • Other one-handed weapons that may be defined by addons (I hope...)
    • Staffs
    • Two-handed swords, mauls and axes, grouped by type
    • Tridents
    • Other two-handed weapons that may be defined by addons (I hope...)
    • Longbows and slings
  • For armor, the new order is:
    • Body armor, lightest to heaviest (ie. mummy wrappings -> robes -> leather armor -> mail -> plate)
    • Shields
    • Other armor pieces, grouped by type. Within these, pieces that require the Armor Training talent are grouped after pieces that don't (leather gloves go before metal gauntlets, for instance), and wizard hats are grouped before leather caps (I hope; there doesn't appear to be a programmatic way to distinguish the two beyond scraping the object name).
"Blessed are the yeeks, for they shall inherit Arda..."

Effigy
Uruivellas
Posts: 970
Joined: Fri Oct 10, 2014 4:00 pm

Re: [v1.0.1-1.0.5] Inventory Sort Order

#20 Post by Effigy »

Personally, I think it would make more sense to put shields before body armor in the sort order, since they go in the hands slot with weapons.

stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

Re: [v1.0.1-1.0.5] Inventory Sort Order

#21 Post by stinkstink »

I'd also put whips between mindstars and swords, as they can be offhanded.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#22 Post by Zizzo »

Effigy wrote:Personally, I think it would make more sense to put shields before body armor in the sort order, since they go in the hands slot with weapons.
stinkstink wrote:I'd also put whips between mindstars and swords, as they can be offhanded.
See, this is the kind of input I was hoping to get before pushing out this update... :oops: :wink:

[sound F/X]: source diving] Okay, offhand-wieldable weapons are distinguishable by the presence of the 'offslot' field,? so I can key off that. And if we're including whips, we might as well group in any other offhand-wieldable weapons defined by addons. And I suppose there's no point in separating out tridents from other two-handed weapons, either.

So, the revised sort order for weapons would be:
  • Offhand-wieldable one-handed weapons, grouped by type
  • Other one-handed weapons, grouped by type
  • Staffs
  • Other two-handed weapons, grouped by type
  • Longbows and slings
Now, for shields, when you say "since they go in the hands slot with weapons", do you mean you want them grouped with weapons, or just at the top of the armor sort order (which would put them... [checks] just after ammo, which is just after bows/slings)?

And anything else to change in the next update?
----
? This is one case in which we don't want to use the mod.class.Actor:getObjectOffslot() method, because that keys off the Corrupted Strength talent, and we don't want the sort order to changed for Reavers.
"Blessed are the yeeks, for they shall inherit Arda..."

Effigy
Uruivellas
Posts: 970
Joined: Fri Oct 10, 2014 4:00 pm

Re: [v1.0.1-1.0.5] Inventory Sort Order

#23 Post by Effigy »

This may just be my own preference, but I would put 2-handed melee weapons first, followed by 1-handed melee non-offhand weapons, then the 1h offhand weapons, then bows, then slings, then ammo, then shields, then armor. It's not necessary to change it if you prefer the other way, because I don't have a solid reason for preferring it in this order.

Short answer: I think putting shields after weapons but before armor works.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#24 Post by Zizzo »

Effigy wrote:This may just be my own preference, but I would put 2-handed melee weapons first, followed by 1-handed melee non-offhand weapons, then the 1h offhand weapons, then bows, then slings, then ammo, then shields, then armor. It's not necessary to change it if you prefer the other way, because I don't have a solid reason for preferring it in this order
(shrug) Well, I don't really have a solid reason for the order I went with, either; prob'ly was just that daggers were at the top of the list before, by virtue of having the lexographically first subtype among the weapon type. Anyone else have a strong opinion on the matter?
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#25 Post by Zizzo »

So I went ahead and pushed out v1k with Effigy's and stinkstink's suggested modifications above (with the small tweak that staffs still sort before other two-handed weapons).
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#26 Post by Zizzo »

So it just occurred to me that our sort order doesn't know anything about Embers-specific equipment. The resulting "default" handling looks like it goes roughly as follows:
  • Steamsaws and steamguns get sorted below daggers, as off-handable weapons.
  • Tinkers get sorted to the bottom of inventory; salves land in the "misc" group, just above diggers and other tools.
  • Steam generators and medical injectors get sorted just above infusions.
Do we think any of these should be handled differently? Anything I missed? And for that matter, what about Ashes? Any objects therein that are sorting in weird or inconvenient orders?
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#27 Post by Zizzo »

Well, if no one has preferences, I'll make a few executive decisions:
  • I'm moving steamguns to just below longbows and slings; steamguns can stay just below daggers.
  • I'm putting the "tinker" object type just before the "misc" object type (which notably includes medical salves) and moving salves to the top of "misc" so that they sort just below tinkers.
  • Steam generators and medical salves can stay above infusions; I forgot about schematics, which are fine where they landed, just below runes and scrolls.
That's going out as v1m.
"Blessed are the yeeks, for they shall inherit Arda..."

Zarremgregarrok
Wayist
Posts: 18
Joined: Thu Mar 24, 2016 12:45 pm

Re: [v1.0.1-1.0.5] Inventory Sort Order

#28 Post by Zarremgregarrok »

A suggestion for this mod:

Can the demon souls (Demonologist) be sorted by (in this order):
Equipment slot, demon tier, demon type, demon level.

Why:
When you search what to equip, you want to compare things for one slot.
Then you compare what they do, then you compare level of power.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#29 Post by Zizzo »

Zarremgregarrok wrote:Can the demon souls (Demonologist) be sorted by (in this order):
Equipment slot, demon tier, demon type, demon level.
You mean demon seeds? Yeah, that's probably doable; I haven't actually played Ashes, so I'll need to do some digging to find out what all those things actually mean… :oops:
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.1-1.0.5] Inventory Sort Order

#30 Post by Zizzo »

Zizzo wrote:You mean demon seeds? Yeah, that's probably doable; I haven't actually played Ashes, so I'll need to do some digging to find out what all those things actually mean… :oops:
Okay, I think I've got this ordering right. Pushing it out as v1n; let me know if this is the order you wanted. (You may have to manually trigger an inventory sort to get the new ordering; dropping something and picking it back up should do it.)
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply