Carry marker hints into battle start notice

This commit is contained in:
2026-06-20 15:51:17 +09:00
parent 3e40a31d62
commit 497a306366
3 changed files with 57 additions and 10 deletions

View File

@@ -577,6 +577,8 @@ func _check_battle_start_notice_sequence(failures: Array[String]) -> void:
failures.append("battle start notice should summarize objective and risk: %s" % start_notice_text)
elif not start_notice_text.contains("표식:") or not start_notice_text.contains("유인선") or not start_notice_text.contains("북숲 보급고") or not start_notice_text.contains("마을 보급"):
failures.append("battle start notice should summarize tactical event markers without making the player hunt for them: %s" % start_notice_text)
elif not start_notice_text.contains("앞줄 유인") or not start_notice_text.contains("숨은 콩") or not start_notice_text.contains("회복 보급"):
failures.append("battle start notice should carry compact tactical marker hints: %s" % start_notice_text)
elif start_notice_text.contains("(20") or start_notice_text.contains("(21") or start_notice_text.contains(",1"):
failures.append("battle start notice should not expose raw grid coordinates: %s" % start_notice_text)
if scene.objective_notice_icon_strip == null or scene.objective_notice_icon_strip.get_child_count() < 3:
@@ -585,6 +587,9 @@ func _check_battle_start_notice_sequence(failures: Array[String]) -> void:
var notice_icon_tooltips := _collect_tooltips(scene.objective_notice_icon_strip)
if not notice_icon_tooltips.contains("목표:") or not notice_icon_tooltips.contains("주의:") or not notice_icon_tooltips.contains("유인선") or not notice_icon_tooltips.contains("북숲 보급고") or not notice_icon_tooltips.contains("마을 보급"):
failures.append("battle start notice icon hover should explain objective, risk, and tactical markers: %s" % notice_icon_tooltips)
for expected_hint in ["끌어낼", "콩 보급", "치료소"]:
if not notice_icon_tooltips.contains(expected_hint):
failures.append("battle start notice icon hover should preserve marker hint `%s`: %s" % [expected_hint, notice_icon_tooltips])
if _count_descendants_by_name(scene.objective_notice_icon_strip, "CommandNoticeTileMarkerImage") < 3:
failures.append("battle start marker notice chips should layer generated map marker art behind objective/tactic/supply icons")
scene.free()