From 57086ac56eb489abd0c7759aed084020edc71148 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 5 Sep 2012 19:45:45 +0400 Subject: Add stock MessageBox and InputBox dialog screens for lua scripts. --- Lua API.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Lua API.html') 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:
dfhack.VERSION
+DFHack version string constant.
+dfhack.curry(func,args...), or curry(func,args...)
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.
dfhack.getHackPath()
Returns the dfhack directory path, i.e. ".../df/hack/".
dfhack.getTickCount()
+Returns the tick count in ms, exactly as DF ui uses.
+dfhack.isWorldLoaded()
Checks if the world is loaded.