diff Constants.lua @ 391:0da7fa3508b1

Automated including data from DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP in CONTAINER_ITEM_ID_LIST.
author MMOSimca <MMOSimca@gmail.com>
date Wed, 17 Dec 2014 12:23:09 -0500
parents 7086c27bdc9f
children f1952ed33a16
line wrap: on
line diff
--- a/Constants.lua	Tue Dec 16 22:10:13 2014 -0500
+++ b/Constants.lua	Wed Dec 17 12:23:09 2014 -0500
@@ -70,14 +70,16 @@
 -- It also means there is a high margin for bad data since multiple bags can be clicked within a small time frame.
 -- True = instant cast; false = cast time
 private.CONTAINER_ITEM_ID_LIST = {
-    [114116] = false, -- Bag of Salvaged Goods
-    [114119] = false, -- Crate of Salvage
-    [114120] = false, -- Big Crate of Salvage
     [116980] = true, -- Invader's Forgotten Treasure
     [120319] = true, -- Invader's Damaged Cache
     [120320] = true, -- Invader's Abandoned Sack
 }
+for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do
+    private.CONTAINER_ITEM_ID_LIST[value] = false
+end
 
+-- Mapping of Spell IDs for bonus roll confirmation prompts to raid bosses
+-- In some cases this records only bonus loot, and in other cases this is needed for all loot.
 private.RAID_BOSS_BONUS_SPELL_ID_TO_NPC_ID_MAP = {
     -----------------------------------------------------------------------
     -- World Bosses