Code: Select all
game.player:registerLoreFound("fearscape-entry)
It also created the table profile.mod.lore (and lore.lore and lore.lore["fearscape-entry"]) in the lua interpreter.
I'm using http://svn.net-core.org/repos/t-engine4 ... tyLore.lua as a reference (I don't expect the 1.0 version to differ) and I noticed a bit of code that I don't understand the purpose of.
Code: Select all
if learnt and not self.additional_lore[lore] then game.player:registerLoreFound(lore) end
Other possibly important stuff:
Before registering the online profile, I have played a while in the offline mode. I might have logged on the registered profile after playing offline without first restarting the game.
I have moved some of the profile and settings files to check if it will fix the problem (it didn't). *.profile files were regenerated properly (still no lore.profile).
EDIT: OK, changed the title.