Document and changelog entry for printall_recurse

develop
Pauli 2018-06-30 22:33:32 +03:00
parent ba1d3fcb6a
commit 03f8a04a43
2 changed files with 7 additions and 0 deletions

@ -2404,6 +2404,10 @@ environment by the mandatory init file dfhack.lua:
If the argument is a lua table or DF object reference, prints all fields.
* ``printall_recurse(obj)``
If the argument is a lua table or DF object reference, prints all fields recursively.
* ``copyall(obj)``
Returns a shallow copy of the table or reference as a lua table.

@ -44,6 +44,9 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
- New functions:
- ``Units::isDiplomat(unit)``
## Lua
- Add ``printall_recurse`` to print tables and DF references recursively. It can be also used with ``^`` from lua interpreter.
## Internals
- jsoncpp: updated to version 1.8.4 and switched to using a git submodule