Commit 7e6f7f9
committed
library/lua/dfhack.lua interactive interpreter banner: list shortcuts
When the `lua` interactive interpreter is started, the help banner now
lists the shortcuts (that is, variable names with special handling)
already implemented in `library/lua/utils.lua` `df_shortcut_var()`.
These keywords allow the interpreter to use the currently-selected
object in the DF UI. They are currently undocumented, as far as I
can tell. (The `lua` interpreter documentation does contain two hints
in the Examples.)1 parent 0f3726c commit 7e6f7f9
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| 858 | + | |
| 859 | + | |
858 | 860 | | |
859 | 861 | | |
860 | 862 | | |
| |||
0 commit comments