minor clarifications

This commit is contained in:
Lilian Jónsdóttir 2020-08-23 22:24:28 -07:00
parent 554a5b86ef
commit b5906d9675
5 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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")

View file

@ -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")

View file

@ -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")

View file

@ -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.",