From 9294eccdd5e8b48c2c7215b6495c7d99d72686fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Wed, 14 Oct 2020 00:55:29 -0700 Subject: [PATCH] pets follow config.disableNPCsInWilderness --- MWSE/mods/celediel/NPCsGoHome/functions/processors.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua index 2e034c4..d7d1a47 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua @@ -317,6 +317,12 @@ this.processPets = function(cell) log(common.logLevels.small, "[PROC:PETS] Looking for NPC pets to process in cell:%s", cell.id) + if not cell.name and not config.disableNPCsInWilderness then + log(common.logLevels.medium, "[PROC:PETS] Shitty hack ACTIVATE! It's now not night, and the weather is great.") + night = false + badWeather = false + end + -- for creature in cell:iterateReferences(tes3.objectType.creature) do for pet, linkedToTravel in iteratePets(cell) do -- this is becoming too much lol