Polish story controls and command guidance
This commit is contained in:
@@ -3981,7 +3981,7 @@ func _check_opening_prologue_presentation(failures: Array[String]) -> void:
|
||||
if scene.opening_prologue_next_button == null:
|
||||
failures.append("opening prologue should expose a next button")
|
||||
else:
|
||||
if scene.opening_prologue_next_button.text != "다음 기록":
|
||||
if scene.opening_prologue_next_button.text != "기록 넘기기":
|
||||
failures.append("opening next button should use story-fluent Korean text")
|
||||
if scene.opening_prologue_next_button.icon == null:
|
||||
failures.append("opening next button should carry generated icon art")
|
||||
@@ -3991,7 +3991,7 @@ func _check_opening_prologue_presentation(failures: Array[String]) -> void:
|
||||
if scene.opening_prologue_skip_button == null:
|
||||
failures.append("opening prologue should expose a skip button")
|
||||
else:
|
||||
if scene.opening_prologue_skip_button.text != "서문 접기":
|
||||
if scene.opening_prologue_skip_button.text != "군막으로 바로":
|
||||
failures.append("opening skip button should avoid modern skip-button wording")
|
||||
if scene.opening_prologue_skip_button.icon == null:
|
||||
failures.append("opening skip button should carry generated icon art")
|
||||
@@ -4441,6 +4441,8 @@ func _check_button_uses_generated_surface(failures: Array[String], button: Butto
|
||||
failures.append("%s generated icon button texture should keep high-resolution source pixels: %dx%d" % [context, style.texture.get_width(), style.texture.get_height()])
|
||||
if abs(style.texture.get_width() - style.texture.get_height()) > 4:
|
||||
failures.append("%s generated icon button texture should be square or near-square: %dx%d" % [context, style.texture.get_width(), style.texture.get_height()])
|
||||
if style.axis_stretch_horizontal != StyleBoxTexture.AXIS_STRETCH_MODE_TILE_FIT or style.axis_stretch_vertical != StyleBoxTexture.AXIS_STRETCH_MODE_TILE_FIT:
|
||||
failures.append("%s generated icon button surface should tile-fit its center for QHD fullscreen" % context)
|
||||
_check_button_texture_slice_for_control(failures, button, style, context, 10, 10)
|
||||
if style.content_margin_left < 5 or style.content_margin_top < 5:
|
||||
failures.append("%s generated icon button texture should reserve icon content margins" % context)
|
||||
@@ -4449,6 +4451,8 @@ func _check_button_uses_generated_surface(failures: Array[String], button: Butto
|
||||
failures.append("%s text button should keep the wide generated button surface" % context)
|
||||
if style.texture.get_width() < 512 or style.texture.get_height() < 192:
|
||||
failures.append("%s generated button texture should keep high-resolution source pixels: %dx%d" % [context, style.texture.get_width(), style.texture.get_height()])
|
||||
if style.axis_stretch_horizontal != StyleBoxTexture.AXIS_STRETCH_MODE_TILE_FIT or style.axis_stretch_vertical != StyleBoxTexture.AXIS_STRETCH_MODE_TILE_FIT:
|
||||
failures.append("%s generated button surface should tile-fit its 9-slice center so QHD fullscreen does not smear the ornament" % context)
|
||||
var min_top_margin := 10 if bool(button.get_meta("opening_story_button", false)) else 10
|
||||
_check_button_texture_slice_for_control(failures, button, style, context, 16, min_top_margin)
|
||||
var min_content_margin := 6 if bool(button.get_meta("opening_story_button", false)) else 8
|
||||
|
||||
Reference in New Issue
Block a user