feat: add 30x20 demo map and chest interaction

This commit is contained in:
goose
2026-10-01 22:28:23 -04:00
parent b5eaf0ef4f
commit 67efd9dc67
27 changed files with 307 additions and 90 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ func is_inside(cell: Vector2i) -> bool:
func is_walkable(cell: Vector2i) -> bool:
var kind := get_cell(cell)
return kind == CellKind.FLOOR or kind == CellKind.CHEST or kind == CellKind.STAIRS
return kind == CellKind.FLOOR or kind == CellKind.STAIRS
func is_opaque(cell: Vector2i) -> bool:
var kind := get_cell(cell)
return kind == CellKind.WALL or kind == CellKind.CLOSED_DOOR
return kind == CellKind.WALL or kind == CellKind.CLOSED_DOOR or kind == CellKind.CHEST