Skip to content

Add z-adv-path-up-down #1464

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

unboundlopez
Copy link

@unboundlopez unboundlopez commented Jun 10, 2025

z-adv-path-up-down

Auto-path one Z-level up or down from your current Adventurer position by simulating one-step
movement commands.

Synopsis

::

z-adv-path-up-down

Usage

Run from the DFHack Lua console while in Adventurer mode:

::

[DFHack]# lua z-adv-path-up-down.lua

  1. You’ll be prompted with Up, Down, or Cancel.
  2. Select Up to auto-path to the highest level above your current Z; Down to auto-path to the lowest level.
  3. A “please do not press any keys” popup displays while the script works.
  4. On success, a confirmation popup shows how many levels you moved; on failure, an error popup appears.

@unboundlopez unboundlopez marked this pull request as draft June 10, 2025 22:06
@unboundlopez unboundlopez marked this pull request as ready for review June 10, 2025 22:07
@unboundlopez
Copy link
Author

pre-commit.ci autofix

@unboundlopez unboundlopez changed the title Add z-adv-path-up-down script and documentation Add z-adv-path-up-down Jun 10, 2025
@unboundlopez unboundlopez marked this pull request as draft June 10, 2025 22:12
I forgot to update the code before posting the PR
@unboundlopez unboundlopez marked this pull request as ready for review June 10, 2025 22:14
@unboundlopez
Copy link
Author

pre-commit.ci autofix

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