From 5c50b86f54ab49e0ce9def7379c02f0eca420942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Mon, 5 Oct 2020 00:52:22 -0700 Subject: [PATCH] formatting --- MWSE/mods/celediel/NPCsGoHome/functions/checks.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua index b2abb63..3ba4127 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/checks.lua @@ -302,9 +302,13 @@ this.isIgnoredDoor = function(door, homeCellId) dest.id, this.isIgnoredCell(dest) and "ignored" or "not ignored", -- destination is ignored inCity and "" or "not ", leadsToPublicCell and "" or "not ", hasOccupants and "" or "un") -- in a city, is public, is ocupado - return - this.isIgnoredCell(dest) or not this.isInteriorCell(dest) or isCantonWorks or not inCity or leadsToPublicCell or - not hasOccupants + -- LuaFormatter off + return this.isIgnoredCell(dest) or + not this.isInteriorCell(dest) or + isCantonWorks or + not inCity or + leadsToPublicCell or + not hasOccupants end this.isNight = function() @@ -314,6 +318,7 @@ this.isNight = function() tes3.worldController.hour.value, atNight and "" or "not ", config.closeTime, config.openTime) return atNight + -- LuaFormatter on end -- inclement weather