Skip to content

Conversation

@unboundlopez
Copy link

Adds bulk instrument ordering options (all/handheld/building) and documents how to use them so players can create multiple instrument work orders more easily.

…for-flavor-text

Document external TTS usage for flavor-text
Lines 140–156 (order_instruments helper)
This helper implements bulk ordering for instruments. It gathers all instruments belonging to the player’s civilization that pass a given filter and errors if none match. Each matched instrument is then ordered by calling the existing order_instrument function with the normalized name, amount, and quiet flag. This helper is the shared backend for all bulk-order CLI commands.

Lines 180–188 (CLI options: all, handheld, building)
These CLI options enable bulk ordering. The all option orders every instrument for the player’s civilization, handheld orders only non-building instruments, and building orders only building-based instruments. Each option reads an amount (defaulting to one) and calls order_instruments with the appropriate filter.
@ab9rf ab9rf added this to 53.10-r2 Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant