Show idle officer selection plate

This commit is contained in:
2026-06-20 20:33:42 +09:00
parent 9b92471921
commit 41cce2baa1
2 changed files with 23 additions and 14 deletions

View File

@@ -3558,6 +3558,14 @@ func _check_hud_focus_text(failures: Array[String]) -> void:
failures.append("empty battle HUD should keep instructions out of visible text: %s" % scene.selected_label.text)
if scene.selected_label != null and not scene.selected_label.tooltip_text.contains("군세"):
failures.append("empty battle HUD tooltip should point players to the unit list: %s" % scene.selected_label.tooltip_text)
if scene.hud_unit_portrait_panel == null or not scene.hud_unit_portrait_panel.visible:
failures.append("empty battle HUD should still show a visual officer-selection plate")
if scene.hud_unit_portrait_label == null or scene.hud_unit_portrait_label.text != "장수" or not scene.hud_unit_portrait_label.visible:
failures.append("empty battle HUD portrait should use a readable officer placeholder: %s" % ("" if scene.hud_unit_portrait_label == null else scene.hud_unit_portrait_label.text))
if scene.hud_unit_team_seal_label == null or scene.hud_unit_team_seal_label.text != "":
failures.append("empty battle HUD portrait should mark the command roster plate: %s" % ("" if scene.hud_unit_team_seal_label == null else scene.hud_unit_team_seal_label.text))
if scene.hud_unit_portrait_class_icon == null or scene.hud_unit_portrait_class_icon.texture == null:
failures.append("empty battle HUD portrait should use a generated unit-list icon instead of an empty black plate")
if scene.inventory_label == null or scene.inventory_label.text != "군수 대기":
failures.append("empty battle inventory line should not show noisy stock text: %s" % ("" if scene.inventory_label == null else scene.inventory_label.text))
if scene.inventory_label != null and (not scene.inventory_label.tooltip_text.contains("장수 선택") or not scene.inventory_label.tooltip_text.contains("도구")):