summaryrefslogtreecommitdiff
path: root/maps/lvl1
diff options
context:
space:
mode:
Diffstat (limited to 'maps/lvl1')
-rw-r--r--maps/lvl1/dng.map10
-rw-r--r--maps/lvl1/proc.lua7
2 files changed, 17 insertions, 0 deletions
diff --git a/maps/lvl1/dng.map b/maps/lvl1/dng.map
new file mode 100644
index 0000000..fb9ceb1
--- /dev/null
+++ b/maps/lvl1/dng.map
@@ -0,0 +1,10 @@
+w w w w w w w w w w
+w 0 0 0 0 0 0 0 0 w
+w 0 w w 0 w w 0 0 w
+w p 0 0 0 e 0 w 0 w
+w 0 w w w 0 w w 0 w
+w 0 w w w 0 w w w w
+w 0 w t w 0 0 0 0 w
+w 0 w 0 w w w w 0 w
+w 0 0 0 w 0 0 0 0 w
+w w w w w w w w w w
diff --git a/maps/lvl1/proc.lua b/maps/lvl1/proc.lua
new file mode 100644
index 0000000..29d4e46
--- /dev/null
+++ b/maps/lvl1/proc.lua
@@ -0,0 +1,7 @@
+package.path = "./?.lua;" .. package.path
+require "dnglib.constants";
+local default = require "dnglib.defaults"
+
+function onKeyPress(key)
+ default.onKeyPress(key)
+end