Antique battle command UI
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user