Localize Ruxu river arc
This commit is contained in:
@@ -2583,7 +2583,45 @@ func _check_battle_visual_data(failures: Array[String]) -> void:
|
||||
}
|
||||
]
|
||||
for expectation in western_hanzhong_expectations:
|
||||
_check_western_hanzhong_campaign_entry(failures, expectation)
|
||||
_check_campaign_entry_expectation(failures, expectation)
|
||||
|
||||
var ruxu_expectations := [
|
||||
{
|
||||
"path": "res://data/scenarios/042_ruxu_advance.json",
|
||||
"label": "042 Ruxu advance",
|
||||
"merchant": "유수 강안 야상",
|
||||
"conversations": [
|
||||
["ruxu_advance_council", "topic", ""],
|
||||
["ruxu_guo_jia_tide", "officer", "guo_jia"]
|
||||
],
|
||||
"imperial_flag": {"garrisoned_hanzhong": true},
|
||||
"war_drum_flag": {"pivoted_to_ruxu": true}
|
||||
},
|
||||
{
|
||||
"path": "res://data/scenarios/043_ruxu_river_line.json",
|
||||
"label": "043 Ruxu river line",
|
||||
"merchant": "유수 수로 야상",
|
||||
"conversations": [
|
||||
["ruxu_river_line_council", "topic", ""],
|
||||
["ruxu_guo_jia_two_roads", "officer", "guo_jia"]
|
||||
],
|
||||
"imperial_flag": {"secured_ruxu_bank": true},
|
||||
"war_drum_flag": {"pressed_sun_quan_line": true}
|
||||
},
|
||||
{
|
||||
"path": "res://data/scenarios/044_ruxu_crossing.json",
|
||||
"label": "044 Ruxu crossing",
|
||||
"merchant": "유수 도하 야상",
|
||||
"conversations": [
|
||||
["ruxu_crossing_council", "topic", ""],
|
||||
["ruxu_guo_jia_crossing_fear", "officer", "guo_jia"]
|
||||
],
|
||||
"imperial_flag": {"anchored_ruxu_camps": true},
|
||||
"war_drum_flag": {"forced_ruxu_crossing": true}
|
||||
}
|
||||
]
|
||||
for expectation in ruxu_expectations:
|
||||
_check_campaign_entry_expectation(failures, expectation)
|
||||
|
||||
for item_id in ["bronze_sword", "training_spear", "short_bow", "hand_axe", "iron_armor", "war_drum", "imperial_seal", "panacea"]:
|
||||
var item := state.get_item_def(item_id)
|
||||
@@ -3467,7 +3505,7 @@ func _find_camp_conversation(conversations: Array, conversation_id: String) -> D
|
||||
return {}
|
||||
|
||||
|
||||
func _check_western_hanzhong_campaign_entry(failures: Array[String], expectation: Dictionary) -> void:
|
||||
func _check_campaign_entry_expectation(failures: Array[String], expectation: Dictionary) -> void:
|
||||
var path := str(expectation.get("path", ""))
|
||||
var label := str(expectation.get("label", path))
|
||||
var state = BattleStateScript.new()
|
||||
|
||||
Reference in New Issue
Block a user