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
+3
View File
@@ -2,6 +2,7 @@ class_name GameHud
extends CanvasLayer
const DOOR_PROMPT := "Espace — Ouvrir la porte"
const CHEST_PROMPT := "Espace — Ouvrir le coffre"
const STAIRS_PROMPT := "Espace — Descendre l’escalier"
const EXIT_REACHED_PROMPT := "Sortie atteinte — prochain étage bientôt disponible"
@@ -32,6 +33,8 @@ func get_context_prompt() -> String:
if _state == null:
return ""
match _state.get_context_target():
&"chest":
return CHEST_PROMPT
&"closed_door":
return DOOR_PROMPT
&"stairs":