Retheme ancient briefing UI and add pursuit camp
This commit is contained in:
@@ -211,13 +211,17 @@ func _check_objective_notice(failures: Array[String]) -> void:
|
||||
scene._on_objective_updated("Defeat the new vanguard.", "")
|
||||
if scene.objective_notice_panel == null or not scene.objective_notice_panel.visible:
|
||||
failures.append("objective notice panel should be visible after objective update")
|
||||
elif not scene.objective_notice_label.text.contains("Defeat the new vanguard."):
|
||||
failures.append("objective notice label missing updated objective: %s" % scene.objective_notice_label.text)
|
||||
elif not scene.objective_notice_label.text.contains("New Battle Mandate") or not scene.objective_notice_label.text.contains("Mandate: Defeat the new vanguard."):
|
||||
failures.append("objective notice label should use battle mandate wording: %s" % scene.objective_notice_label.text)
|
||||
scene._on_objective_updated("", "Supply train is lost.")
|
||||
if scene.objective_notice_panel == null or not scene.objective_notice_panel.visible:
|
||||
failures.append("objective notice panel should be visible after defeat update")
|
||||
elif not scene.objective_notice_label.text.contains("Supply train is lost."):
|
||||
failures.append("objective notice label missing updated defeat condition: %s" % scene.objective_notice_label.text)
|
||||
elif not scene.objective_notice_label.text.contains("New Battle Mandate") or not scene.objective_notice_label.text.contains("Omen: Supply train is lost."):
|
||||
failures.append("objective notice label should use omen wording: %s" % scene.objective_notice_label.text)
|
||||
if scene._format_log_entry_text("Objective updated: Defeat the new vanguard.") != "Mandate revised: Defeat the new vanguard.":
|
||||
failures.append("objective log display should use mandate wording")
|
||||
if scene._format_log_entry_text("Defeat condition updated: Supply train is lost.") != "Omen revised: Supply train is lost.":
|
||||
failures.append("defeat log display should use omen wording")
|
||||
if scene.objective_notice_timer <= 0.0:
|
||||
failures.append("objective notice timer should be active")
|
||||
scene.free()
|
||||
|
||||
Reference in New Issue
Block a user