Pilots added in Advanced Edition do not have PilotPersonalities
defined
#172
Labels
bug
Something isn't working
PilotPersonalities
defined
#172
Dialogues for new pilots added in Advanced Edition are defined via the new translation system added in ITB 1.2 (
localization/Pilots_ae.csv
), and do not get processed bypersonalities/personalities.lua
script. Because of this, these new pilots do not have correspondingPilotPersonality
instances in the global lua scope. This makes it difficult to add/modify dialogues for these pilots using existing methods.In this discord message, tosx simply created new global instances for the new AE pilots, and that seems to work, since the game falls back on the old, deprecated texts system when it cannot find a matching text.
Long term, we should probably add a modApi function to add dialogue lines like this.
The text was updated successfully, but these errors were encountered: