Add turn phase command notices

This commit is contained in:
2026-06-20 01:09:11 +09:00
parent 08325891f3
commit 53dd9aa9b0
3 changed files with 30 additions and 4 deletions

View File

@@ -3315,6 +3315,14 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void:
failures.append("auto end turn confirm button should use command wording")
if scene.auto_end_turn_no_button == null or scene.auto_end_turn_no_button.text != "머무름":
failures.append("auto end turn decline button should use command wording")
scene._on_log_added("적군 차례가 열렸습니다.")
if scene.objective_notice_panel == null or not scene.objective_notice_panel.visible:
failures.append("enemy turn log should show the command notice panel")
elif scene.objective_notice_label == null or not scene.objective_notice_label.text.contains("적군 군령") or not scene.objective_notice_label.text.contains("적군 차례"):
failures.append("enemy turn notice should use compact command wording: %s" % ("" if scene.objective_notice_label == null else scene.objective_notice_label.text))
scene._on_log_added("아군 차례가 열렸습니다.")
if scene.objective_notice_label == null or not scene.objective_notice_label.text.contains("아군 군령") or not scene.objective_notice_label.text.contains("아군 차례"):
failures.append("player turn notice should use compact command wording: %s" % ("" if scene.objective_notice_label == null else scene.objective_notice_label.text))
var localized_lines := scene._normalized_dialogue_lines([{"speaker": "Cao Cao", "display_speaker": "조조", "text": "군령을 전하라."}])
if localized_lines.is_empty() or str((localized_lines[0] as Dictionary).get("speaker", "")) != "조조":
failures.append("dialogue normalization should preserve display_speaker for localized names")