Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ux: Add icons to Socket Group skill list based on the item slot #6339

Merged
merged 11 commits into from
Sep 9, 2023

Conversation

ryuukk
Copy link
Contributor

@ryuukk ryuukk commented Aug 15, 2023

Fixes #5429

Description of the problem being solved:

I was tired of clicking each items to know where they are equipped whenever i import a new build

Now it's properly displayed all at once, so i get a better understanding of where things are

LICENCE for icons: CC0 - https://ashizian.itch.io/2-bits-pack

Steps taken to verify a working solution:

  • Check Socket Group list in Skills tab
  • Notice each items display proper icon based on the socket group's slot

Link to a build that showcases this PR:

Any build will work

Before screenshot:

image

After screenshot:

image

image

@ryuukk ryuukk changed the title Socketgroup icons ux: Add icons to Socket Group skill list based on the item slot Aug 15, 2023
@QuickStick123 QuickStick123 added the user-interface Changes that only affect the UI label Aug 15, 2023
@ryuukk
Copy link
Contributor Author

ryuukk commented Aug 15, 2023

I would like to improve this further by detecting the item type for the waepons, so it can display the proper icon (staff, bow, quiver etc)

If anyone know how to get that information, please share, that would be very nice of you

Copy link
Contributor

@Lilylicious Lilylicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the comments I've added are resolved, this looks great. I love the idea.

src/Classes/SkillListControl.lua Show resolved Hide resolved
src/Classes/SkillListControl.lua Outdated Show resolved Hide resolved
src/Classes/SkillListControl.lua Outdated Show resolved Hide resolved
src/Assets/icon.icon_amulet.png Outdated Show resolved Hide resolved
src/Assets/icon_offhand.png Outdated Show resolved Hide resolved
src/Classes/SkillListControl.lua Outdated Show resolved Hide resolved
LocalIdentity added 5 commits August 19, 2023 03:22
Adds the code to change the weapon based on type, Only uses a bow, quiver and shield as the alternate icon art for slots
@LocalIdentity LocalIdentity merged commit dbb1387 into PathOfBuildingCommunity:dev Sep 9, 2023
shafouz pushed a commit to shafouz/PathOfBuilding that referenced this pull request Dec 8, 2023
…OfBuildingCommunity#6339)

* Add icons for various item types

* Add icon support for ListControl

* Display icon based on socket group's slot

* Add some padding between text / icon

* Fix weapon swap

* Remove dev leftover

* Change Glove image

* Change Shield + Fix loading

* Change icons based on weapon type

Adds the code to change the weapon based on type, Only uses a bow, quiver and shield as the alternate icon art for slots

* Fix colour changing

---------

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-interface Changes that only affect the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI/UX] Show slot type in the socket group
4 participants