Skip to content

Update instruments.lua #1473

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 1 commit into
base: master
Choose a base branch
from
Open

Conversation

unboundlopez
Copy link

This update enhances the instruments script by adding support for ordering all known instruments in a single command. Users can now run instruments order all to queue one of each discovered instrument, or optionally specify a quantity and filter by instrument type (e.g. instruments order all 3 handheld). The script accepts flexible argument order and ensures compatibility with UTF-8 input by relying on normalized string comparisons.

instruments order all -- Order 1 of every instrument
instruments order all 5 -- Order 5 of every instrument
instruments order all handheld -- Order 1 of every handheld instrument
instruments order all building -- Order 1 of every building instrument
instruments order all 3 handheld -- Order 3 of every handheld instrument
instruments order all handheld 3 -- Order 3 of every handheld instrument
instruments order all building 2 -- Order 2 of every building instrument
instruments order all 2 building -- Order 2 of every building instrument

If this PR makes an externally-visible change in behavior, please add an appropriate line to changelog.txt.

This update enhances the instruments script by adding support for ordering all known instruments in a single command. 
Users can now run instruments order all to queue one of each discovered instrument, or optionally specify a quantity and filter by instrument type (e.g. instruments order all 3 handheld). 
The script accepts flexible argument order and ensures compatibility with UTF-8 input by relying on normalized string comparisons. 

instruments order all                -- Order 1 of every instrument
instruments order all 5              -- Order 5 of every instrument
instruments order all handheld       -- Order 1 of every handheld instrument
instruments order all building       -- Order 1 of every building instrument
instruments order all 3 handheld     -- Order 3 of every handheld instrument
instruments order all handheld 3     -- Order 3 of every handheld instrument
instruments order all building 2     -- Order 2 of every building instrument
instruments order all 2 building     -- Order 2 of every building instrument
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