Skip to content

Conversation

Bumber64
Copy link
Contributor

@Bumber64 Bumber64 commented May 6, 2025

Attach new controller based on how DF handles cancelled missions, rather than requiring a returning squad.
Fix assumptions about one squad per army. Let DF handle squads that haven't fully left the map.
Some functions that might be useful to manipulate armies in general. (E.g., force any army to join a site.)
verbose and quiet options.

* Update stuck-squad.lua
* Update notifications.lua
* Update registry.lua
* Update stuck-squad.rst
--From observing bugged saves, this condition appears to be unique to stuck armies
local function is_army_stuck(army)
return army and not army.flags.dwarf_mode_preparing and --Let DF handle cancelled missions
army.controller_id ~= 0 and not army.controller
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is a controller_id of 0 excluded, specifically?

@Bumber64
Copy link
Contributor Author

May need changes due to v52.03-04 army handling. Tool may be obsolete due to remaining army issues having a different cause.

@Bumber64 Bumber64 marked this pull request as draft October 16, 2025 04:52
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