Defining an array called "titles" in a mod seems to interfere with the execution of ADD_JOURNAL and results in the creation of invalid journal entries in bgee.lua.
Test script:
// Initializing the array "titles" which might be used for anything within the mod
OUTER_FOR (i = 1; i <= 10; ++i) BEGIN
OUTER_SET $titles(~random_string_for_internal_use_only_%i%~) = 12345
END
ADD_JOURNAL TITLE (#1) #2 #3 #4 #5 #6
Defining an array called "titles" in a mod seems to interfere with the execution of
ADD_JOURNAL
and results in the creation of invalid journal entries inbgee.lua
.Test script:
Resulting entries in
bgee.lua
: