Clarify threat overlay reaction zones
This commit is contained in:
@@ -5078,6 +5078,15 @@ func _check_action_button_disabled_reasons(failures: Array[String]) -> void:
|
||||
])
|
||||
|
||||
scene.state.current_team = BattleState.TEAM_PLAYER
|
||||
scene.battle_started = true
|
||||
scene._update_threat_button()
|
||||
if scene.threat_button.text != "" or not scene.threat_button.tooltip_text.contains("유인 반경") or not scene.threat_button.tooltip_text.contains("거점 경계권") or not scene.threat_button.tooltip_text.contains("위험/유인/경계"):
|
||||
failures.append("active threat button should explain range, lure, and guard overlays: %s | %s" % [scene.threat_button.text, scene.threat_button.tooltip_text])
|
||||
if str(scene.threat_button.get_meta("command_label", "")) != "적정" or bool(scene.threat_button.get_meta("command_disabled", false)):
|
||||
failures.append("active threat button should preserve reusable active metadata: %s / %s" % [
|
||||
str(scene.threat_button.get_meta("command_label", "")),
|
||||
str(scene.threat_button.get_meta("command_disabled", false))
|
||||
])
|
||||
scene.battle_started = false
|
||||
scene._update_threat_button()
|
||||
if scene.threat_button.text != "" or not scene.threat_button.tooltip_text.contains("적정") or not scene.threat_button.tooltip_text.contains("전장도 미개봉") or not scene.threat_button.tooltip_text.contains("전장도"):
|
||||
|
||||
Reference in New Issue
Block a user