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

Change: Forbid dock placement on docking area #6927

Conversation

SamuXarick
Copy link
Contributor

Negates dock placement if it would be blocking ship access to the docking location of another dock or of an oil rig station.

https://www.tt-forums.net/viewtopic.php?p=1176272

@SamuXarick SamuXarick force-pushed the forbid-dock-placement-on-docking-area branch 2 times, most recently from 8689ea1 to f19ebe0 Compare October 6, 2018 09:50
nielsmh
nielsmh previously approved these changes Nov 2, 2018
@J0anJosep
Copy link
Contributor

I am not keen on these types of checks. If we had to check for any action whether it will block any vehicle or any station, the code would be much larger than it is now.

@TrueBrain
Copy link
Member

We recently switched from Jenkins as CI to Azure Pipelines as CI. This means you need to rebase before this Pull Request will pass its checks. Sorry for the troubles!

@andythenorth
Copy link
Contributor

andythenorth commented Jan 11, 2019

This accounts for Oil Rigs, does it account for Newgrf industries built on water? L2472 does that?

Negates dock placement if it would be blocking ship access to the docking location of another dock or of an oil rig station.

https://www.tt-forums.net/viewtopic.php?p=1176272
@SamuXarick
Copy link
Contributor Author

SamuXarick commented Jan 12, 2019

This accounts for Oil Rigs, does it account for Newgrf industries built on water? L2472 does that?

I tried to comply with the rules found somewhere on industry_cmd.cpp

@LordAro LordAro added the needs triage This issue needs further investigation before it becomes actionable label Jan 20, 2019
@andythenorth
Copy link
Contributor

andythenorth commented Jan 24, 2019

On reflection it's not essential to provide these kind of checks. The benefit is too little for the complexity introduced, and the possibility of unintended side effects. This PR is not likely to be accepted, so I'm closing it to keep things tidy. Thanks for contributing!

@SamuXarick SamuXarick deleted the forbid-dock-placement-on-docking-area branch January 2, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs further investigation before it becomes actionable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants