document dig-now lua api

develop
myk002 2021-06-27 21:34:49 -07:00
parent 48f90da72e
commit 7f0c3cc7e4
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 10 additions and 0 deletions

@ -4043,6 +4043,16 @@ Lua plugin classes
- ``shuffle()``: shuffles the sequence of numbers - ``shuffle()``: shuffles the sequence of numbers
- ``next()``: returns next number in the sequence - ``next()``: returns next number in the sequence
dig-now
=======
The dig-now plugin exposes the following functions to Lua:
* ``dig_now_tile(pos)`` or ``dig_now_tile(x,y,z)``: Runs dig-now for the
specified tile coordinate. Default options apply, as if you were running the
command ``dig-now <pos> <pos>``. See the `dig-now` documentation for details
on default settings.
.. _eventful: .. _eventful:
eventful eventful