From 9b92471921766354ad52f8fb806fb9a439b86e41 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sat, 20 Jun 2026 20:27:19 +0900 Subject: [PATCH] Brighten mission title text --- scripts/scenes/battle_scene.gd | 6 ++++-- tools/smoke_visual_assets.gd | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/scenes/battle_scene.gd b/scripts/scenes/battle_scene.gd index 8cf0840..ece4fd0 100644 --- a/scripts/scenes/battle_scene.gd +++ b/scripts/scenes/battle_scene.gd @@ -3799,14 +3799,16 @@ func _create_hud() -> void: var mission_title_row := HBoxContainer.new() mission_title_row.add_theme_constant_override("separation", 8) + mission_title_row.tooltip_text = "현재 전투의 승리 조건과 패배 조건입니다. 오른쪽 인장 아이콘으로 펼칩니다." side_column.add_child(mission_title_row) mission_title_label = Label.new() mission_title_label.text = "전투 목표" + mission_title_label.tooltip_text = mission_title_row.tooltip_text mission_title_label.custom_minimum_size = Vector2(296, 28) mission_title_label.size_flags_horizontal = Control.SIZE_EXPAND_FILL - mission_title_label.add_theme_font_size_override("font_size", 14) - _apply_label_style(mission_title_label, UI_OLD_BRONZE) + mission_title_label.add_theme_font_size_override("font_size", 15) + _apply_label_style(mission_title_label, UI_PARCHMENT_TEXT) mission_title_row.add_child(mission_title_label) mission_toggle_button = Button.new() diff --git a/tools/smoke_visual_assets.gd b/tools/smoke_visual_assets.gd index a1485d7..de40c8c 100644 --- a/tools/smoke_visual_assets.gd +++ b/tools/smoke_visual_assets.gd @@ -3962,6 +3962,12 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void: failures.append("dialogue continue button should use the project serif font override") if scene.mission_title_label == null or scene.mission_title_label.text != "전투 목표": failures.append("mission panel title should use clear Korean wording") + elif scene.mission_title_label.get_theme_color("font_color").get_luminance() < 0.68: + failures.append("mission panel title should stay bright enough to read on the dark side panel: %s" % str(scene.mission_title_label.get_theme_color("font_color"))) + elif scene.mission_title_label.get_theme_font_size("font_size") < 15: + failures.append("mission panel title should keep a readable QHD size: %d" % scene.mission_title_label.get_theme_font_size("font_size")) + elif not scene.mission_title_label.tooltip_text.contains("승리 조건"): + failures.append("mission panel title tooltip should explain the objective section: %s" % scene.mission_title_label.tooltip_text) if scene.mission_toggle_button == null or scene.mission_toggle_button.text != "" or scene.mission_toggle_button.icon == null or not bool(scene.mission_toggle_button.get_meta("icon_only", false)): failures.append("mission objective panel should start compact with an icon-only open control") else: