diff options
| author | Alexander Gavrilov | 2012-05-12 20:12:09 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-12 20:12:09 +0400 |
| commit | 60bb486abac5d79f0fc9053739b6ec52dfa8519f (patch) | |
| tree | b3176747ed5528e8af3362e4024f410d953cf245 /Lua API.html | |
| parent | af3e38909301439748713c0d6acd35c9942f4f42 (diff) | |
| download | dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.gz dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.bz2 dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.xz | |
Add api for enabling liquid and temperature updates for blocks.
Now updates also have to be enabled for the z level to work.
Diffstat (limited to 'Lua API.html')
| -rw-r--r-- | Lua API.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lua API.html b/Lua API.html index 7aa8e651..b6242712 100644 --- a/Lua API.html +++ b/Lua API.html @@ -912,6 +912,12 @@ The is_bright boolean actually seems to invert the brightness.</p> <li><p class="first"><tt class="docutils literal">dfhack.job.getWorker(job)</tt></p> <p>Returns the unit performing the job.</p> </li> +<li><p class="first"><tt class="docutils literal">dfhack.job.checkBuildingsNow()</tt></p> +<p>Instructs the game to check buildings for jobs next frame and assign workers.</p> +</li> +<li><p class="first"><tt class="docutils literal">dfhack.job.checkDesignationsNow()</tt></p> +<p>Instructs the game to check designations for jobs next frame and assign workers.</p> +</li> <li><p class="first"><tt class="docutils literal">dfhack.job.is_equal(job1,job2)</tt></p> <p>Compares important fields in the job and nested item structures.</p> </li> @@ -1023,6 +1029,9 @@ Returns <em>false</em> in case of error.</p> <li><p class="first"><tt class="docutils literal">dfhack.maps.getRegionBiome(region_coord2d)</tt></p> <p>Returns the biome info struct for the given global map region.</p> </li> +<li><p class="first"><tt class="docutils literal"><span class="pre">dfhack.maps.enableBlockUpdates(block[,flow,temperature])</span></tt></p> +<p>Enables updates for liquid flow or temperature, unless already active.</p> +</li> <li><p class="first"><tt class="docutils literal">dfhack.maps.getGlobalInitFeature(index)</tt></p> <p>Returns the global feature object with the given index.</p> </li> |
