Update documentation.

develop
expwnent 2015-02-02 05:20:43 -05:00
parent e5e0d93ef1
commit 10f4f94b57
3 changed files with 8 additions and 4 deletions

@ -3378,9 +3378,8 @@ for obscure developer-oriented scripts and scripts used by tools.
When calling such scripts, always use '/' as the separator for When calling such scripts, always use '/' as the separator for
directories, e.g. ``devel/lua-example``. directories, e.g. ``devel/lua-example``.
Scripts are re-read from disk every time they are used Scripts are re-read from disk if they have changed since the last time they were read.
(this may be changed later to check the file change time); however Global variable values persist in memory between calls, unless the file has changed.
the global variable values persist in memory between calls.
Every script gets its own separate environment for global Every script gets its own separate environment for global
variables. variables.

@ -1,5 +1,6 @@
DFHack Future DFHack Future
Internals Internals
Lua scripts will only
Fixes Fixes
New Plugins New Plugins
New Scripts New Scripts

@ -2657,9 +2657,13 @@ These scripts are mostly useful for raw modders and scripters. They all have sta
This triggers random dfhack commands with specified probabilities. This triggers random dfhack commands with specified probabilities.
* reaction-product-trigger
This triggers dfhack commands when reaction products are produced, once per product.
* reaction-trigger * reaction-trigger
Triggers dfhack commands when custom reactions complete. Triggers dfhack commands when custom reactions complete, regardless of whether it produced anything, once per completion.
* reaction-trigger-transition * reaction-trigger-transition