Skip to content

Conversation

@LordIdra
Copy link
Contributor

Allows cargo blocks to be directly connected to each other

image

The routing logic was already there and did not modifying. So the only thing required to make this work in the end was the visual component, and also making sure that the right events were being fired when two cargo blocks were connected. I did this with a slight hack, which is to make cargo blocks entity holders and then add an entity to one of the cargo blocks whenever two cargo blocks are directly connected. This also require extra logic to keep the displays in sync. Whenever a display is created, the PylonCargoConnectEvent is fired, and when a display is destroyed the PylonCargoDisconnectEvent is fired.

Base automatically changed from add-cargo to master December 21, 2025 07:19
@LordIdra LordIdra merged commit d03a8eb into master Dec 30, 2025
3 checks passed
@LordIdra LordIdra deleted the direct-cargo-connections branch December 30, 2025 12:39
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.

3 participants