Skip to content

#3228 grey out unusable items when using workbench - #3552

Open
LukePearcy wants to merge 4 commits into
PixelGuys:masterfrom
LukePearcy:#3228
Open

#3228 grey out unusable items when using workbench#3552
LukePearcy wants to merge 4 commits into
PixelGuys:masterfrom
LukePearcy:#3228

Conversation

@LukePearcy

@LukePearcy LukePearcy commented Aug 22, 2026

Copy link
Copy Markdown

closes #3228

@Wunka Wunka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Welcome to Cubyz!

if you don't know: I am am not someone who can merge your code, so you will still receive a review by quantum.

Comment on lines 21 to 26
const Mode = enum {
normal,
takeOnly,
unfocused,
immutable,
};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

normal, takeOnly, and immutable actually represent logic behavior changes, whereas unfocused only affects rendering behavior. So I don't think unfocused fits here.

One example where this can shoot you in the foot is that the item slots in the creative window are takeOnly, and therefore aren't affected by your logic. Even though it would be nice if they were.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

That's a good point, it now applies the logic by inventory source instead of item slot mode. Though maybe the creative inventory should have it's own inventory source type instead of using .other?

@Wunka Wunka moved this to Easy to Review in PRs to review Aug 23, 2026
@IntegratedQuantum

Copy link
Copy Markdown
Member

This still requires more design discussions, see my comment on the issue: #3228 (comment)

@IntegratedQuantum IntegratedQuantum moved this from Easy to Review to WIP/not ready for review in PRs to review Aug 26, 2026
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.

Grey out unusable items in workbench UI

3 participants