Skip to content

Colorable Item Slots - #3023

Open
Crepestrom wants to merge 7 commits into
PixelGuys:masterfrom
Crepestrom:rgb-item-slots
Open

Crepestrom wants to merge 7 commits into
PixelGuys:masterfrom
Crepestrom:rgb-item-slots

Conversation

@Crepestrom

Copy link
Copy Markdown
Contributor

Item slots can now be recolored

image image

@ikabod-kee

Copy link
Copy Markdown
Collaborator

Ooh, what if custom icons for them next?

@Wunka Wunka moved this to Low Priority in PRs to review May 4, 2026
@DellieDelta

Copy link
Copy Markdown
Contributor

Also related: #2818

@Argmaster

Argmaster commented May 4, 2026 •

Copy link
Copy Markdown
Collaborator

Okay, I sort of think that static non-gray colors are not a great idea. Support for coloring slots on demand is great (functionally, haven't looked at the code yet), but hard coding colors (other than gray) in zon files not so much. It ends up noisy, too much implicit information; what do the colors even mean?. Additionally it poses a accessibility issue for color blind people.

I guess if we were to use gray scale it would make some sense to mark same types of slots, but then required slots would need something extra to emphasize their function. An asterisk or something.

@Argmaster

Copy link
Copy Markdown
Collaborator

Actually, there is even more issues, the final look of workbench inventory is going to be much different; it's going to have blue background (as of now that's the plan)

@Wunka

Wunka commented May 4, 2026 •

Copy link
Copy Markdown
Contributor

I think it would be better to combine it with #3005. so you can set colors on tags. that way we could also move the !optional = darker color logic there..

@IntegratedQuantum

Copy link
Copy Markdown
Member

A different option would be to just add small icons to the slot, together with a map legend explaining the symbols.

@ikabod-kee

Copy link
Copy Markdown
Collaborator

A legend is not really needed. You can just have it show its stats on being hovered.

@IntegratedQuantum

Copy link
Copy Markdown
Member

Well a legend has the advantage that you don't need to hover over all the slots individually to understand their meaning.

@ikabod-kee

Copy link
Copy Markdown
Collaborator

using a legend doesn't sound very modular.

@IntegratedQuantum IntegratedQuantum moved this from Low Priority to WIP/not ready for review in PRs to review May 16, 2026
@Crepestrom

Crepestrom commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor Author
image

Updated to modern version
colors have been neutralized

This branch has not been deployed

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

Labels

None yet

Projects

Status: WIP/not ready for review

Development

Successfully merging this pull request may close these issues.

6 participants