formatting

This commit is contained in:
Lilian Jónsdóttir 2020-10-05 00:52:22 -07:00
parent 53a13aac3a
commit 5c50b86f54

View file

@ -302,9 +302,13 @@ this.isIgnoredDoor = function(door, homeCellId)
dest.id, this.isIgnoredCell(dest) and "ignored" or "not ignored", -- destination is ignored 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 inCity and "" or "not ", leadsToPublicCell and "" or "not ", hasOccupants and "" or "un") -- in a city, is public, is ocupado
return -- LuaFormatter off
this.isIgnoredCell(dest) or not this.isInteriorCell(dest) or isCantonWorks or not inCity or leadsToPublicCell or return this.isIgnoredCell(dest) or
not hasOccupants not this.isInteriorCell(dest) or
isCantonWorks or
not inCity or
leadsToPublicCell or
not hasOccupants
end end
this.isNight = function() this.isNight = function()
@ -314,6 +318,7 @@ this.isNight = function()
tes3.worldController.hour.value, atNight and "" or "not ", config.closeTime, config.openTime) tes3.worldController.hour.value, atNight and "" or "not ", config.closeTime, config.openTime)
return atNight return atNight
-- LuaFormatter on
end end
-- inclement weather -- inclement weather