summaryrefslogtreecommitdiff
path: root/plugins/lua
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-07 19:54:32 +0400
committerAlexander Gavrilov2012-09-07 19:54:32 +0400
commit325e294af2bbd2ba0381a476756eddbbfceb1b36 (patch)
tree7a51e57401315a79584fc24348edb9d177d15493 /plugins/lua
parente925d8f4d999817d3ccf7f3180e7abee382e03b4 (diff)
downloaddfhack-325e294af2bbd2ba0381a476756eddbbfceb1b36.tar.gz
dfhack-325e294af2bbd2ba0381a476756eddbbfceb1b36.tar.bz2
dfhack-325e294af2bbd2ba0381a476756eddbbfceb1b36.tar.xz
Start the siege engine plugin with code to highlight obstacles on screen.
Diffstat (limited to 'plugins/lua')
-rw-r--r--plugins/lua/siege-engine.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/lua/siege-engine.lua b/plugins/lua/siege-engine.lua
new file mode 100644
index 00000000..01b5d144
--- /dev/null
+++ b/plugins/lua/siege-engine.lua
@@ -0,0 +1,13 @@
+local _ENV = mkmodule('plugins.siege-engine')
+
+--[[
+
+ Native functions:
+
+ * getTargetArea(building) -> point1, point2
+ * clearTargetArea(building)
+ * setTargetArea(building, point1, point2) -> true/false
+
+--]]
+
+return _ENV \ No newline at end of file