Antique global battle language

This commit is contained in:
2026-06-19 08:44:18 +09:00
parent c98064c528
commit b73fa6adbf
17 changed files with 317 additions and 267 deletions

View File

@@ -137,6 +137,9 @@ func get_portrait_for_speaker(speaker_name: String) -> String:
var officer := _get_dict(officers, officer_id)
if _normalized_speaker_name(str(officer.get("name", ""))) == normalized_speaker:
return str(officer.get("portrait", ""))
for alias in officer.get("aliases", []):
if _normalized_speaker_name(str(alias)) == normalized_speaker:
return str(officer.get("portrait", ""))
return ""