diff options
| author | Alexander Gavrilov | 2012-09-06 22:45:19 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-06 22:45:19 +0400 |
| commit | c971a819def1c5cc29dc926f62456c336a1dfa17 (patch) | |
| tree | a03b4fd14884603b15a5e96609408603c6566b12 /Lua API.html | |
| parent | d0e630d4c35717bad682894e33e7dd57f86ac126 (diff) | |
| download | dfhack-c971a819def1c5cc29dc926f62456c336a1dfa17.tar.gz dfhack-c971a819def1c5cc29dc926f62456c336a1dfa17.tar.bz2 dfhack-c971a819def1c5cc29dc926f62456c336a1dfa17.tar.xz | |
Experimental creation of map blocks in gui/liquids script.
Diffstat (limited to 'Lua API.html')
| -rw-r--r-- | Lua API.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lua API.html b/Lua API.html index f05ee551..546d2740 100644 --- a/Lua API.html +++ b/Lua API.html @@ -1207,6 +1207,9 @@ Returns <em>false</em> in case of error.</p> <li><p class="first"><tt class="docutils literal">dfhack.maps.getTileBlock(coords)</tt>, or <tt class="docutils literal">getTileBlock(x,y,z)</tt></p> <p>Returns a map block object for given df::coord or x,y,z in local tile coordinates.</p> </li> +<li><p class="first"><tt class="docutils literal">dfhack.maps.ensureTileBlock(coords)</tt>, or <tt class="docutils literal">ensureTileBlock(x,y,z)</tt></p> +<p>Like <tt class="docutils literal">getTileBlock</tt>, but if the block is not allocated, try creating it.</p> +</li> <li><p class="first"><tt class="docutils literal">dfhack.maps.getRegionBiome(region_coord2d)</tt>, or <tt class="docutils literal">getRegionBiome(x,y)</tt></p> <p>Returns the biome info struct for the given global map region.</p> </li> |
