formatting
This commit is contained in:
parent
53a13aac3a
commit
5c50b86f54
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue