Compact chapter overview rows

This commit is contained in:
2026-06-20 00:48:30 +09:00
parent 82dc5d1f2c
commit fc8ae7a0dd
3 changed files with 239 additions and 42 deletions

View File

@@ -2994,6 +2994,8 @@ func _check_scene_texture_loading(failures: Array[String]) -> void:
)
if not bean_tooltip.contains("\n") or not bean_tooltip.contains("보유 0점"):
failures.append("shop item tooltip should preserve full item detail")
scene.campaign_state.load_campaign(BattleSceneScript.CAMPAIGN_PATH)
scene.campaign_state.start_new("001_yellow_turbans")
scene._create_hud()
scene.campaign_state.gold = 320
scene.shop_sell_mode = false
@@ -3032,6 +3034,22 @@ func _check_scene_texture_loading(failures: Array[String]) -> void:
failures.append("formation rows should reuse officer portrait artwork")
if scene._format_formation_unit_button_text(scene.state.get_unit("cao_cao")).contains(","):
failures.append("formation unit button text should stay compact")
scene._rebuild_chapter_menu()
var chapter_status_text: String = scene.chapter_status_label.text if scene.chapter_status_label != null else ""
var chapter_visible_text := _collect_child_text(scene.chapter_list)
var chapter_tooltips := _collect_child_tooltips(scene.chapter_list)
if not chapter_status_text.contains("조조전") or not chapter_status_text.contains("진행"):
failures.append("chapter status should stay compact and campaign-aware: %s" % chapter_status_text)
if not chapter_visible_text.contains("난세의 기치") or not chapter_visible_text.contains("영천 소전") or not chapter_visible_text.contains("현 전장"):
failures.append("chapter rows should show compact titles and state badges: %s" % chapter_visible_text)
if chapter_visible_text.contains("[") or chapter_visible_text.contains("현 전장:") or chapter_visible_text.contains("앞 전장을 마치면"):
failures.append("chapter rows should keep dense state detail in hover text: %s" % chapter_visible_text)
if chapter_visible_text.contains("백마 구원전"):
failures.append("chapter rows should not dump unopened future chapter battles: %s" % chapter_visible_text)
if not chapter_tooltips.contains("현 전장: 영천 소전") or not chapter_tooltips.contains("클릭하면 이 전장의 군막으로 이동합니다.") or not chapter_tooltips.contains("앞 전장을 마치면 열립니다."):
failures.append("chapter row tooltips should retain current and locked battle details: %s" % chapter_tooltips)
if not _has_descendant_texture(scene.chapter_list):
failures.append("chapter scenario rows should use battlefield thumbnail artwork")
scene.free()
_check_scenario_background_texture_loading(failures)