minor clarifications
This commit is contained in:
parent
554a5b86ef
commit
b5906d9675
|
@ -1,3 +1,4 @@
|
||||||
|
-- handles logic checks for NPCs, doors, etc.
|
||||||
local common = require("celediel.NPCsGoHome.common")
|
local common = require("celediel.NPCsGoHome.common")
|
||||||
local config = require("celediel.NPCsGoHome.config").getConfig()
|
local config = require("celediel.NPCsGoHome.config").getConfig()
|
||||||
local entry = require("celediel.NPCsGoHome.functions.entry")
|
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
|
-- checks NPC class and faction in cells for block list and adds to publicHouse list
|
||||||
-- todo: rewrite this
|
-- todo: rewrite this
|
||||||
this.isPublicHouse = function(cell)
|
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
|
if not this.isInteriorCell(cell) then return false end
|
||||||
|
|
||||||
|
-- gather some data about the cell
|
||||||
local typeOfPub = common.pickPublicHouseType(cell)
|
local typeOfPub = common.pickPublicHouseType(cell)
|
||||||
local city, publicHouseName
|
local city, publicHouseName
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
-- handles creation of runtime data tables
|
||||||
local common = require("celediel.NPCsGoHome.common")
|
local common = require("celediel.NPCsGoHome.common")
|
||||||
local interop = require("celediel.NPCsGoHome.interop")
|
local interop = require("celediel.NPCsGoHome.interop")
|
||||||
local positions = require("celediel.NPCsGoHome.data.positions")
|
local positions = require("celediel.NPCsGoHome.data.positions")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
-- handles finding homes or picking public spaces NPCs
|
||||||
local common = require("celediel.NPCsGoHome.common")
|
local common = require("celediel.NPCsGoHome.common")
|
||||||
local config = require("celediel.NPCsGoHome.config").getConfig()
|
local config = require("celediel.NPCsGoHome.config").getConfig()
|
||||||
local checks = require("celediel.NPCsGoHome.functions.checks")
|
local checks = require("celediel.NPCsGoHome.functions.checks")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
-- handles processing NPCs, their pets/mounts, doors
|
||||||
local common = require("celediel.NPCsGoHome.common")
|
local common = require("celediel.NPCsGoHome.common")
|
||||||
local config = require("celediel.NPCsGoHome.config").getConfig()
|
local config = require("celediel.NPCsGoHome.config").getConfig()
|
||||||
local checks = require("celediel.NPCsGoHome.functions.checks")
|
local checks = require("celediel.NPCsGoHome.functions.checks")
|
||||||
|
|
|
@ -54,7 +54,7 @@ category:createYesNoButton({
|
||||||
})
|
})
|
||||||
|
|
||||||
category:createDropdown({
|
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" ..
|
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 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.",
|
"(if configured to do so).\n\nIf neither, canton cells will be treated as any other.",
|
||||||
|
|
Loading…
Reference in a new issue