feat: complete playtest parity improvements
This commit is contained in:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user