Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Create: Check train owners #542

Open
bangetto opened this issue Aug 24, 2024 · 4 comments
Open

[Suggestion] Create: Check train owners #542

bangetto opened this issue Aug 24, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@bangetto
Copy link

When I enter into a claim with a train (I specifically used a handcar from C.: Steam 'n' Rails) I get a ton of error of why I'm interacting with this entity, then it gets stuck on the other player's claim. I think it should make an exception if you own the train

@mayank-pahuja
Copy link

the game doesn't seem to properly recognize that the train belongs to the player, leading to the train getting stuck in the claim area.

solution might be to add a check in the code that verifies whether the train belongs to the player before triggering any claim-related logic. This way, the game would recognize the train as the player's property and allow it to pass through without causing errors.

@thexaero
Copy link
Owner

Trains don't have owners. Avoid situations like this.

@bangetto
Copy link
Author

bangetto commented Sep 8, 2024

run the /create trains command, they have owners

@thexaero thexaero reopened this Sep 9, 2024
@thexaero
Copy link
Owner

thexaero commented Sep 9, 2024

Interesting! I just assumed they didn't because that is the case with every other type of contraption. I guess something could be improved here then.

@thexaero thexaero changed the title [Suggestion] Create: Do not steal the train of others when entering a claim [Suggestion] Create: Check train owners Sep 9, 2024
@thexaero thexaero added the enhancement New feature or request label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants