I have been working on a journal entry system for BGT-WeiDU where completing quests in the BG1 portion of the game would result in a dialogue-mediated removal of quest journal entries, and in some cases, the addition of quest-done journal entries. To do this, I have been using ADD_TRANS_ACTION in conjunction with EraseJournalEntry() and AddJournalEntry(). As an example, a typical file modification would look like:
//Modify.D
ADD_TRANS_ACTION ~TEST~
BEGIN 0 END
BEGIN 0 END
~AddJournalEntry(@10001,QUEST_DONE)
EraseJournalEntry(@10000)~
//setup.tra
@10000 = ~This also rocks!~
@10001 = ~This rocks!~
I have also tried the following:
//Modify.D
ADD_TRANS_ACTION ~TEST~
BEGIN 0 END
BEGIN 0 END
~AddJournalEntry("This rocks!",QUEST)
EraseJournalEntry("This also rocks!")~
It seems that WeiDU 182 does not evaluate the .tra references, nor does it evaluate stringText, in Add/EraseJournalEntry() in the context of ADD_TRANS_ACTION. Therefore, in both cases, Action 0 of TEST.DLG would read:
AddJournalEntry("This rocks!",QUEST)
EraseJournalEntry("This also rocks!")
Or:
AddJournalEntry(@10001,QUEST_DONE)
EraseJournalEntry(@10000)
Obviously, Add/EraseJournalEntry() in an outside context works perfectly. Therefore, if I have not missed anything, is it possible to add evaluation of stringText and .tra references in the context of ADD_TRANS_ACTION in a future version of WeiDU?