Antique battle command UI

This commit is contained in:
2026-06-19 08:06:32 +09:00
parent f883dc4366
commit 2c57438c21
4 changed files with 92 additions and 77 deletions

View File

@@ -23,13 +23,13 @@ func _init() -> void:
failures,
"001 turn pressure risk",
_defeat_text("res://data/scenarios/001_yellow_turbans.json"),
"남은 턴 7"
"잔여 군령 7"
)
_check_contains(
failures,
"002 gated victory progress",
_progress_text("res://data/scenarios/002_sishui_gate.json", false),
"제2에 전공 갱신"
"제2군령에 전공 갱신"
)
_check_contains(
failures,
@@ -41,7 +41,7 @@ func _init() -> void:
failures,
"007 destination progress",
_progress_text("res://data/scenarios/007_xian_emperor_escort.json", false),
"목표 지점 (14, 5): 미도달"
"전장 표식 (14, 5) · 미도달"
)
_check_contains(
failures,
@@ -53,7 +53,7 @@ func _init() -> void:
failures,
"045 gated destination progress",
_progress_text("res://data/scenarios/045_fancheng_relief.json", false),
"목표 지점 (10, 5): 미도달"
"전장 표식 (10, 5) · 미도달"
)
_check_event_gated_objective_markers(failures)
_check_event_gated_multi_cell_objective_markers(failures)
@@ -111,8 +111,8 @@ func _check_objective_update(failures: Array[String]) -> void:
failures.append("objective update signal victory mismatch: %s" % str(signal_value.get("victory", "")))
if str(signal_value.get("defeat", "")) != "Cao Cao is defeated.":
failures.append("objective update signal defeat mismatch: %s" % str(signal_value.get("defeat", "")))
_check_log_contains(failures, logs, "Objective updated: Defeat the new vanguard.")
_check_log_contains(failures, logs, "Defeat condition updated: Cao Cao is defeated.")
_check_log_contains(failures, logs, "軍令 개정: Defeat the new vanguard.")
_check_log_contains(failures, logs, "敗兆 개정: Cao Cao is defeated.")
signal_values.clear()
logs.clear()
@@ -125,7 +125,7 @@ func _check_objective_update(failures: Array[String]) -> void:
failures.append("defeat-only objective signal should not include victory: %s" % str(defeat_signal_value.get("victory", "")))
if str(defeat_signal_value.get("defeat", "")) != "Supply train is lost.":
failures.append("defeat-only objective signal mismatch: %s" % str(defeat_signal_value.get("defeat", "")))
_check_log_contains(failures, logs, "Defeat condition updated: Supply train is lost.")
_check_log_contains(failures, logs, "敗兆 개정: Supply train is lost.")
func _check_event_gated_objective_markers(failures: Array[String]) -> void:
@@ -222,6 +222,10 @@ func _check_objective_notice(failures: Array[String]) -> void:
failures.append("objective log display should use edict wording")
if scene._format_log_entry_text("Defeat condition updated: Supply train is lost.") != "敗兆 개정: Supply train is lost.":
failures.append("defeat log display should use omen wording")
if scene._format_log_entry_text("軍令 개정: Defeat the new vanguard.") != "軍令 개정: Defeat the new vanguard.":
failures.append("localized objective log should pass through")
if scene._format_log_entry_text("敗兆 개정: Supply train is lost.") != "敗兆 개정: Supply train is lost.":
failures.append("localized defeat log should pass through")
if scene.objective_notice_timer <= 0.0:
failures.append("objective notice timer should be active")
scene.free()

View File

@@ -2761,12 +2761,12 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void:
failures.append("post-move command title should use order wording")
if scene.post_move_cancel_button == null or scene.post_move_cancel_button.text != "발걸음 거두기":
failures.append("post-move cancel button should use recall step wording")
if scene.post_move_picker_back_button == null or scene.post_move_picker_back_button.text != "돌아가":
failures.append("post-move picker back button should use return wording")
if scene.post_move_picker_back_button == null or scene.post_move_picker_back_button.text != "죽간 거두":
failures.append("post-move picker back button should use bamboo-slip wording")
if scene.targeting_hint_title_label == null or scene.targeting_hint_title_label.text != "적장 지목":
failures.append("targeting hint title should use mark foe wording")
if scene.targeting_hint_back_button == null or scene.targeting_hint_back_button.text != "돌아가":
failures.append("targeting hint back button should use return wording")
if scene.targeting_hint_back_button == null or scene.targeting_hint_back_button.text != "죽간 거두":
failures.append("targeting hint back button should use bamboo-slip wording")
scene._update_briefing_camp_overview(scene.state.get_briefing(), false)
if scene.briefing_camp_overview_fallback_label == null or scene.briefing_camp_overview_fallback_label.text != "비단 전장도":
failures.append("briefing map fallback should read as an old campaign map")