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

Several navigation fix #10411

Open
wants to merge 11 commits into
base: version/1.21
Choose a base branch
from

Conversation

HexatomicRing
Copy link

  • Path-finding can now identify the direction of stairs, avoiding jumping up stairs from the side.
  • Path-finding can now identify doors. Citizens and intruders now prefer paths with fewer doors to open.
  • Modified the drop cost in path-finding. 1 falling damage cost 25 in addition. Swimming enter cost is lowered so that citizens will drop in water to avoid falling damage. (In practical situations, it may fail because citizens sometimes move too fast to drop into the water)

Testing

  • [√] Yes I tested this before submitting it.
  • [×] I also did a multiplayer test.

Review please
// Sorry that I deleted my fork by mistake, so I had to re-create this pull request😭.

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.

1 participant