Clarify post move command text

This commit is contained in:
2026-06-20 21:03:24 +09:00
parent 4d3be5494c
commit d55fd7edbc
3 changed files with 82 additions and 78 deletions

View File

@@ -506,11 +506,11 @@ func _check_scene_post_move_blocked_command_labels(failures: Array[String]) -> v
if scene.post_move_menu == null or not scene.post_move_menu.visible:
failures.append("blocked command label setup should show the post-move menu")
else:
if scene.post_move_attack_button == null or not scene.post_move_attack_button.disabled or scene.post_move_attack_button.text != "" or str(scene.post_move_attack_button.get_meta("disabled_hint", "")) != "격 없음":
if scene.post_move_attack_button == null or not scene.post_move_attack_button.disabled or scene.post_move_attack_button.text != "" or str(scene.post_move_attack_button.get_meta("disabled_hint", "")) != "격 없음":
failures.append("blocked attack command should explain itself through local hover metadata")
if scene.post_move_tactic_button == null or not scene.post_move_tactic_button.disabled or scene.post_move_tactic_button.text != "" or str(scene.post_move_tactic_button.get_meta("disabled_hint", "")) != "책략 없음":
failures.append("blocked tactic command should explain itself through local hover metadata")
if scene.post_move_item_button == null or not scene.post_move_item_button.disabled or scene.post_move_item_button.text != "" or str(scene.post_move_item_button.get_meta("disabled_hint", "")) != "보급 없음":
if scene.post_move_item_button == null or not scene.post_move_item_button.disabled or scene.post_move_item_button.text != "" or str(scene.post_move_item_button.get_meta("disabled_hint", "")) != "도구 없음":
failures.append("blocked item command should explain itself through local hover metadata")
_check_local_command_button_tooltips_present(failures, [
scene.post_move_attack_button,
@@ -518,7 +518,7 @@ func _check_scene_post_move_blocked_command_labels(failures: Array[String]) -> v
scene.post_move_item_button
], "blocked post-move commands")
scene._on_local_command_button_mouse_entered(scene.post_move_attack_button)
if scene.post_move_title_label == null or not scene.post_move_title_label.text.contains("격 없음"):
if scene.post_move_title_label == null or not scene.post_move_title_label.text.contains("격 없음"):
failures.append("blocked attack hover should surface disabled reason in the local title plate: %s" % scene.post_move_title_label.text)
scene._on_local_command_button_mouse_exited()
@@ -567,10 +567,10 @@ func _check_scene_post_move_attack_targeting(failures: Array[String]) -> void:
scene._handle_board_click(_screen_for_cell(Vector2i(2, 3)))
if not scene._has_pending_move() or scene.post_move_menu == null or not scene.post_move_menu.visible:
failures.append("attack targeting setup should leave the post-move menu visible")
if scene.post_move_attack_button == null or scene.post_move_attack_button.disabled or scene.post_move_attack_button.text != "" or str(scene.post_move_attack_button.get_meta("command_label", "")) != "타격령":
if scene.post_move_attack_button == null or scene.post_move_attack_button.disabled or scene.post_move_attack_button.text != "" or str(scene.post_move_attack_button.get_meta("command_label", "")) != "공격":
failures.append("available attack command should stay icon-first and enabled")
scene._on_local_command_button_mouse_entered(scene.post_move_attack_button)
if scene.post_move_title_label == null or not scene.post_move_title_label.text.contains("타격령"):
if scene.post_move_title_label == null or not scene.post_move_title_label.text.contains("공격"):
failures.append("available attack hover should explain the icon in the local title plate")
scene._on_local_command_button_mouse_exited()
if scene.basic_attack_targeting:
@@ -1145,33 +1145,33 @@ func _check_post_move_command_guidance(failures: Array[String], scene) -> void:
var expectations := [
{
"button": scene.post_move_attack_button,
"label": "타격령",
"hint": "표식 지목",
"detail": "이동과 격을 한 군령"
"label": "공격",
"hint": "선택",
"detail": "이동과 격을 한 "
},
{
"button": scene.post_move_tactic_button,
"label": "책략",
"hint": "죽간 펼침",
"label": "책략",
"hint": "책략 선택",
"detail": "빛나는 표식 칸"
},
{
"button": scene.post_move_item_button,
"label": "보급첩",
"hint": "보급 지목",
"detail": "회복이나 도구를 받을 부대"
"label": "도구",
"hint": "도구 선택",
"detail": "회복이나 효과를 받을 부대"
},
{
"button": scene.post_move_wait_button,
"label": "대기",
"hint": "그 자리 대기",
"detail": "군령을 마치고"
"label": "대기",
"hint": "행동 종료",
"detail": "행동을 마칩니다"
},
{
"button": scene.post_move_cancel_button,
"label": "발걸음 거두기",
"hint": "이동 취소",
"detail": "원래 자리에서 다시 군령"
"label": "이동 취소",
"hint": "원위치",
"detail": "원래 자리에서 다시 행동"
}
]
for expectation in expectations: