Label first battle capture objective
This commit is contained in:
@@ -3524,6 +3524,13 @@ func _check_terrain_and_unit_presentation(failures: Array[String]) -> void:
|
||||
failures.append("village terrain should expose Korean name and healing")
|
||||
if scene.state.get_terrain_heal(Vector2i(12, 1)) != 8:
|
||||
failures.append("castle terrain should expose stronger healing")
|
||||
scene._create_hud()
|
||||
scene.hover_cell = Vector2i(12, 1)
|
||||
scene._update_cell_info()
|
||||
if scene.cell_info_label == null or not scene.cell_info_label.text.contains("목표: 성채 장악") or not scene.cell_info_label.text.contains("회복 +8"):
|
||||
failures.append("castle objective cell info should expose capture label and healing: %s" % scene.cell_info_label.text)
|
||||
scene.cell_info_label.free()
|
||||
scene.cell_info_label = null
|
||||
var background_fill: Color = scene._terrain_fill_color(Vector2i(0, 0), "G", true)
|
||||
var fallback_fill: Color = scene._terrain_fill_color(Vector2i(0, 0), "G", false)
|
||||
if background_fill.a >= 0.20:
|
||||
|
||||
Reference in New Issue
Block a user