diff options
Diffstat (limited to 'LUA_API.rst')
| -rw-r--r-- | LUA_API.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LUA_API.rst b/LUA_API.rst index c5f9a1c5..898ab79c 100644 --- a/LUA_API.rst +++ b/LUA_API.rst @@ -777,6 +777,10 @@ Gui module last case, the highlighted *contained item* is returned, not the container itself. +* ``dfhack.gui.getSelectedBuilding([silent])`` + + Returns the building selected via *'q'*, *'t'*, *'k'* or *'i'*. + * ``dfhack.gui.showAnnouncement(text,color[,is_bright])`` Adds a regular announcement with given text, color, and brightness. |
