Skip to content

Anchor only on station component#43716

Open
Samuka-C wants to merge 3 commits intospace-wizards:masterfrom
Samuka-C:anchor-only-on-station
Open

Anchor only on station component#43716
Samuka-C wants to merge 3 commits intospace-wizards:masterfrom
Samuka-C:anchor-only-on-station

Conversation

@Samuka-C
Copy link
Copy Markdown
Contributor

About the PR

Adds a component that makes so a entity can only be anchored on the station.
The component also makes a popup when there is a attempt to anchor the entity outside the station

Why / Balance

This is necessary for #43455

Technical details

added a component that listens to the try anchor event, uses a new method from the shared station system to see if it is on the station, and if it isn't, it cancels the try anchor event and sets a fail message in the event

the try anchor will make a popup of that fail message when the try anchor is cancelled

Also added a system that listen for grids being separated and unanchors any entity with the AnchorOnlyOnStation component that isn't in the station after the grid is separated

Media

image

Requirements

Breaking changes

Changelog
no cl, no fun

@PJBot PJBot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/M Denotes a PR that changes 100-999 lines. labels Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/M Denotes a PR that changes 100-999 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants