diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/cellEvaluators.lua b/MWSE/mods/celediel/NPCsGoHome/functions/cellEvaluators.lua index 9d5a35e..70d33bb 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/cellEvaluators.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/cellEvaluators.lua @@ -18,7 +18,7 @@ this.calculateCellWorth = function(cell, proprietor) end log(common.logLevels.medium, "[CELLEVAL] Calculated worth of %s for cell %s", worth, cell.id) - log(common.logLevels.large, msg:sub(1, #msg - 2)) -- strip off last ", " + log(common.logLevels.large, "[CELLEVAL] " .. msg:sub(1, #msg - 2)) -- strip off last ", " return worth end diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua index 8a62339..e0202ca 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua @@ -139,7 +139,7 @@ this.isIgnoredNPC = function(npc) -- LuaFormatter off -- this just keeps getting uglier but it's debug logging so whatever I don't care - log(common.logLevels.large, ("Checking NPC:%s (%s or %s): id blocked:%s, %s blocked:%s " .. + log(common.logLevels.large, ("[CHECKS] Checking NPC:%s (%s or %s): id blocked:%s, %s blocked:%s " .. "guard:%s dead:%s vampire:%s werewolf:%s dreamer:%s follower:%s hostile:%s %s%s"), obj.name, npc.object.id, npc.object.baseObject and npc.object.baseObject.id or "nil", config.ignored[obj.id:lower()], obj.sourceMod, config.ignored[obj.sourceMod:lower()], @@ -248,7 +248,7 @@ this.isPublicHouse = function(cell) for faction, info in pairs(npcs.factions) do info.percentage = (info.total / npcs.total) * 100 log(common.logLevels.large, - "No NPCs of ignored class in %s, checking faction %s (ignored: %s, player joined: %s) with %s (%s%%) vs total %s", + "[CHECKS] No NPCs of ignored class in %s, checking faction %s (ignored: %s, player joined: %s) with %s (%s%%) vs total %s", cell.name, faction, config.ignored[faction], info.ref.playerJoined, info.total, info.percentage, npcs.total) diff --git a/MWSE/mods/celediel/NPCsGoHome/main.lua b/MWSE/mods/celediel/NPCsGoHome/main.lua index 3ce0951..2f46499 100644 --- a/MWSE/mods/celediel/NPCsGoHome/main.lua +++ b/MWSE/mods/celediel/NPCsGoHome/main.lua @@ -36,7 +36,7 @@ local function checkEnteredNPCHome(cell) local home = common.runtimeData.homes.byCell[cell.id] if home then local msg = string.format("Entering home of %s, %s", home.name, home.homeName) - log(common.logLevels.small, msg) + log(common.logLevels.small, "[MAIN] " .. msg) -- message(msg) -- this one is mostly for debugging, so it doesn't need to be shown end end @@ -57,7 +57,7 @@ local function checkEnteredPublicHouse(cell, city) publicHouse.proprietor.object.class) end - log(common.logLevels.small, msg) + log(common.logLevels.small, "[MAIN] " .. msg) message(msg) -- this one is more informative, and not entirely for debugging, and reminiscent of Daggerfall's messages end end