Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read localized versions of quest sources
Seeks localized quest sources from StreamingAssets/Text/Quests. Filename format should be QuestName-LOC.txt, e.g. "M0B00Y16-LOC.txt". Must contain valid header for quest display name and a QRC: section. Should not contain a QBN: section, but this will not break execution. Anything after QBN: is simply ignored. Using a custom parser for localized text files rather than modify core quest parser. This duplicates some logic, but has the benefit of not introducing regressions and allows localization parser to evolve independently of core quest parser. It's also still possible to add localized quest text using Internal_Quests.csv. Internally all these keys are loaded to Internal_Quests string table and read from there when expanding messages at runtime. This should be more user-friendly for translators than one big CSV file.
- Loading branch information
1 parent
23f66c2
commit c1e0869
Showing
5 changed files
with
377 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.