-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Equip location sorting + inventory validation
- Change how sorting for Eqiup Location is handled. Previously, the game names (ex: INVTYPE_LEGS) or localized (ex: Legs) were offered. Both have been replaced with a custom sort based on character sheet order, working from top to bottom on the left, same on the right, then left to right at the bottom. - Any existing Sort Orders containing either of the old Equip Location fields will be updated to use the new one. - Sort Orders now get cleaned at startup and any invalid fields are removed. - Added Equip Location to all the default Sort Orders (#13). - As part of this change, inventory cache validation has been added. This should reduce the chance of errors due to item cache fields being added or removed. - ItemInfo has been lightly refactored so it no longer needs to load so late. This was needed to support the cache validation code. - ItemInfo:InitializeItem() has been updated to be usable for cache validation. - InitializeEmptySlotItem() was moved from Inventory to ItemInfo, where it probably should have been all along.
- Loading branch information
Showing
7 changed files
with
345 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.