comparison Constants.lua @ 433:6e55341c3fa4 6.1.0-1

Added support for many new items: 13 more item crafting tokens and 32 more item containers.
author MMOSimca <MMOSimca@gmail.com>
date Tue, 24 Feb 2015 14:38:35 -0500
parents de0795cfbe56
children bf1fbf1c9cb2
comparison
equal deleted inserted replaced
432:845e203ee4f0 433:6e55341c3fa4
35 35
36 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success). 36 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success).
37 -- They reward loot via loot toast popups upon completion of that spell. 37 -- They reward loot via loot toast popups upon completion of that spell.
38 -- SHOW_LOOT_TOAST can be used to track loot. 38 -- SHOW_LOOT_TOAST can be used to track loot.
39 private.LOOT_TOAST_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = { 39 private.LOOT_TOAST_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP = {
40 [142397] = 98134, -- Heroic Cache of Treasures 40 [142397] = 98134,
41 [142901] = 98546, -- Bulging Heroic Cache of Treasures 41 [142901] = 98546,
42 [143506] = 98095, -- Brawler's Pet Supplies 42 [143506] = 98095,
43 [143507] = 94207, -- Fabled Pandaren Pet Supplies 43 [143507] = 94207,
44 [143508] = 89125, -- Sack of Pet Supplies 44 [143508] = 89125,
45 [143509] = 93146, -- Pandaren Spirit Pet Supplies 45 [143509] = 93146,
46 [143510] = 93147, -- Pandaren Spirit Pet Supplies 46 [143510] = 93147,
47 [143511] = 93149, -- Pandaren Spirit Pet Supplies 47 [143511] = 93149,
48 [143512] = 93148, -- Pandaren Spirit Pet Supplies 48 [143512] = 93148,
49 [146885] = 103535, -- Bulging Bag of Charms 49 [146885] = 103535,
50 [147598] = 104014, -- Pouch of Timeless Coins 50 [147598] = 104014,
51 [149222] = 105911, -- Pouch of Enduring Wisdom 51 [149222] = 105911,
52 [149223] = 105912, -- Oversized Pouch of Enduring Wisdom 52 [149223] = 105912,
53 [171513] = 116414, -- Pet Supplies 53 [171513] = 116414,
54 [175767] = 118697, -- Big Bag of Pet Supplies 54 [175767] = 118697,
55 [178508] = 120321, -- Mystery Bag 55 [178508] = 120321,
56 [181405] = 122535,
57 [181952] = 122677,
56 } 58 }
57 59
58 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success). 60 -- Mapping of items that, when right-clicked, fire a spell (which can fail, so we have to check success).
59 -- They reward loot upon completion of that spell. 61 -- They reward loot upon completion of that spell.
60 -- CHAT_MSG_LOOT -must- be used to track loot, which is definitely not ideal. 62 -- CHAT_MSG_LOOT -must- be used to track loot, which is definitely not ideal.
293 -- It also means there is a high margin for bad data since multiple bags can be clicked within a small time frame. 295 -- It also means there is a high margin for bad data since multiple bags can be clicked within a small time frame.
294 -- True = instant cast; false = cast time 296 -- True = instant cast; false = cast time
295 private.CONTAINER_ITEM_ID_LIST = { 297 private.CONTAINER_ITEM_ID_LIST = {
296 [50301] = true, 298 [50301] = true,
297 [54218] = true, 299 [54218] = true,
300 [69856] = true,
298 [97565] = true, 301 [97565] = true,
299 [102137] = true, 302 [102137] = true,
303 [104260] = true,
300 [105751] = true, 304 [105751] = true,
301 [110592] = true, 305 [110592] = true,
306 [111598] = true,
307 [111599] = true,
308 [111600] = true,
309 [114634] = true,
310 [114641] = true,
311 [114648] = true,
312 [114655] = true,
313 [114662] = true,
314 [114669] = true,
302 [116980] = true, 315 [116980] = true,
316 [118065] = true,
317 [118066] = true,
318 [118093] = true,
319 [118094] = true,
303 [118529] = true, 320 [118529] = true,
304 [118530] = true, 321 [118530] = true,
305 [118531] = true, 322 [118531] = true,
323 [119000] = true,
324 [119032] = true,
306 [119036] = true, 325 [119036] = true,
307 [119037] = true, 326 [119037] = true,
327 [119040] = true,
328 [119041] = true,
329 [119042] = true,
330 [119043] = true,
331 [119330] = true,
332 [120142] = true,
333 [120151] = true,
334 [120184] = true,
308 [120319] = true, 335 [120319] = true,
309 [120320] = true, 336 [120320] = true,
337 [120353] = true,
338 [120354] = true,
339 [120355] = true,
340 [120356] = true,
341 [122163] = true,
342 [122241] = true,
343 [122242] = true,
344 [122478] = true,
345 [122479] = true,
346 [122480] = true,
347 [122481] = true,
348 [122482] = true,
349 [122483] = true,
350 [122484] = true,
351 [122485] = true,
352 [122486] = true,
353 [122579] = true,
354 [122608] = true,
355 [122718] = true,
356 [123857] = true,
357 [123858] = true,
358 [123975] = true,
310 } 359 }
311 for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do 360 for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do
312 private.CONTAINER_ITEM_ID_LIST[value] = false 361 private.CONTAINER_ITEM_ID_LIST[value] = false
313 end 362 end
314 363