Clarify recovery terrain timing

This commit is contained in:
2026-06-20 10:44:01 +09:00
parent 416feaf2ae
commit 6e4f663deb
2 changed files with 27 additions and 10 deletions

View File

@@ -3434,6 +3434,20 @@ func _check_hud_focus_text(failures: Array[String]) -> void:
var forest_text := scene._unit_current_terrain_text(xiahou_dun)
if not forest_text.contains("") or not forest_text.contains("행군 3"):
failures.append("Cavalry movement should use mounted move_type cost on forest: %s" % forest_text)
var village_cell_detail := scene._format_cell_info_detail_text(Vector2i(6, 5))
if village_cell_detail.contains("7,6"):
failures.append("cell terrain detail should avoid raw coordinates: %s" % village_cell_detail)
if not village_cell_detail.contains("회복 +6/차례") or not village_cell_detail.contains("차례 시작"):
failures.append("cell terrain detail should explain recovery timing: %s" % village_cell_detail)
var village_summary := scene._format_cell_info_summary_text(Vector2i(6, 5))
if not village_summary.contains("회복 +6/차례"):
failures.append("cell terrain summary should show per-turn recovery: %s" % village_summary)
var village_badge_lines := scene._join_strings(scene._hover_info_badge_lines(Vector2i(6, 5)), "\n")
if not village_badge_lines.contains("회복 +6/차례"):
failures.append("hover badge should show per-turn recovery: %s" % village_badge_lines)
var recovery_overview := scene._format_briefing_recovery_terrain_text()
if not recovery_overview.contains("차례 시작"):
failures.append("briefing recovery overview should mention recovery timing: %s" % recovery_overview)
var archer: Dictionary = scene.state.get_unit("yellow_turban_3")
var archer_text := scene._format_unit_focus_text(archer, "Hover")
if not archer_text.contains("원거리 견제"):
@@ -4889,8 +4903,12 @@ func _check_terrain_and_unit_presentation(failures: Array[String]) -> void:
failures.append("castle objective cell info should expose capture label and healing: %s" % scene.cell_info_label.text)
if scene.cell_info_label != null and (scene.cell_info_label.text.contains("") or scene.cell_info_label.text.contains("방+")):
failures.append("visible cell info should leave terrain numbers to the tooltip: %s" % scene.cell_info_label.text)
if scene.cell_info_label != null and not scene.cell_info_label.tooltip_text.contains("21,2"):
failures.append("castle objective cell info should keep coordinates in the hover tooltip: %s" % scene.cell_info_label.tooltip_text)
if scene.cell_info_label != null and not scene.cell_info_label.tooltip_text.contains("목표: 성채 장악"):
failures.append("castle objective cell info tooltip should explain the capture objective: %s" % scene.cell_info_label.tooltip_text)
if scene.cell_info_label != null and (not scene.cell_info_label.tooltip_text.contains("회복 +8/차례") or not scene.cell_info_label.tooltip_text.contains("차례 시작")):
failures.append("castle objective cell info tooltip should explain per-turn recovery timing: %s" % scene.cell_info_label.tooltip_text)
if scene.cell_info_label != null and scene.cell_info_label.tooltip_text.contains("21,2"):
failures.append("castle objective cell info tooltip should avoid raw coordinates: %s" % scene.cell_info_label.tooltip_text)
if scene.cell_info_panel == null or not scene.cell_info_panel.visible:
failures.append("cell info panel should be visible for a hovered battlefield cell")
if scene.cell_info_icon == null or str(scene.cell_info_icon.get_meta("icon_kind", "")) != "objective":