diff options
Diffstat (limited to 'Lua API.html')
| -rw-r--r-- | Lua API.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lua API.html b/Lua API.html index f6f2d42b..f05ee551 100644 --- a/Lua API.html +++ b/Lua API.html @@ -846,6 +846,9 @@ following properties:</p> <div class="section" id="miscellaneous"> <h3><a class="toc-backref" href="#id14">Miscellaneous</a></h3> <ul> +<li><p class="first"><tt class="docutils literal">dfhack.VERSION</tt></p> +<p>DFHack version string constant.</p> +</li> <li><p class="first"><tt class="docutils literal"><span class="pre">dfhack.curry(func,args...)</span></tt>, or <tt class="docutils literal"><span class="pre">curry(func,args...)</span></tt></p> <p>Returns a closure that invokes the function with args combined both from the curry call and the closure call itself. I.e. @@ -985,6 +988,9 @@ can be omitted.</p> <li><p class="first"><tt class="docutils literal">dfhack.getHackPath()</tt></p> <p>Returns the dfhack directory path, i.e. <tt class="docutils literal"><span class="pre">".../df/hack/"</span></tt>.</p> </li> +<li><p class="first"><tt class="docutils literal">dfhack.getTickCount()</tt></p> +<p>Returns the tick count in ms, exactly as DF ui uses.</p> +</li> <li><p class="first"><tt class="docutils literal">dfhack.isWorldLoaded()</tt></p> <p>Checks if the world is loaded.</p> </li> |
