summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-04-14 14:12:59 +0400
committerAlexander Gavrilov2012-04-14 14:12:59 +0400
commit7a34a89f53071a8368ec5bd064accb10354b6d56 (patch)
tree1f5b9c622c9333d092d4ae7420296c35df3f3564 /Lua API.html
parent2f54a48e6391720c62a62cad9839f3d36a6e7385 (diff)
downloaddfhack-7a34a89f53071a8368ec5bd064accb10354b6d56.tar.gz
dfhack-7a34a89f53071a8368ec5bd064accb10354b6d56.tar.bz2
dfhack-7a34a89f53071a8368ec5bd064accb10354b6d56.tar.xz
Add burrow subcommands to modify burrow unit and tile sets.
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lua API.html b/Lua API.html
index 32a3b7f0..66385840 100644
--- a/Lua API.html
+++ b/Lua API.html
@@ -924,6 +924,9 @@ a lua list containing them.</p>
<li><p class="first"><tt class="docutils literal">dfhack.units.isSane(unit)</tt></p>
<p>The unit is capable of rational action, i.e. not dead, insane or zombie.</p>
</li>
+<li><p class="first"><tt class="docutils literal">dfhack.units.clearBurrowMembers(burrow)</tt></p>
+<p>Removes all units from the burrow.</p>
+</li>
<li><p class="first"><tt class="docutils literal">dfhack.units.isInBurrow(unit,burrow)</tt></p>
<p>Checks if the unit is in the burrow.</p>
</li>
@@ -989,6 +992,9 @@ Returns <em>false</em> in case of error.</p>
<li><p class="first"><tt class="docutils literal">dfhack.maps.listBurrowBlocks(burrow)</tt></p>
<p>Returns a table of map block pointers.</p>
</li>
+<li><p class="first"><tt class="docutils literal">dfhack.maps.clearBurrowTiles(burrow)</tt></p>
+<p>Removes all tiles from the burrow.</p>
+</li>
<li><p class="first"><tt class="docutils literal">dfhack.maps.isBurrowTile(burrow,tile_coord)</tt></p>
<p>Checks if the tile is in burrow.</p>
</li>