Skip to content

Conversation

@amade-w
Copy link
Contributor

@amade-w amade-w commented Sep 19, 2025

This is a new tool to temporarily mitigate the issue of ranged units not being able to practice at the archery range ('Soldier (no item)' issue). It scans inside the quivers of units in squads that are currently training, combines training ammo items until it reaches a stack size of 25, and drops any surplus ammo items on the ground so that each quiver will contain only one training ammo item.

An entry was added in internal/control-panel/registry.lua to execute this script every 449 ticks.

Limitation: unlike combine, this tool ignores item material, quality, and maker to simply combine whatever training ammo is contained inside the quiver.

@ab9rf ab9rf merged commit 17a3354 into DFHack:master Sep 25, 2025
10 checks passed
@amade-w amade-w deleted the archery-practice branch September 27, 2025 23:37
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