Add compact marker summaries to map hovers
This commit is contained in:
@@ -871,17 +871,26 @@ func _check_opening_battle_marker_hints(failures: Array[String]) -> void:
|
||||
if not lure_hint.contains("유인선") or not lure_hint.contains("끌어낼"):
|
||||
failures.append("lure line should explain the tactical trigger: %s" % lure_hint)
|
||||
var lure_hover_text := "\n".join(scene._hover_info_badge_lines(lure_cell))
|
||||
if not lure_hover_text.contains("표식 유인선") or not lure_hover_text.contains("끌어낼"):
|
||||
if not lure_hover_text.contains("표식 유인선") or not lure_hover_text.contains("앞줄 유인") or not lure_hover_text.contains("끌어낼"):
|
||||
failures.append("lure hover should expose tactical marker hint: %s" % lure_hover_text)
|
||||
var lure_minimap_text := "\n".join(scene._minimap_hover_badge_lines(lure_cell))
|
||||
if not lure_minimap_text.contains("표식 유인선") or not lure_minimap_text.contains("앞줄 유인"):
|
||||
failures.append("lure minimap hover should expose compact lure hint: %s" % lure_minimap_text)
|
||||
|
||||
var woods_cell := Vector2i(4, 2)
|
||||
var woods_hint: String = scene.state.get_event_marker_hint(woods_cell)
|
||||
if not woods_hint.contains("콩") or not woods_hint.contains("보급"):
|
||||
failures.append("northern cache should explain its supply value: %s" % woods_hint)
|
||||
var woods_minimap_text := "\n".join(scene._minimap_hover_badge_lines(woods_cell))
|
||||
if not woods_minimap_text.contains("북숲 보급고") or not woods_minimap_text.contains("숨은 콩") or not woods_minimap_text.contains("콩 보급"):
|
||||
failures.append("northern cache minimap hover should expose compact supply hint: %s" % woods_minimap_text)
|
||||
var village_cell := Vector2i(6, 5)
|
||||
var village_hint: String = scene.state.get_event_marker_hint(village_cell)
|
||||
if not village_hint.contains("치료소") or not village_hint.contains("회복"):
|
||||
failures.append("village supply should explain recovery and supply value: %s" % village_hint)
|
||||
var village_minimap_text := "\n".join(scene._minimap_hover_badge_lines(village_cell))
|
||||
if not village_minimap_text.contains("마을 보급") or not village_minimap_text.contains("회복 보급") or not village_minimap_text.contains("치료소"):
|
||||
failures.append("village minimap hover should expose compact recovery hint: %s" % village_minimap_text)
|
||||
var village_detail := scene._format_cell_info_detail_text(village_cell)
|
||||
if not village_detail.contains("마을 치료소") or not village_detail.contains("회복 거점"):
|
||||
failures.append("village cell info should explain the recovery/supply marker: %s" % village_detail)
|
||||
|
||||
Reference in New Issue
Block a user