I missed some logs
This commit is contained in:
parent
1ea4725d19
commit
d8499db3e3
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue