From f98c564a0dc6db54c11b0a9ae065fdacffa48715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 28 Jul 2020 21:06:16 -0700 Subject: [PATCH] sometimes guards DO wander inside, so that was bad --- MWSE/mods/celediel/MoreAttentiveGuards/common.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/MWSE/mods/celediel/MoreAttentiveGuards/common.lua b/MWSE/mods/celediel/MoreAttentiveGuards/common.lua index 2ded70d..a81a86d 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/common.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/common.lua @@ -5,10 +5,9 @@ local this = {} this.modName = "More Attentive Guards" -- or something this.author = "Celediel" this.version = "1.0.3" -this.modInfo = [[Guards with some actual spatial awareness! - -Guards who catch you sneaking will follow you for a bit of -time, and will also come to the player's rescue if attacked unprovoked.]] +this.modInfo = "Guards with some actual spatial awareness!\n\n" .. +"Guards who catch you sneaking will follow you for a bit of" .. +"time, and will also come to the player's rescue if attacked unprovoked." this.dialogues = require("celediel.MoreAttentiveGuards.dialogues") this.configString = string.gsub(this.modName, "%s+", "") @@ -35,9 +34,8 @@ this.generateIdles = function() end this.generateWanderRange = function(cell) - -- don't wander inside? - -- shitty "fix" for stationary NPCs remaining stationary - return (cell.isInterior and not cell.behavesAsExterior) and 0 or 2000 + -- wander less inside? + return (cell.isInterior and not cell.behavesAsExterior) and 200 or 2000 end this.guardDialogue = function(npc, str, target)