From ba54e49029aeea3c658aa3e9bd62083db2858796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 10 Oct 2020 21:07:55 -0700 Subject: [PATCH] a tradehouse is not a home --- MWSE/mods/celediel/NPCsGoHome/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MWSE/mods/celediel/NPCsGoHome/common.lua b/MWSE/mods/celediel/NPCsGoHome/common.lua index c182d99..0afba5c 100644 --- a/MWSE/mods/celediel/NPCsGoHome/common.lua +++ b/MWSE/mods/celediel/NPCsGoHome/common.lua @@ -94,7 +94,7 @@ this.pickPublicHouseType = function(cell) return this.publicHouseTypes.temples elseif id:match("canalworks") or cell.id:match("waistworks") then return this.publicHouseTypes.cantonworks - elseif id:match("house") or id:match("manor") or id:match("tower") then + elseif (id:match("house") and not id:match("trade")) or id:match("manor") or id:match("tower") then return this.publicHouseTypes.homes else return this.publicHouseTypes.inns