Polish battle HUD icon readability
This commit is contained in:
@@ -3249,13 +3249,13 @@ func _check_hud_focus_text(failures: Array[String]) -> void:
|
||||
failures.append("Cao Cao HUD focus should expose facing direction: %s" % cao_text)
|
||||
if not cao_text.contains("군령:") or not cao_text.contains("행군") or not cao_text.contains("타격") or not cao_text.contains("책략") or not cao_text.contains("병장") or not cao_text.contains("대기"):
|
||||
failures.append("Cao Cao HUD focus should summarize available actions: %s" % cao_text)
|
||||
if not cao_text.contains("지형 2,7"):
|
||||
failures.append("Cao Cao HUD focus should include current tile: %s" % cao_text)
|
||||
if not cao_text.contains("지형:") or cao_text.contains("2,7"):
|
||||
failures.append("Cao Cao HUD focus should include terrain effects without raw coordinates: %s" % cao_text)
|
||||
if not cao_text.contains("행군 1"):
|
||||
failures.append("Cao Cao HUD focus should include terrain move cost: %s" % cao_text)
|
||||
if not cao_text.contains("방비 +0"):
|
||||
failures.append("Cao Cao HUD focus should include terrain defense: %s" % cao_text)
|
||||
if not cao_summary.contains("군기: 조조") or cao_summary.contains("병력") or cao_summary.contains("기력") or cao_summary.contains("무위") or cao_summary.contains("지형 2,7"):
|
||||
if not cao_summary.contains("군기: 조조") or cao_summary.contains("병력") or cao_summary.contains("기력") or cao_summary.contains("무위") or cao_summary.contains("지형"):
|
||||
failures.append("Cao Cao visible HUD summary should leave resource/detail text to bars and tooltip: %s" % cao_summary)
|
||||
scene._create_hud()
|
||||
scene.battle_started = true
|
||||
@@ -3324,8 +3324,8 @@ func _check_hud_focus_text(failures: Array[String]) -> void:
|
||||
failures.append("Archer terrain text should reflect its current hill tile")
|
||||
var guard: Dictionary = scene.state.get_unit("yellow_turban_7")
|
||||
var guard_text := scene._format_unit_focus_text(guard, "Hover")
|
||||
if not guard_text.contains("수비: 거점 20,3 반경 3"):
|
||||
failures.append("Guard HUD focus should describe the defended zone: %s" % guard_text)
|
||||
if not guard_text.contains("수비: 거점 경계 반경 3") or guard_text.contains("20,3"):
|
||||
failures.append("Guard HUD focus should describe the defended zone without raw coordinates: %s" % guard_text)
|
||||
if scene._recovery_marker_text(Vector2i(6, 5)) != "+6":
|
||||
failures.append("Village recovery marker should show healing amount")
|
||||
if scene._recovery_marker_text(Vector2i(20, 1)) != "+8":
|
||||
|
||||
Reference in New Issue
Block a user