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

Add: Configurable ship curve penalties (YAPF) #7289

Merged
merged 2 commits into from Mar 8, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Feb 27, 2019

Add separate penalties for 45- and 90-degree curves for ships, similar to trains. Default penalties are the same, but may want tweaking.

This makes ships prefer a route with 45-degree turns, but they can still take 90-degree turns and not get stuck.

@SamuXarick
Copy link
Contributor

Tested penalties values: 400, 500, 600
little hardinghead transport 2010-11-11

@nielsmh
Copy link
Contributor

nielsmh commented Mar 1, 2019

This + #7232 please :)

@PeterN
Copy link
Member Author

PeterN commented Mar 2, 2019

This + #7232 please :)

If only there was a way to make that happen...

@michicc michicc merged commit 7ca1793 into OpenTTD:master Mar 8, 2019
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.

None yet

4 participants