From 1afc3ee99af62e8f68d29b187a40b75ba7d68e88 Mon Sep 17 00:00:00 2001 From: zorba Date: Mon, 18 May 2009 03:50:01 -0700 Subject: [PATCH] completely untested --- director_quest.lua | 2 +- filter_base.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 director_quest.lua mode change 100644 => 100755 filter_base.lua diff --git a/director_quest.lua b/director_quest.lua old mode 100644 new mode 100755 index 1e08ef3..f746a6e --- a/director_quest.lua +++ b/director_quest.lua @@ -151,7 +151,7 @@ local function GetQuestMetaobjective(questid, lbcount) end do - local ttx = {} + local ttx = {type_quest_finish = true} --QuestHelper:TextOut(string.format("finny %d", q.finish.loc and #q.finish.loc or -1)) if q and q.finish and q.finish.loc then for m, v in ipairs(q.finish.loc) do --print(v.rc, v.rz) diff --git a/filter_base.lua b/filter_base.lua old mode 100644 new mode 100755 index 77ba90c..2dc28a5 --- a/filter_base.lua +++ b/filter_base.lua @@ -65,7 +65,7 @@ local filter_quest_level = QH_MakeFilter("filter_quest_level", function(obj) if not obj.type_quest then return end -- yeah it's fine - if obj.type_quest.objectives > 0 then return end + if obj.type_quest.objectives > 0 and obj.cluster.type_quest_finish then return end local qtx if obj.type_quest.variety == GROUP then -- 2.11.4.GIT