# HG changeset patch # User Nenue # Date 1477303205 14400 # Node ID 8b1e8ba5753d2c169543c97e5ae70de59f1fc4fe # Parent ecf6f005ce384c4878b3b4a52e670d6ee52737ac WorldQuests: - Filter interface reverted: - Left-click to single out a category value, right-click to exclude. Hold shift to set multiple inclusion rules. - Filters operate inclusively. If any of the criteria is green, that pin will appear. diff -r ecf6f005ce38 -r 8b1e8ba5753d WorldPlan.lua --- a/WorldPlan.lua Mon Oct 24 05:50:11 2016 -0400 +++ b/WorldPlan.lua Mon Oct 24 06:00:05 2016 -0400 @@ -966,8 +966,8 @@ print(' include? ', filterKey, controlValue, filterType) end end + self.filtered = (not isIncluded) end - self.filtered = (not isIncluded) if not TQ_IsActive(self.questID) then @@ -1254,9 +1254,8 @@ if not filterKey then -- resetting - for k,v in pairs(WorldPlan.UsedFilters) do - wipe(v) - end + wipe(WorldPlan.UsedFilters) + elseif IsShiftKeyDown() then WorldPlan.UsedFilters[filterKey] = nil else