Skip to content

Add z_instrument_all script and documentation #1468

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 3 commits into
base: master
Choose a base branch
from

Conversation

unboundlopez
Copy link

z_instrument_all.lua

Automatically queue work orders for all discovered instruments in Dwarf Fortress using DFHack.

Features

  • Detects all valid, craftable instruments via instruments command
  • Normalizes and filters instrument names for compatibility
  • Automatically places a work order for each instrument without having to manually input order and name

Usage

Run with a number to place that many orders per instrument (defaults to 1 if omitted):

::

z_instrument_all 5

This example queues 5 of each discovered instrument.

Acknowledgments

This script utilizes the DFHack instruments command to retrieve and process instrument definitions.

@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