Refactor Debug Keys #551

Merged
NQNStudios merged 7 commits from keys into master 2025-02-02 18:56:38 +00:00
NQNStudios commented 2025-01-26 01:49:25 +00:00 (Migrated from github.com)

I wanted to add a new debug action, and then I wanted to have it automatically appear in the help dialog, and I also wanted the debug help dialog to come up in response to ? because I never remember it's just / for the debug one. And I wanted the help dialogue to just let me pick one since the list is open already.

So I did all that.

Putting all the debug actions into a map the way I've done here, is a pattern we could repeat for ALL keyboard shortcuts, although I don't want to do that work if there's no need to. But it would move us towards the dream of #319.

  • Just for fun, you can use the arrow keys to pick a new outdoor section in the scenario editor (this is very nice)
  • I made a new debug action: press % to fight a wandering encounter from the current section, or press ^ to fight a special encounter.
I wanted to add a new debug action, and then I wanted to have it automatically appear in the help dialog, and I also wanted the debug help dialog to come up in response to `?` because I never remember it's just `/` for the debug one. And I wanted the help dialogue to just let me pick one since the list is open already. So I did all that. Putting all the debug actions into a map the way I've done here, is a pattern we could repeat for ALL keyboard shortcuts, although I don't want to do that work if there's no need to. But it would move us towards the dream of #319. * Just for fun, you can use the arrow keys to pick a new outdoor section in the scenario editor (this is very nice) * I made a new debug action: press `%` to fight a wandering encounter from the current section, or press `^` to fight a special encounter.
Sign in to join this conversation.
No description provided.