Add ancient serif UI font

This commit is contained in:
2026-06-19 03:29:37 +09:00
parent ce0ca3177f
commit 27c9de787a
5 changed files with 176 additions and 5 deletions

View File

@@ -1814,6 +1814,20 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void:
failures.append("dialogue continue button should use ancient slip text")
if scene.dialogue_previous_button == null or scene.dialogue_previous_button.text != "Earlier Slip":
failures.append("dialogue previous button should use ancient slip text")
if scene._ui_font(false) == null:
failures.append("ancient UI regular font should load from project assets")
if scene._ui_font(true) == null:
failures.append("ancient UI bold font should load from project assets")
if scene.ui_root_control == null or scene.ui_root_control.theme == null or scene.ui_root_control.theme.default_font == null:
failures.append("ancient UI root should install the project serif font as its default theme font")
if scene._draw_ui_font(false) != scene._ui_font(false):
failures.append("map labels should draw with the project serif font")
if scene._draw_ui_font(true) != scene._ui_font(true):
failures.append("map emphasis labels should draw with the bold project serif font")
if scene.dialogue_text_label == null or not scene.dialogue_text_label.has_theme_font_override("font"):
failures.append("dialogue text should use the project serif font override")
if scene.dialogue_continue_button == null or not scene.dialogue_continue_button.has_theme_font_override("font"):
failures.append("dialogue continue button should use the project serif font override")
if scene.mission_title_label == null or scene.mission_title_label.text != "Bronze Mandate Tablet":
failures.append("mission panel title should use bronze tablet wording")
if scene.shop_button == null or scene.shop_button.text != "Sutler":