Skip to content

Make it possible to only select block if using the right tools#2958

Merged
IntegratedQuantum merged 8 commits intoPixelGuys:masterfrom
DellieDelta:only-select-with-right-tool
Apr 26, 2026
Merged

Make it possible to only select block if using the right tools#2958
IntegratedQuantum merged 8 commits intoPixelGuys:masterfrom
DellieDelta:only-select-with-right-tool

Conversation

@DellieDelta
Copy link
Copy Markdown
Contributor

@DellieDelta DellieDelta commented Apr 20, 2026

Replaces the block field .selectable with .selectionRule

This to make .selectionRule = .toolEffective possible, which only selects the block if the used tool is effective on it :)

Fixes #2941

Progress towards #1558
Progress towards #627

Comment thread src/renderer.zig Outdated
@Wunka Wunka moved this to Easy to Review in PRs to review Apr 25, 2026
Comment thread assets/cubyz/blocks/lava.zig.zon
Comment thread src/blocks.zig Outdated
Comment thread src/blocks.zig Outdated
Comment thread src/blocks.zig Outdated
Comment thread src/blocks.zig
@IntegratedQuantum IntegratedQuantum moved this from Easy to Review to In review in PRs to review Apr 26, 2026
@IntegratedQuantum IntegratedQuantum merged commit 412423b into PixelGuys:master Apr 26, 2026
1 check passed
@DellieDelta
Copy link
Copy Markdown
Contributor Author

Thanks for the review Quantum!

@DellieDelta DellieDelta deleted the only-select-with-right-tool branch April 26, 2026 12:21
@IntegratedQuantum
Copy link
Copy Markdown
Member

Well thanks for the PR

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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Make it possible to only select block if using the right tools

3 participants