pets follow config.disableNPCsInWilderness

This commit is contained in:
Lilian Jónsdóttir 2020-10-14 00:55:29 -07:00
parent 1e4ccd6327
commit 9294eccdd5

View file

@ -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) 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 creature in cell:iterateReferences(tes3.objectType.creature) do
for pet, linkedToTravel in iteratePets(cell) do for pet, linkedToTravel in iteratePets(cell) do
-- this is becoming too much lol -- this is becoming too much lol