Anchor only on station component#43716
Open
Samuka-C wants to merge 3 commits intospace-wizards:masterfrom
Open
Anchor only on station component#43716Samuka-C wants to merge 3 commits intospace-wizards:masterfrom
Samuka-C wants to merge 3 commits intospace-wizards:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Requirements
Breaking changes
Changelog
no cl, no fun