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
directories, e.g. ``devel/lua-example``.
Scripts are re-read from disk every time they are used
(this may be changed later to check the file change time); however
the global variable values persist in memory between calls.
Scripts are re-read from disk if they have changed since the last time they were read.
Global variable values persist in memory between calls, unless the file has changed.
Every script gets its own separate environment for global
variables.

@ -1,5 +1,6 @@
DFHack Future
Internals
Lua scripts will only
Fixes
New Plugins
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.
* reaction-product-trigger
This triggers dfhack commands when reaction products are produced, once per product.
* 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