summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html9
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>