Code: Select all
local foo = 4
for i = foo, 1, -1 do ... end
print(foo)
Code: Select all
for i = foo+1-1, 1, -1
These aren't big problems and they can be worked around, but I thought I'd mention them anyway.
Also, it would be nice to have a QuestEntryStateChanged event, with the quest and entry number; this might be a bit tricky with how BroadcastMessage() is currently used for sending dialogue events, but it would make detailed quest tracking easier. I've solved it for now by overriding the default SetQuestEntryState Lua function.
Thanks for an excellent asset.