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

Stub get_steps_to() #1619

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

Hinaichigo
Copy link
Contributor

This stubs the BYOND native proc get_steps_to():

Calculate a set of steps from Ref on a path to Trg, taking obstacles into account. The result of the proc is a list of directions that can be used with step(), or null if a path could not be found. 

If Ref is within Min steps of Trg, no steps are computed. This is also true if the target is too far away (more than twice world.view steps). In either case, null is returned. 

stub get_steps_to()
@wixoaGit wixoaGit enabled auto-merge (squash) January 10, 2024 18:46
@wixoaGit wixoaGit merged commit 816e59c into OpenDreamProject:master Jan 10, 2024
6 checks passed
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.

2 participants