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: Add configurable docking tile occupied penalty for NPF and YAPF #9553


Copy link

@SamuXarick SamuXarick commented Sep 13, 2021

Motivation / Problem

Personally, I'd like to be able to configure docking tile occupied penalty to 0, so that there is a way to make the pathfinder behave more like it used to before this penalty was introduced. ship_curve45_penalty and ship_curve90_penalty were introduced recently and are configurable, so why not the docking tile?


Add configurable docking tile occupied penalty for NPF and YAPF


Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.

  • The bug fix is important enough to be backported? (label: 'backport requested')
  • This PR touches english.txt or translations? Check the guidelines
  • This PR affects the save game format? (label 'savegame upgrade')
  • This PR affects the GS/AI API? (label 'needs review: Script API')
    • ai_changelog.hpp, gs_changelog.hpp need updating.
    • The compatibility wrappers (compat_*.nut) need updating.
  • This PR affects the NewGRF API? (label 'needs review: NewGRF')
@SamuXarick SamuXarick force-pushed the configurable-docking-tile-penalty branch from 53ba0f9 to a27d3de Sep 13, 2021
Copy link

@TrueBrain TrueBrain commented Sep 14, 2021

Yeah, I think even you understand why I close this PR :P

But to put it in words:

  • Your motivation is basically: because I personally like it. Good for you, use this PR locally :) That is hardly a reason to accept the PR of course :)
  • ship_curve45_penalty and ship_curve90_penalty were introduced recently .. don't know how your clock works, but this was introduced 18 (!) months ago. Please don't deceive people ;)
  • As you are well aware, we are not adding more settings without good reasons :) If you can present a good reason, please do. But I hope we all agree this is not that :)

@TrueBrain TrueBrain closed this Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants