Skip to content

Items tab: sorting crafted item modifiers alphabetically#1629

Open
Taigore wants to merge 3 commits intoOpenarl:devfrom
Taigore:dev
Open

Items tab: sorting crafted item modifiers alphabetically#1629
Taigore wants to merge 3 commits intoOpenarl:devfrom
Taigore:dev

Conversation

@Taigore
Copy link
Copy Markdown

@Taigore Taigore commented Jul 6, 2019

Hi, I created this patch to sort crafted modifiers by name. The sorting function ignores the inital magnitude part (ex: +10%)
Let me know if anything needs to be done differently.

Federico Bellia added 2 commits July 6, 2019 15:56
Crafted item modifiers where not sorted according to any specific
criteria. Now they are sorted in alphabetical order, excluding
any initial magnitude prefix:

Ex: "+10% ham" comes after "Gummybears"
@Legrems
Copy link
Copy Markdown

Legrems commented Oct 2, 2019

All the +(x) to ... will all be sorted with "to". Can you do like "+10 to maximum life" is sorted with "maximum life". Also if the "Adds x to y TYPE damage" can be sorted with "TYPE damage". All this will allow the have all "lightning" modifier (resistance, flat damage, dmg increase, ...) following each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants