diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua index 976d29e..7804b95 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua @@ -1,3 +1,4 @@ +-- handles logic checks for NPCs, doors, etc. local common = require("celediel.NPCsGoHome.common") local config = require("celediel.NPCsGoHome.config").getConfig() local entry = require("celediel.NPCsGoHome.functions.entry") @@ -183,9 +184,10 @@ end -- checks NPC class and faction in cells for block list and adds to publicHouse list -- todo: rewrite this this.isPublicHouse = function(cell) - -- only interior cells are public "houses" + -- only interior cells are public spaces if not this.isInteriorCell(cell) then return false end + -- gather some data about the cell local typeOfPub = common.pickPublicHouseType(cell) local city, publicHouseName diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/entry.lua b/MWSE/mods/celediel/NPCsGoHome/functions/entry.lua index aceeabd..e0f7bce 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/entry.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/entry.lua @@ -1,3 +1,4 @@ +-- handles creation of runtime data tables local common = require("celediel.NPCsGoHome.common") local interop = require("celediel.NPCsGoHome.interop") local positions = require("celediel.NPCsGoHome.data.positions") diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/housing.lua b/MWSE/mods/celediel/NPCsGoHome/functions/housing.lua index 94786cc..a1d9707 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/housing.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/housing.lua @@ -1,3 +1,4 @@ +-- handles finding homes or picking public spaces NPCs local common = require("celediel.NPCsGoHome.common") local config = require("celediel.NPCsGoHome.config").getConfig() local checks = require("celediel.NPCsGoHome.functions.checks") diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua index 8b30427..6c12d6d 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua @@ -1,3 +1,4 @@ +-- handles processing NPCs, their pets/mounts, doors local common = require("celediel.NPCsGoHome.common") local config = require("celediel.NPCsGoHome.config").getConfig() local checks = require("celediel.NPCsGoHome.functions.checks") diff --git a/MWSE/mods/celediel/NPCsGoHome/mcm.lua b/MWSE/mods/celediel/NPCsGoHome/mcm.lua index 7c6972d..f2f3205 100644 --- a/MWSE/mods/celediel/NPCsGoHome/mcm.lua +++ b/MWSE/mods/celediel/NPCsGoHome/mcm.lua @@ -54,7 +54,7 @@ category:createYesNoButton({ }) category:createDropdown({ - label = "Treat Canton waistworks and canalworks as exteriors, public spaces, or neither", + label = "Treat Canton waistworks as exteriors, public spaces, or neither", description = "If canton cells are treated as exterior, inside NPCs will be disabled, and doors will be locked.\n" .. "If they're treated as public spaces, inside NPCs won't be disabled, and homeless NPCs will be moved inside ".. "(if configured to do so).\n\nIf neither, canton cells will be treated as any other.",