add ellipsis above the interaction prompts when there are more than 3 interactables in reach

This commit is contained in:
2025-08-13 13:08:44 -04:00
parent fcc2ccf55d
commit 8345ae9ffe
31 changed files with 378 additions and 327 deletions

View File

@@ -238,6 +238,10 @@ func populate_prompts():
if current_interactables.size() > 2:
$hud/hud_bottom/promptbox/prompt_tertiary.visible = true
$hud/hud_bottom/promptbox/prompt_tertiary.text = current_interactables[2].prompt
if current_interactables.size() > 3:
$hud/hud_bottom/promptbox/prompt_overflow.visible = true
else:
$hud/hud_bottom/promptbox/prompt_overflow.visible = false
else:
$hud/hud_bottom/promptbox/prompt_tertiary.visible = false
else: