summaryrefslogtreecommitdiff
path: root/dnglib/constants.lua
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-12-17 11:04:20 -0500
committerSteph Enders <smenders@gmail.com>2022-12-17 11:04:20 -0500
commit8e101f8bfd995321ac08a16fea9a171b549a0ae4 (patch)
tree61c25c357c24381e653f2dd104463628fe2875e7 /dnglib/constants.lua
parentf710faa0cc8862a8367dbbf89bf8c3cd44790b5d (diff)
Support doors with keys
Add initial support for doors and keys via pre-defined mappings: k || d ------ 1 -> a 2 -> b 3 -> c 4 -> d Any key can open any door of its mapping, but is spent once used. May require additional testing
Diffstat (limited to 'dnglib/constants.lua')
-rw-r--r--dnglib/constants.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnglib/constants.lua b/dnglib/constants.lua
index 098f308..2e1fa52 100644
--- a/dnglib/constants.lua
+++ b/dnglib/constants.lua
@@ -77,7 +77,7 @@ KEY_UP = 73
KEY_DOWN = 74
-- map values
-MAP_WALL = 1
+MAP_WALL = 9
MAP_SPACE = 0
MAP_VISITED = -1