|
|
@ -4287,7 +4287,7 @@ blueprint files:
|
|
|
|
The names of the functions are also available as the keys of the
|
|
|
|
The names of the functions are also available as the keys of the
|
|
|
|
``valid_phases`` table.
|
|
|
|
``valid_phases`` table.
|
|
|
|
|
|
|
|
|
|
|
|
.. _building-hacks:
|
|
|
|
.. _building-hacks-api:
|
|
|
|
|
|
|
|
|
|
|
|
building-hacks
|
|
|
|
building-hacks
|
|
|
|
==============
|
|
|
|
==============
|
|
|
@ -4426,7 +4426,7 @@ Native functions:
|
|
|
|
|
|
|
|
|
|
|
|
The lua module file also re-exports functions from ``dfhack.burrows``.
|
|
|
|
The lua module file also re-exports functions from ``dfhack.burrows``.
|
|
|
|
|
|
|
|
|
|
|
|
.. _cxxrandom:
|
|
|
|
.. _cxxrandom-api:
|
|
|
|
|
|
|
|
|
|
|
|
cxxrandom
|
|
|
|
cxxrandom
|
|
|
|
=========
|
|
|
|
=========
|
|
|
@ -4596,7 +4596,7 @@ The dig-now plugin exposes the following functions to Lua:
|
|
|
|
command ``dig-now <pos> <pos>``. See the `dig-now` documentation for details
|
|
|
|
command ``dig-now <pos> <pos>``. See the `dig-now` documentation for details
|
|
|
|
on default settings.
|
|
|
|
on default settings.
|
|
|
|
|
|
|
|
|
|
|
|
.. _eventful:
|
|
|
|
.. _eventful-api:
|
|
|
|
|
|
|
|
|
|
|
|
eventful
|
|
|
|
eventful
|
|
|
|
========
|
|
|
|
========
|
|
|
@ -4764,7 +4764,7 @@ Integrated tannery::
|
|
|
|
b=require "plugins.eventful"
|
|
|
|
b=require "plugins.eventful"
|
|
|
|
b.addReactionToShop("TAN_A_HIDE","LEATHERWORKS")
|
|
|
|
b.addReactionToShop("TAN_A_HIDE","LEATHERWORKS")
|
|
|
|
|
|
|
|
|
|
|
|
.. _luasocket:
|
|
|
|
.. _luasocket-api:
|
|
|
|
|
|
|
|
|
|
|
|
luasocket
|
|
|
|
luasocket
|
|
|
|
=========
|
|
|
|
=========
|
|
|
@ -4835,7 +4835,7 @@ A class with all the tcp functionality.
|
|
|
|
Tries connecting to that address and port. Returns ``client`` object.
|
|
|
|
Tries connecting to that address and port. Returns ``client`` object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _map-render:
|
|
|
|
.. _map-render-api:
|
|
|
|
|
|
|
|
|
|
|
|
map-render
|
|
|
|
map-render
|
|
|
|
==========
|
|
|
|
==========
|
|
|
@ -4851,7 +4851,7 @@ Functions
|
|
|
|
|
|
|
|
|
|
|
|
returns a table with w*h*4 entries of rendered tiles. The format is same as ``df.global.gps.screen`` (tile,foreground,bright,background).
|
|
|
|
returns a table with w*h*4 entries of rendered tiles. The format is same as ``df.global.gps.screen`` (tile,foreground,bright,background).
|
|
|
|
|
|
|
|
|
|
|
|
.. _pathable:
|
|
|
|
.. _pathable-api:
|
|
|
|
|
|
|
|
|
|
|
|
pathable
|
|
|
|
pathable
|
|
|
|
========
|
|
|
|
========
|
|
|
@ -4885,7 +4885,7 @@ sort
|
|
|
|
The `sort <sort>` plugin does not export any native functions as of now.
|
|
|
|
The `sort <sort>` plugin does not export any native functions as of now.
|
|
|
|
Instead, it calls Lua code to perform the actual ordering of list items.
|
|
|
|
Instead, it calls Lua code to perform the actual ordering of list items.
|
|
|
|
|
|
|
|
|
|
|
|
.. _xlsxreader:
|
|
|
|
.. _xlsxreader-api:
|
|
|
|
|
|
|
|
|
|
|
|
xlsxreader
|
|
|
|
xlsxreader
|
|
|
|
==========
|
|
|
|
==========
|
|
|
|