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
Allow swampCost
and plainCost
as options in _findPath2
#62
Conversation
Right now the only way to change the swamp and plain cost is `ignoreRoads`, but that doesn’t allow explicit control. Adding this in `_findPath2` will enable it in a variety of areas, including `moveTo`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't believe I missed that...
Please rebase this to the |
Rebased. |
The base branch of this PR has to be changed to |
Base branch is now changed on both of my PRs. |
There is something wrong in the commits list and PR diff - there are unneccessary changes left from rebasing. Could you please clean it up so that it displays only actual changes? |
cda39b0
to
e64f60a
Compare
Fixed. |
Thanks! Now we'll wait for other |
Right now the only way to change the swamp and plain cost is
ignoreRoads
, but that doesn’t allow explicit control.Adding this in
_findPath2
will enable it in a variety of areas, includingmoveTo
.