Skip to content

Convert "Request dock" button to a menu#2837

Open
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:docking-request-menu
Open

Convert "Request dock" button to a menu#2837
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:docking-request-menu

Conversation

@oznogon
Copy link
Copy Markdown
Contributor

@oznogon oznogon commented Apr 6, 2026

When multiple compatible DockingBay entities are within range, list them on the "Request dock" button and let the player select which entity to dock with instead of automatically choosing the nearest entity.

This converts DockingBay to subclass GuiPanel instead of GuiButton, and uses separate GuiButton and GuiListbox components in order to handle different docking states and dynamically update list contents.

This does NOT CHANGE keyboard shortcut behavior, which continues to dock with the nearest eligible target. It also does NOT CHANGE any existing interactions when only one eligible target is within range.

Recording.2026-04-06.100116.mp4

When multiple compatible DockingBay entities are within range, list
them and let the player select which entity to dock with instead of
automatically choosing the nearest entity.
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.

1 participant