feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ func _ready() -> void:
func present(mode: String, slot_metas: Array[Dictionary], message: String = "") -> void:
_mode = mode
visible = true
title_label.text = "SAVE RUN" if mode == "save" else "LOAD RUN"
title_label.text = "SAUVEGARDER LA PARTIE" if mode == "save" else "CHARGER UNE PARTIE"
status_label.text = message
for index in range(slots.get_child_count()):
var button := slots.get_child(index) as Button
@@ -39,5 +39,5 @@ func _request_slot(slot: int) -> void:
func _label_for(meta: Dictionary) -> String:
var slot := int(meta.get("slot", 0))
if not bool(meta.get("exists", false)):
return "SLOT %d — EMPTY" % slot
return "SLOT %d — %s — FLOOR %d" % [slot, String(meta.get("character_name", "?")), int(meta.get("floor", 0))]
return "EMPLACEMENT %d — VIDE" % slot
return "EMPLACEMENT %d — %s — ÉTAGE %d" % [slot, String(meta.get("character_name", "?")), int(meta.get("floor", 0))]