2015-09-22 07:30:22 -06:00
|
|
|
##############
|
|
|
|
DFHack Scripts
|
|
|
|
##############
|
|
|
|
|
|
|
|
Lua or ruby scripts placed in the ``hack/scripts/`` directory are considered for
|
|
|
|
execution as if they were native DFHack commands. They are listed at the end
|
2015-09-24 22:15:05 -06:00
|
|
|
of the ``ls`` command output.
|
2015-09-22 07:30:22 -06:00
|
|
|
|
|
|
|
Note: scripts in subdirectories of hack/scripts/ can still be called, but will
|
2015-09-24 22:15:05 -06:00
|
|
|
only be listed by ls if called as ``ls -a``. This is intended as a way to hide
|
|
|
|
scripts that are obscure, developer-oriented, or should be used as keybindings
|
2015-10-24 00:41:21 -06:00
|
|
|
or from the init file. See the page for each type for details.
|
2015-09-22 07:30:22 -06:00
|
|
|
|
|
|
|
``kill-lua`` stops any currently-running Lua scripts. By default, scripts can
|
|
|
|
only be interrupted every 256 instructions. Use ``kill-lua force`` to interrupt
|
|
|
|
the next instruction.
|
|
|
|
|
2015-10-23 07:33:35 -06:00
|
|
|
The following pages document all the standard DFHack scripts.
|
2015-09-22 07:30:22 -06:00
|
|
|
|
2015-10-23 05:25:04 -06:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2015-10-24 00:00:54 -06:00
|
|
|
/docs/_auto/base
|
|
|
|
/docs/_auto/devel
|
|
|
|
/docs/_auto/fix
|
|
|
|
/docs/_auto/gui
|
|
|
|
/docs/_auto/modtools
|
2015-09-26 00:50:02 -06:00
|
|
|
|
2015-09-26 18:04:42 -06:00
|
|
|
|
2015-10-23 05:25:04 -06:00
|
|
|
.. warning::
|
2015-09-26 00:50:02 -06:00
|
|
|
|
2015-10-23 05:25:04 -06:00
|
|
|
The following documentation is pulled in from external ``README`` files.
|
|
|
|
|
|
|
|
- it may not match the DFHack docs style
|
|
|
|
- some scripts have incorrect names, or are documented but unavailable
|
|
|
|
- some scripts have entries here and are also included above
|
2015-09-26 00:50:02 -06:00
|
|
|
|
2015-09-24 04:21:05 -06:00
|
|
|
.. toctree::
|
|
|
|
:glob:
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2015-10-24 00:00:54 -06:00
|
|
|
/scripts/3rdparty/*/README
|
2015-09-24 04:21:05 -06:00
|
|
|
|