diff --git a/NEWS b/NEWS index 3c53c5b5f..e174e6559 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,8 @@ DFHack future + New plugins: + - hotkeys (by Falconne): Shows ingame viewscreen with all dfhack keybindings active in current mode. + DFHack 0.40.11-r1 Internals: diff --git a/Readme.html b/Readme.html index ca3194d6c..7f3cdc7ab 100644 --- a/Readme.html +++ b/Readme.html @@ -534,6 +534,7 @@ access DF memory and allow for easier development of new tools.

  • gui/clone-uniform
  • gui/companion-order
  • gui/gm-editor
  • +
  • Hotkeys
  • gui/liquids
  • gui/mechanisms
  • gui/mod-manager
  • @@ -3356,6 +3357,16 @@ the same as version above.

    This editor allows to change and modify almost anything in df. Press '?' for an in-game help.

    +
    +

    Hotkeys

    +

    Opens an in-game screen showing DFHack keybindings that are valid in the current mode.

    +images/hotkeys.png +

    Type hotkeys into the DFHack console to open the screen, or bind the command to a +globally active hotkey in dfhack.init, e.g.:

    +
    +keybinding add Ctrl-F1 hotkeys
    +
    +

    gui/liquids

    To use, bind to a key (the example config uses Alt-L) and activate in the 'k' mode.

    diff --git a/Readme.rst b/Readme.rst index 0e07a7b49..b5891c435 100644 --- a/Readme.rst +++ b/Readme.rst @@ -2766,10 +2766,9 @@ Opens an in-game screen showing DFHack keybindings that are valid in the current .. image:: images/hotkeys.png Type ``hotkeys`` into the DFHack console to open the screen, or bind the command to a -globally active hotkey in dfhack.init, e.g.: +globally active hotkey in dfhack.init, e.g.:: - ``keybinding add Ctrl-F1 hotkeys`` - + keybinding add Ctrl-F1 hotkeys gui/liquids =========== diff --git a/dfhack.init-example b/dfhack.init-example index 891fbfa81..b3e8529a9 100644 --- a/dfhack.init-example +++ b/dfhack.init-example @@ -2,6 +2,9 @@ # Generic dwarfmode bindings # ############################## +# show all current key bindings +keybinding add Ctrl-F1 hotkeys + # toggle the display of water level as 1-7 tiles keybinding add Ctrl-W twaterlvl diff --git a/images/hotkeys.PNG b/images/hotkeys.png similarity index 100% rename from images/hotkeys.PNG rename to images/hotkeys.png