Skip to content

Remove Really disband squad and Really change recenter location - #1610

Open
magnus-ISU wants to merge 1 commit into
DFHack:masterfrom
magnus-ISU:remove-confirms-with-vanilla-equivalents
Open

Remove Really disband squad and Really change recenter location#1610
magnus-ISU wants to merge 1 commit into
DFHack:masterfrom
magnus-ISU:remove-confirms-with-vanilla-equivalents

Conversation

@magnus-ISU

Copy link
Copy Markdown
Contributor

DF asks 'Really disband?' when you disband a squad, and 'Really overwrite' when you reassign a recenter hotkey, so squad-disband and hotkey-reset put a second dialog in front of the game's own.

image image image

This is probably one of the only cases DFhack makes the game worse, likely because it used to be necessary and no one revisited this code.

DF asks 'Really disband?' when you disband a squad, and 'Really overwrite' when
you reassign a recenter hotkey, so squad-disband and hotkey-reset put a second
dialog in front of the game's own. Both strings are in the v53 executable beside
the buttons that raise them.

One nuance worth a reviewer's eye: the vanilla prompt covers overwriting a
recenter hotkey, and I could not find an equivalent for CLEARING one -- the
hotkey-reset spec covered both. If the clear case is worth keeping, this should
narrow the predicate rather than remove the spec.

@chdoc chdoc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can confirm that the game now asks before disbanding a squad or reassigning a hotkey. So these are indeed no longer necessary.

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