Label first battle capture objective
This commit is contained in:
@@ -13,6 +13,12 @@ func _init() -> void:
|
||||
_progress_text("res://data/scenarios/001_yellow_turbans.json", false),
|
||||
"적군 격파 0/"
|
||||
)
|
||||
_check_contains(
|
||||
failures,
|
||||
"001 castle capture progress",
|
||||
_progress_text("res://data/scenarios/001_yellow_turbans.json", false),
|
||||
"성채 장악"
|
||||
)
|
||||
_check_contains(
|
||||
failures,
|
||||
"001 commander defeat risk",
|
||||
@@ -209,6 +215,8 @@ func _check_opening_battle_requires_castle_capture(failures: Array[String]) -> v
|
||||
for castle_cell in [Vector2i(12, 0), Vector2i(13, 0), Vector2i(12, 1), Vector2i(13, 1)]:
|
||||
if not marker_cells.has(castle_cell):
|
||||
failures.append("opening battle should mark castle capture cell %s: %s" % [str(castle_cell), str(marker_cells)])
|
||||
if state.get_objective_cell_label(castle_cell) != "성채 장악":
|
||||
failures.append("opening battle castle marker should expose label at %s" % str(castle_cell))
|
||||
for enemy in state.get_living_units(BattleStateScript.TEAM_ENEMY):
|
||||
enemy["alive"] = false
|
||||
state._check_battle_status()
|
||||
|
||||
Reference in New Issue
Block a user