From 8e101f8bfd995321ac08a16fea9a171b549a0ae4 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sat, 17 Dec 2022 11:04:20 -0500 Subject: 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 --- dnglib/constants.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dnglib/constants.lua') 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 -- cgit v1.2.3-54-g00ecf