-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAutoBarItemList.lua
1385 lines (1375 loc) · 46.8 KB
/
AutoBarItemList.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- AutoBar
-- Item List Database
--
-- Maintained by Azethoth / Toadkiller of Proudmoore. Original author Saien of Hyjal
-- http://www.curse-gaming.com/en/wow/addons-4430-1-autobar-toadkiller.html
--
AutoBarItemList = {};
local L = AceLibrary("AceLocale-2.1"):GetInstance("AutoBar", true);
local PT = PeriodicTableEmbed:GetInstance("1");
-- Get set as a simple array of itemIds
function AutoBarItemList:GetSetItemsArray(set)
local cacheSet = PT:GetSetTable(set);
local retval = {};
local index = 1;
for i, val in pairs(cacheSet) do
retval[index] = i;
index = index + 1;
end
return retval
end
function AutoBarItemList:OnInitialize()
-- Ok, step 1 is to start getting the raw data from PeriodicTableEmbed. Later we can use more of its functions.
AutoBar_Category_Info["FOOD_PERCENT"]["items"] = self:GetSetItemsArray("foodperc");
AutoBar_Category_Info["WATER_PERCENT"]["items"] = self:GetSetItemsArray("waterperc");
end
-- /script DEFAULT_CHAT_FRAME:AddMessage(tostring(AutoBar_Category_Info["FOOD_PERCENT"]["items"][3]))
AutoBar_Category_Info = { -- global
["CUSTOM"] = {
["description"] = AUTOBAR_CLASS_CUSTOM;
["texture"] = "INV_Misc_Bandage_12",
["custom"] = true;
["items"] = { 19307 },
},
["AAACLEAR"] = {
["description"] = AUTOBAR_CLASS_CLEAR;
["texture"] = "INV_Misc_Fork&Knife";
["items"] = {},
},
["BANDAGES"] = {
["description"] = AUTOBAR_CLASS_BANDAGES;
["texture"] = "INV_Misc_Bandage_12";
["targetted"] = true;
["smarttarget"] = true;
},
["ALTERAC_BANDAGES"] = {
["description"] = AUTOBAR_CLASS_ALTERAC_BANDAGE;
["texture"] = "INV_Misc_Bandage_12";
["targetted"] = true;
["location"] = AUTOBAR_ALTERACVALLEY;
["smarttarget"] = true;
["items"] = { 19307 },
},
["WARSONG_BANDAGES"] = {
["description"] = AUTOBAR_CLASS_WARSONG_BANDAGE;
["texture"] = "INV_Misc_Bandage_12";
["targetted"] = true;
["location"] = AUTOBAR_WARSONGGULCH;
["smarttarget"] = true;
},
["ARATHI_BANDAGES"] = {
["description"] = AUTOBAR_CLASS_ARATHI_BANDAGE;
["texture"] = "INV_Misc_Bandage_12";
["targetted"] = true;
["location"] = AUTOBAR_ARATHIBASIN;
["smarttarget"] = true;
},
["UNGORO_RESTORE"] = {
["description"] = AUTOBAR_CLASS_UNGORORESTORE;
["texture"] = "INV_Misc_Gem_Diamond_02";
["combatonly"] = true;
["targetted"] = true;
["smarttarget"] = true;
["limit"] = { ["downhp"] = { 670 } },
["items"] = { 11562 },
},
["ANTI_VENOM"] = {
["description"] = AUTOBAR_CLASS_ANTIVENOM;
["texture"] = "INV_Drink_14";
["targetted"] = true;
["smarttarget"] = true;
["items"] = {
2633, -- Jungle Remedy 22
6452, -- Anti-Venom 25
6453, -- Strong Anti-Venom 35
19440, -- Powerful Anti-Venom 60
12586, -- Immature Venom Sac
},
},
----------------
["POTION_AGILITY"] = {
["texture"] = "INV_Potion_94",
["description"] = AUTOBAR_CLASS_AGILITYPOTIONS,
["items"] = {
2457, -- Elixir of Minor Agility 4 60
3390, -- Elixir of Lesser Agility 8 60
8949, -- Elixir of Agility 15 60
9187, -- Elixir of Greater Agility 25 60
13452, -- Elixir of the Mongoose 25 60 2% crit
},
},
["POTION_STRENGTH"] = {
["texture"] = "INV_Potion_61",
["description"] = AUTOBAR_CLASS_STRENGTHPOTIONS,
["items"] = {
2457, -- Elixir of Lion's Strength 4 60
3391, -- Elixir of Ogre's Strength 8 60
6662, -- Elixir of Giant Growth 8 60
9206, -- Elixir of Giants 25 60
13453, -- Elixir of Brute Force 18 60 18 sta
},
},
["POTION_FORTITUDE"] = {
["texture"] = "INV_Potion_43",
["description"] = AUTOBAR_CLASS_FORTITUDEPOTIONS,
["items"] = {
2458, -- Elixir of Minor Fortitude 27 60
3825, -- Elixir of Fortitude 120 60
},
},
["POTION_INTELLECT"] = {
["texture"] = "INV_Potion_10",
["description"] = AUTOBAR_CLASS_INTELLECTPOTIONS,
["items"] = {
9179, -- Elixir of Greater Intellect 25 60
13447, -- Elixir of the Sages 18 60 18 spi
},
},
["POTION_WISDOM"] = {
["texture"] = "INV_Potion_06",
["description"] = AUTOBAR_CLASS_WISDOMPOTIONS,
["items"] = {
3383, -- Elixir of Wisdom 6 60
},
},
["POTION_DEFENSE"] = {
["texture"] = "INV_Potion_66",
["description"] = AUTOBAR_CLASS_DEFENSEPOTIONS,
["items"] = {
5997, -- Elixir of Minor Defense 50 60
3389, -- Elixir of Defense 150 60
8951, -- Elixir of Greater Defense 250 60
13445, -- Elixir of Superior Defense 450 60
},
},
["POTION_TROLL"] = {
["texture"] = "INV_Potion_80",
["description"] = AUTOBAR_CLASS_TROLLBLOODPOTIONS,
["items"] = {
3382, -- Weak Troll's Blood Potion 2/5 60
3388, -- Strong Troll's Blood Potion 6/5 60
3826, -- Mighty Troll's Blood Potion 12/5 60
20004, -- Major Troll's Blood Potion 20/5 60
},
},
----------------
["SCROLL_AGILITY"] = {
["texture"] = "INV_Scroll_02",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFAGILITY,
["items"] = {
3012, -- Scroll of Agility
1477, -- Scroll of Agility II
4425, -- Scroll of Agility III
10309, -- Scroll of Agility IV
},
},
["SCROLL_INTELLECT"] = {
["texture"] = "INV_Scroll_01",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFINTELLECT,
["items"] = {
955, -- Scroll of Intellect
2290, -- Scroll of Intellect II
4419, -- Scroll of Intellect III
10308, -- Scroll of Intellect IV
12458, -- Juju Guile 40
},
},
["SCROLL_PROTECTION"] = {
["texture"] = "INV_Scroll_07",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFPROTECTION,
["items"] = {
3013, -- Scroll of Protection
1478, -- Scroll of Protection II
4421, -- Scroll of Protection III
10305, -- Scroll of Protection IV
},
},
["SCROLL_SPIRIT"] = {
["texture"] = "INV_Scroll_01",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFSPIRIT,
["items"] = {
1181, -- Scroll of Spirit
1712, -- Scroll of Spirit II
4424, -- Scroll of Spirit III
10306, -- Scroll of Spirit IV
},
},
["SCROLL_STAMINA"] = {
["texture"] = "INV_Scroll_07",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFSTAMINA,
["items"] = {
1180, -- Scroll of Stamina
1711, -- Scroll of Stamina II
4422, -- Scroll of Stamina III
10307, -- Scroll of Stamina IV
},
},
["SCROLL_STRENGTH"] = {
["texture"] = "INV_Scroll_02",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_SCROLLOFSTRENGTH,
["items"] = {
954, -- Scroll of Strength 5
2289, -- Scroll of Strength II 9
4426, -- Scroll of Strength III 13
10310, -- Scroll of Strength IV 17
12451, -- Juju Power 30
},
},
-- M. upd 1
["BOOZE_STAMINA"] = {
["texture"] = "INV_Drink_04",
["description"] = AUTOBAR_CLASS_BOOZESTAMINA,
["items"] = {
1262, --Keg of Thunderbrew Lager 3
20709, --Rumsey Rum Light 5
17048, --Rumsey Rum 10
18269, --Gordok Green Grog 10
21114, --Rumsey Rum Dark 10
21151, --Rumsey Rum Black Label 15
},
},
["BUFF_ATTACKPOWER"] = {
["texture"] = "INV_Misc_MonsterScales_07",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_BUFF_ATTACKPOWER,
["items"] = {
12820, -- Winterfall Firewater 35 20m
12460, -- Juju Might 40 30m
},
},
["BUFF_ATTACKSPEED"] = {
["texture"] = "INV_Misc_MonsterScales_17",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_BUFF_ATTACKSPEED,
["items"] = {
12450, -- Juju Flurry 3% 20s
},
},
["BUFF_DODGE"] = {
["texture"] = "INV_Misc_MonsterScales_17",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_BUFF_DODGE,
["items"] = {
12459, -- Juju Escape 5% 10s
},
},
["BUFF_FROST"] = {
["texture"] = "INV_Misc_MonsterScales_09",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_BUFF_FROST,
["items"] = {
12457, -- Juju Chill 15 10m
},
},
["BUFF_FIRE"] = {
["texture"] = "INV_Misc_MonsterScales_15",
["targetted"] = true,
["description"] = AUTOBAR_CLASS_BUFF_FIRE,
["items"] = {
12455, -- Juju Ember 15 10m
},
},
----------------
["HEALPOTIONS"] = {
["description"] = AUTOBAR_CLASS_HEALPOTIONS;
["texture"] = "INV_Potion_54";
["limit"] = { ["downhp"] = { 70, 140, 140, 280, 455, 700, 1050} },
},
["PVP_HEALPOTIONS"] = {
["description"] = AUTOBAR_CLASS_PVP6HEALPOTIONS;
["texture"] = "INV_Potion_38";
["items"] = { 18839 },
["limit"] = { ["downhp"] = { 900 } },
},
["HEALTHSTONE"] = {
["description"] = AUTOBAR_CLASS_HEALTHSTONE;
["texture"] = "INV_Stone_04";
},
["WHIPPER_ROOT"] = {
["description"] = AUTOBAR_CLASS_WHIPPER_ROOT;
["texture"] = "INV_Misc_Food_55";
["items"] = { 11951 },
["limit"] = { ["downhp"] = { 700 } },
},
["ALTERAC_HEAL"] = {
["description"] = AUTOBAR_CLASS_BATTLEGROUNDHEALPOTIONS;
["texture"] = "INV_Potion_39";
["battleground"] = true;
["items"] = {
17349, -- Superior Healing Draught
17348, -- Major Healing Draught
},
},
----------------
["MANAPOTIONS"] = {
["description"] = AUTOBAR_CLASS_MANAPOTIONS;
["texture"] = "INV_Potion_76";
["limit"] = { ["downmana"] = { 140, 280, 455, 700, 900, 1350} },
},
["PVP_MANAPOTIONS"] = {
["description"] = AUTOBAR_CLASS_PVP6MANAPOTIONS;
["texture"] = "INV_Potion_80";
["items"] = { 18841 },
["limit"] = { ["downmana"] = { 900 }, },
},
["MANASTONE"] = {
["description"] = AUTOBAR_CLASS_MANASTONE;
["texture"] = "INV_Misc_Gem_Emerald_01";
},
["ALTERAC_MANA"] = {
["description"] = AUTOBAR_CLASS_BATTLEGROUNDMANAPOTIONS;
["texture"] = "INV_Potion_81";
["battleground"] = true;
["items"] = {
17352, -- Superior Mana Draught
17351, -- Major Mana Draught
},
},
["DREAMLESS_SLEEP"] = {
["description"] = AUTOBAR_CLASS_DREAMLESS_SLEEP;
["texture"] = "INV_Potion_83";
["items"] = {
12190, -- Dreamless Sleep
20002, -- Greater Dreamless Sleep
},
},
----------------
["NIGHT_DRAGONS_BREATH"] = {
["description"] = AUTOBAR_CLASS_NIGHT_DRAGONS_BREATH;
["texture"] = "INV_Misc_Food_45";
["limit"] = { ["downhp"] = { 456 }, ["downmana"] = { 456 }, },
["items"] = { 11952 },
},
["REJUVENATION_POTIONS"] = {
["description"] = AUTOBAR_CLASS_REJUVENATION_POTIONS;
["texture"] = "INV_Potion_47";
["items"] = {
2456, -- Minor Rejuvenation Potion
9144, -- Wildvine Potion
18253, -- Major Rejuvenation Potion
},
["limit"] = { ["downhp"] = { 150, 750, 1760 }, ["downmana"] = { 150, 750, 1760 }, },
},
----------------
["BATTLE_STANDARD"] = {
["description"] = AUTOBAR_CLASS_BATTLESTANDARD;
["texture"] = "INV_BannerPVP_01";
["battleground"] = true;
["items"] = {
18606, -- Alliance Battle Standard
18607, -- Horde Battle Standard
},
},
["BATTLE_STANDARD_AV"] = {
["description"] = AUTOBAR_CLASS_BATTLESTANDARDAV;
["texture"] = "INV_BannerPVP_02";
["location"] = AUTOBAR_ALTERACVALLEY;
["items"] = {
19045, -- Stormpike Battle Standard
19046, -- Frostwolf Battle Standard
},
},
["HOURGLASS_SAND"] = {
["description"] = AUTOBAR_CLASS_BATTLESTANDARDAV;
["texture"] = "INV_BannerPVP_02";
["location"] = AUTOBAR_BWL;
["items"] = {
19183, -- Hourglass Sand
},
},
----------------
["RUNES"] = {
["description"] = AUTOBAR_CLASS_DEMONIC_DARK_RUNES;
["texture"] = "Spell_Shadow_SealOfKings";
["limit"] = { ["downmana"] = { 900, 900 }, },
["items"] = {
20520, -- Dark Rune
12662, -- Demonic Rune
},
},
----------------
["PROTECTION_ARCANE"] = {
["description"] = AUTOBAR_CLASS_ARCANE_PROTECTION;
["texture"] = "INV_Potion_83";
["items"] = { 13461 },
},
["PROTECTION_FIRE"] = {
["description"] = AUTOBAR_CLASS_FIRE_PROTECTION;
["texture"] = "INV_Potion_24";
["items"] = { 6049, 13457 },
},
["PROTECTION_FROST"] = {
["description"] = AUTOBAR_CLASS_FROST_PROTECTION;
["texture"] = "INV_Potion_20";
["items"] = { 6050, 13456 },
},
["PROTECTION_NATURE"] = {
["description"] = AUTOBAR_CLASS_NATURE_PROTECTION;
["texture"] = "INV_Potion_22";
["items"] = { 6052, 13458 },
},
["PROTECTION_SHADOW"] = {
["description"] = AUTOBAR_CLASS_SHADOW_PROTECTION;
["texture"] = "INV_Potion_23";
["items"] = { 6048, 13459 },
},
["PROTECTION_SPELLS"] = {
["description"] = AUTOBAR_CLASS_SPELL_PROTECTION;
["texture"] = "INV_Potion_29";
["items"] = {
20080 -- Sheen of Zanza
},
},
["PROTECTION_HOLY"] = {
["description"] = AUTOBAR_CLASS_HOLY_PROTECTION;
["texture"] = "INV_Potion_09";
["items"] = { 6051 },
["noncombat"] = false,
},
["PROTECTION_DAMAGE"] = {
["description"] = AUTOBAR_CLASS_INVULNERABILITY_POTIONS;
["texture"] = "INV_Potion_62";
["items"] = { 3387 },
["noncombat"] = false,
},
["ACTION_POTIONS"] = {
["description"] = AUTOBAR_CLASS_FREE_ACTION_POTION;
["texture"] = "INV_Potion_04";
["items"] = {
20008, -- Living Action Potion
5634, -- Free Action Potion
},
},
----------------
["HEARTHSTONE"] = {
["description"] = AUTOBAR_CLASS_HEARTHSTONE;
["texture"] = "INV_Misc_Rune_01";
["items"] = {
6948, -- HearthStone
},
},
----------------
["WATER"] = {
["description"] = AUTOBAR_CLASS_WATER;
["texture"] = "INV_Drink_10";
["noncombat"] = true,
},
["WATER_PERCENT"] = {
["description"] = AUTOBAR_CLASS_WATER_PERCENT;
["texture"] = "INV_Drink_04";
["noncombat"] = true,
},
["WATER_CONJURED"] = {
["description"] = AUTOBAR_CLASS_WATER_CONJURED;
["texture"] = "INV_Drink_18";
["noncombat"] = true,
},
["WATER_SPIRIT"] = {
["description"] = AUTOBAR_CLASS_WATER_SPIRIT;
["texture"] = "INV_Drink_16";
["noncombat"] = true,
},
["RAGEPOTIONS"] = {
["description"] = AUTOBAR_CLASS_RAGEPOTIONS;
["texture"] = "INV_Potion_24";
},
["ENERGYPOTIONS"] = {
["description"] = AUTOBAR_CLASS_ENERGYPOTIONS;
["texture"] = "INV_Drink_Milk_05";
["items"] = { 7676 },
},
["SWIFTNESSPOTIONS"] = {
["description"] = AUTOBAR_CLASS_SWIFTNESSPOTIONS;
["texture"] = "INV_Potion_95";
["items"] = { 20081, 2459, },
},
["SOULSHARDS"] = {
["description"] = AUTOBAR_CLASS_SOULSHARDS;
["texture"] = "INV_Misc_Gem_Amethyst_02";
["notusable"] = true;
["items"] = { 6265 },
},
--------------
["ARROWS"] = {
["description"] = AUTOBAR_CLASS_ARROWS;
["texture"] = "INV_Ammo_Arrow_02";
["notusable"] = true;
},
["BULLETS"] = {
["description"] = AUTOBAR_CLASS_BULLETS;
["texture"] = "INV_Ammo_Bullet_02";
["notusable"] = true;
},
["THROWN"] = {
["description"] = AUTOBAR_CLASS_THROWNWEAPON;
["texture"] = "INV_Axe_19";
["notusable"] = true;
},
--------------
["FOOD"] = {
["description"] = AUTOBAR_CLASS_FOOD;
["texture"] = "INV_Misc_Food_23";
["noncombat"] = true,
},
["FOOD_PERCENT"] = {
["description"] = AUTOBAR_CLASS_FOOD_PERCENT;
["texture"] = "INV_Misc_Food_60",
["custom"] = true;
},
["FOOD_PET_BREAD"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_BREAD;
["texture"] = "INV_Misc_Food_35";
["noncombat"] = true,
},
["FOOD_PET_CHEESE"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_CHEESE;
["texture"] = "INV_Misc_Food_37";
["noncombat"] = true,
},
["FOOD_PET_FISH"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_FISH;
["texture"] = "INV_Misc_Fish_22";
["noncombat"] = true,
},
["FOOD_PET_FRUIT"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_FRUIT;
["texture"] = "INV_Misc_Food_19";
["noncombat"] = true,
},
["FOOD_PET_FUNGUS"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_FUNGUS;
["texture"] = "INV_Mushroom_05";
["noncombat"] = true,
},
["FOOD_PET_MEAT"] = {
["description"] = AUTOBAR_CLASS_FOOD_PET_MEAT;
["texture"] = "INV_Misc_Food_14";
["noncombat"] = true,
},
["FOOD_WATER"] = {
["description"] = AUTOBAR_CLASS_FOOD_COMBO;
["texture"] = "INV_Misc_Food_33";
["noncombat"] = true,
},
["FOOD_CONJURED"] = {
["description"] = AUTOBAR_CLASS_FOOD_CONJURED;
["texture"] = "INV_Misc_Food_73CinnamonRoll";
["noncombat"] = true,
},
["FOOD_STAMINA"] = {
["description"] = AUTOBAR_CLASS_FOOD_STAMINA;
["texture"] = "INV_Egg_03";
["noncombat"] = true,
},
["FOOD_AGILITY"] = {
["description"] = AUTOBAR_CLASS_FOOD_AGILITY;
["texture"] = "INV_Misc_Fish_13";
["noncombat"] = true,
},
["FOOD_MANAREGEN"] = {
["description"] = AUTOBAR_CLASS_FOOD_MANAREGEN;
["texture"] = "INV_Drink_17";
["noncombat"] = true,
},
["FOOD_HPREGEN"] = {
["description"] = AUTOBAR_CLASS_FOOD_HPREGEN;
["texture"] = "INV_Misc_Fish_19";
["noncombat"] = true,
},
["FOOD_STRENGTH"] = {
["description"] = AUTOBAR_CLASS_FOOD_STRENGTH;
["texture"] = "INV_Misc_Food_41";
["noncombat"] = true,
},
["FOOD_INTELLIGENCE"] = {
["description"] = AUTOBAR_CLASS_FOOD_INTELLIGENCE;
["texture"] = "INV_Misc_Food_63";
["noncombat"] = true,
},
["FOOD_ARATHI"] = {
["description"] = AUTOBAR_CLASS_FOOD_ARATHI;
["texture"] = "INV_Misc_Food_33";
["noncombat"] = true,
["location"] = AUTOBAR_ARATHIBASIN;
["items"] = {
20062,
20063, -- Arathi Basin Field Ration 1074 health 2202 mana 30 sec
20064,
20222, -- Defiler's Enriched Ration 2148 health 4410 mana 30 sec
20223,
20224,
20225,
20226,
20227,
},
},
["FOOD_WARSONG"] = {
["description"] = AUTOBAR_CLASS_FOOD_WARSONG;
["texture"] = "INV_Misc_Food_33";
["noncombat"] = true,
["location"] = AUTOBAR_WARSONGGULCH;
["items"] = { 19062, 19061, 19060 },
},
--------------
["SHARPENINGSTONES"] = {
["description"] = AUTOBAR_CLASS_SHARPENINGSTONES;
["texture"] = "INV_Stone_SharpeningStone_01";
["targetted"] = "WEAPON";
},
["WEIGHTSTONE"] = {
["description"] = AUTOBAR_CLASS_WEIGHTSTONE;
["texture"] = "INV_Stone_WeightStone_02";
["targetted"] = "WEAPON";
},
--------------
["POISON-CRIPPLING"] = {
["description"] = AUTOBAR_CLASS_POISON_CRIPPLING;
["texture"] = "INV_Potion_19";
["targetted"] = "WEAPON";
},
["POISON-DEADLY"] = {
["description"] = AUTOBAR_CLASS_POISON_DEADLY;
["texture"] = "Ability_Rogue_DualWeild";
["targetted"] = "WEAPON";
},
["POISON-INSTANT"] = {
["description"] = AUTOBAR_CLASS_POISON_INSTANT;
["texture"] = "Ability_Poisons";
["targetted"] = "WEAPON";
},
["POISON-MINDNUMBING"] = {
["description"] = AUTOBAR_CLASS_POISON_MINDNUMBING;
["texture"] = "Spell_Nature_NullifyDisease";
["targetted"] = "WEAPON";
},
["POISON-WOUND"] = {
["description"] = AUTOBAR_CLASS_POISON_WOUND;
["texture"] = "Ability_PoisonSting";
["targetted"] = "WEAPON";
},
--------------
["EXPLOSIVES"] = {
["description"] = AUTOBAR_CLASS_EXPLOSIVES;
["texture"] = "INV_Misc_Bomb_08";
["nosmartcast"] = true;
["targetted"] = true;
},
--------------
["MOUNTS_TROLL"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_TROLL;
["texture"] = "Ability_Mount_Raptor";
["noncombat"] = true,
},
["MOUNTS_ORC"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_ORC;
["texture"] = "Ability_Mount_BlackDireWolf",
["noncombat"] = true,
},
["MOUNTS_UNDEAD"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_UNDEAD;
["texture"] = "Ability_Mount_Undeadhorse";
["noncombat"] = true,
},
["MOUNTS_TAUREN"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_TAUREN;
["texture"] = "Ability_Mount_Kodo_01";
["noncombat"] = true,
},
["MOUNTS_HUMAN"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_HUMAN;
["texture"] = "Ability_Mount_NightmareHorse";
["noncombat"] = true,
},
["MOUNTS_NIGHTELF"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_NIGHTELF;
["texture"] = "Ability_Mount_BlackPanther";
["noncombat"] = true,
},
["MOUNTS_DWARF"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_DWARF;
["texture"] = "Ability_Mount_MountainRam";
["noncombat"] = true,
},
["MOUNTS_GNOME"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_GNOME;
["texture"] = "Ability_Mount_MechaStrider";
["noncombat"] = true,
},
["MOUNTS_SPECIAL"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_SPECIAL;
["texture"] = "Ability_Mount_JungleTiger";
["noncombat"] = true,
},
["MOUNTS_QIRAJI"] = {
["description"] = AUTOBAR_CLASS_MOUNTS_QIRAJI;
["texture"] = "INV_Misc_QirajiCrystal_05";
["noncombat"] = true,
["location"] = AUTOBAR_AHN_QIRAJ;
},
--------------
["MANA_OIL"] = {
["texture"] = "INV_Potion_100";
["targetted"] = "WEAPON";
["description"] = AUTOBAR_CLASS_MANA_OIL;
},
["WIZARD_OIL"] = {
["texture"] = "INV_Potion_105";
["targetted"] = "WEAPON";
["description"] = AUTOBAR_CLASS_WIZARD_OIL;
},
["FISHINGITEMS"] = {
["texture"] = "INV_Misc_Food_26",
["targetted"] = "WEAPON",
["description"] = AUTOBAR_CLASS_FISHINGITEMS,
["items"] = {
6529, -- Shiny Bauble
6530, -- Nightcrawlers
6811, -- Aquadynamic Fish Lens
6532, -- Bright Baubles
6533, -- Aquadynamic Fish Attractors
},
},
};
AutoBar_Category_Info["BANDAGES"].items = {
1251, -- Linen Bandage
2581, -- Heavy Linen Bandage
3530, -- Wool Bandage
3531, -- Heavy Wool Bandage
6450, -- Silk Bandage
6451, -- Heavy Silk Bandage
8544, -- Mageweave Bandage
8545, -- Heavy Mageweave Bandage
14529, -- Runecloth Bandage
14530, -- Heavy Runecloth Bandage
23684, -- Crystal Infused Bandage
};
AutoBar_Category_Info["HEALPOTIONS"].items = {
118, -- Minor Healing Potion
858, -- Lesser Healing Potion
4596, -- Discolored Healing Potion
929, -- Healing Potion
1710, -- Greater Healing Potion
3928, -- Superior Healing Potion
13446, -- Major Healing Potion
};
AutoBar_Category_Info["MANAPOTIONS"].items = {
2455, -- Minor Mana Potion
3385, -- Lesser Mana Potion
3827, -- Mana Potion
6149, -- Greater Mana Potion
13443, -- Superior Mana Potion
13444, -- Major Mana Potion
};
AutoBar_Category_Info["HEALTHSTONE"].items = {
5512, -- Minor Healthstone
19004, -- 1pt Talent improved Minor Healthstone
19005, -- 2pt Talent improved Minor Healthstone
5511, -- Lesser Healthstone
19006, -- Talent improved Lesser Healthstone
19007, -- 1pt 2pt Talent improved Lesser Healthstone
5509, -- Healthstone
19008, -- 1pt Talent improved Healthstone
19009, -- 2pt Talent improved Healthstone
5510, -- Greater Healthstone
19010, -- 1pt Talent improved Greater Healthstone
19011, -- 2pt Talent improved Greater Healthstone
9421, -- Major Healthstone
19012, -- 1pt Talent improved Major Healthstone
19013, -- 2pt Talent improved Major Healthstone
};
AutoBar_Category_Info["MANASTONE"].items = {
5514, -- Mana Agate
5513, -- Mana Jade
8007, -- Mana Citrine
8008, -- Mana Ruby
};
AutoBar_Category_Info["WATER"].items = {
19997, -- Harvest Nectar
159, -- Refreshing Spring Water
1179, -- Ice Cold Milk
1205, -- Melon Juice
9451, -- Bubbling Water
1708, -- Sweet Nectar
4791, -- Enchanted Water
10841, -- Goldthorn Tea 25 - 1344
1645, -- Moonberry Juice 35 - 1992
8766, -- Morning Glory Dew 45 - 2934
23161, -- Freshly-Squeezed Lemonade 45 - 2934
--Turtle WoW Water--
80167, -- Kaja'Cola -- Goblin Starting Water
80250, -- Sun-Parched Waterskin -- High Elf Starting Water
};
AutoBar_Category_Info["WATER_SPIRIT"].items = {
13813, -- Blessed Sunfruit Juice 45 - 4410 10
19318, -- Bottled Alterac Spring Water 55 - 4410 10
};
AutoBar_Category_Info["WATER_CONJURED"].items = {
5350, -- Conjured Water
2288, -- Conjured Fresh Water
2136, -- Conjured Purified Water
3772, -- Conjured Spring Water
8077, -- Conjured Mineral Water
8078, -- Conjured Sparkling Water
8079, -- Conjured Crystal Water
};
AutoBar_Category_Info["RAGEPOTIONS"].items = {
5631, -- Rage Potion
5633, -- Great Rage Potion
13442, -- Mighty Rage Potion
};
AutoBar_Category_Info["BULLETS"].items = {
2516, -- Light Shot
4960, -- Flash Pellet
8067, -- Crafted Light Shot
2519, -- Heavy Shot
5568, -- Smooth Pebble
8068, -- Crafted Heavy Shot
3033, -- Solid Shot
8069, -- Crafted Solid Shot
3465, -- Exploding Shot
10512, -- Hi-Impact Mithril Slugs
11284, -- Accurate Slugs
10513, -- Mithril Gyro-Shot 15
19316, -- Ice Threaded Bullet 16.5
15997, -- Thorium Shells 17.5
11630, -- Rockshard Pellets 18
13377, -- Minature Cannon Balls 20.5
};
AutoBar_Category_Info["ARROWS"].items = {
2512, -- Rough Arrow
2515, -- Sharp Arrow
3030, -- Razor Arrow
3464, -- Feathered Arrow
9399, -- Precision Arrow
11285, -- Jagged Arrow 13
19316, -- Ice Threaded Arrow 16.5
18042, -- Thorium Headed Arrow 17.5
12654, -- Doomshot 20
};
AutoBar_Category_Info["THROWN"].items = {
3111, -- Crude Throwing Axe
3463, -- Silver Star
2947, -- Small Throwing Knife
2946, -- Balanced Throwing Dagger
5379, -- Boot Knife
3131, -- Weighted Throwing Axe
4959, -- Throwing Tomahawk
3107, -- Keen Throwing Knife
3135, -- Sharp Throwing Axe
3137, -- Deadly Throwing Axe
3108, -- Heavy Throwing Dagger
15326, -- Gleaming Throwing Axe
15327, -- Wicked Throwing Dagger
13173, -- Flightblade Throwing Axe
};
AutoBar_Category_Info["FOOD_WATER"].items = {
3448, -- Senggin Root Level 1 heals 294 mana 294
2682, -- Cooked Crab Claw Level 5 heals 294 mana 294
13724, -- Enriched Manna Biscuit -- 45
19301, -- Alterac Manna Biscuit -- 51
20031, -- Essence Mango -- 55
};
AutoBar_Category_Info["FOOD_CONJURED"].items = {
5349, -- Conjured Muffin -- Mage - Level 1, heals 61
1113, -- Conjured Bread -- Mage - Level 5, heals 243
1114, -- Conjured Rye -- Mage - Level 15, heals 552
1487, -- Conjured Pumpernickel -- Mage - Level 25, heals 874
8075, -- Conjured Sourdough -- Mage - Level 35, heals 1392
8076, -- Conjured Sweet Roll -- Mage - Level 45, heals 2148
22895, -- Conjured Cinnamon Roll -- Mage - Level 55, heals 3180
};
AutoBar_Category_Info["FOOD"].items = {
2070, -- Darnassian Bleu -- Vendor - Level 1, heals 61
4540, -- Tough Hunk of Bread -- Vendor - Level 1, heals 61
4536, -- Shiny Red Apple -- Vendor - Level 1, heals 61
117, -- Tough Jerky -- Vendor - Level 1, heals 61
4604, -- Forest Mushroom Cap -- Vendor - Level 1, heals 61
16166, -- Bean Soup -- Vendor - Level 1, heals 61
2679, -- Charred Wolf Meat -- Cooking - Level 1, heals 61
2681, -- Roasted Boar Meat -- Cooking - Level 1, heals 61
787, -- Slitherskin Mackerel -- Cooking - Level 1, heals 61
6290, -- Brilliant Smallfish -- Cooking - Level 1, heals 61
2680, -- Spiced Wolf Meat -- Cooking
16167, -- Versicolor Treat -- Vendor - Level 5, heals 243
4605, -- Red-speckled Mushroom -- Vendor - Level 5, heals 243
2287, -- Haunch of Meat -- Vendor - Level 5, heals 243
4537, -- Tel'Abim Banana -- Vendor - Level 5, heals 243
414, -- Dalaran Sharp -- Vendor - Level 5, heals 243
4541, -- Freshly Baked Bread -- Vendor - Level 5, heals 243
6890, -- Smoked Bear Meat -- Cooking - Level 5, heals 243
6316, -- Loch Frenzy Delight -- Cooking - Level 5, heals 243
5095, -- Rainbow Fin Albacore -- Cooking - Level 5, heals 243
4592, -- Longjaw Mud Snapper -- Cooking - Level 5, heals 243
2683, -- Crab Cake -- Cooking
2684, -- Coyote Steak -- Cooking
5473, -- Scorpid Surprise -- Cooking - Level 1, heals 294
733, -- Westfall Stew -- Cooking - Level 5, heals 552
422, -- Dwarven Mild -- Vendor - Level 15, heals 552
4542, -- Moist Cornbread -- Vendor - Level 15, heals 552
4538, -- Snapvine Watermelon -- Vendor - Level 15, heals 552
3770, -- Mutton Chop -- Vendor - Level 15, heals 552
4606, -- Spongy Morel -- Vendor - Level 15, heals 552
16170, -- Steamed Mandu -- Vendor - Level 15, heals 552
5526, -- Clam Chowder -- Cooking - Level 10, heals 552
5478, -- Dig Rat Stew -- Cooking - Level 10, heals 552
2685, -- Succulent Pork Ribs -- Cooking - Level 10, heals 552
4593, -- Bristle Whisker Catfish -- Cooking - Level 15, heals 552
4594, -- Rockscale Cod -- Cooking - Level 25, heals 874
8364, -- Mithril Head Trout -- Cooking - Level 25, heals 874
16169, -- Wild Ricecake -- Vendor - Level 25, heals 874
4607, -- Delicious Cave Mold -- Vendor - Level 25, heals 874
3771, -- Wild Hog Shank -- Vendor - Level 25, heals 874
4539, -- Goldenbark Apple -- Vendor - Level 25, heals 874
4544, -- Mulgore Spice Bread -- Vendor - Level 25, heals 874
1707, -- Stormwind Brie -- Vendor - Level 25, heals 874
13546, -- Bloodbelly Fish -- Quest - Level 25, heals 1392
3927, -- Fine Aged Cheddar -- Vendor - Level 35, heals 1392
4601, -- Soft Banana Bread -- Vendor - Level 35, heals 1392
4602, -- Moon Harvest Pumpkin -- Vendor - Level 35, heals 1392
4599, -- Cured Ham Steak -- Vendor - Level 35, heals 1392
4608, -- Raw Black Truffle -- Vendor - Level 35, heals 1392
18255, -- Runn Tum Tuber -- Uncooked
16168, -- Heaven Peach -- Vendor - Level 35, heals 1392
16766, -- Undermine Clam Chowder -- Cooking - Level 35, heals 1392
6887, -- Spotted Yellowtail -- Cooking - Level 35, heals 1392
13930, -- Filet of Redgill -- Cooking - Level 35, heals 1392
9681, -- Grilled King Crawler Legs -- Quest - Level 35, heals 1392
16171, -- Shinsollo -- Vendor - Level 45, heals 2148
8952, -- Roasted Quail -- Vendor - Level 45, heals 2148
8953, -- Deep Fried Plantains -- Vendor - Level 45, heals 2148
8950, -- Homemade Cherry Pie -- Vendor - Level 45, heals 2148
8932, -- Alterac Swiss -- Vendor - Level 45, heals 2148
8948, -- Dried King Bolete -- Vendor - Level 45, heals 2148
8957, -- Spinefin Halibut -- Vendor - Level 45, heals 2148
13935, -- Baked Salmon -- Cooking - Level 45, heals 2148
13933, -- Lobster Stew -- Cooking - Level 45, heals 2148
23160, -- Friendship Bread -- Vendor - Level 45, heals 2148
--Turtle WoW Food--
80168, -- Crunchy Murloc Fine -- Goblin Starting Food
80251, -- Crusty Flatbread -- High Elf Starting Food
};
AutoBar_Category_Info["FOOD_PET_BREAD"].items = {
5349, -- Conjured Muffin heals 61
4540, -- Tough Hunk of Bread Level 1 heals 61
17197, -- Gingerbread Cookie heals 61
1113, -- Conjured Bread Level 5 heals 243
2683, -- Crab Cake Level 5 heals 243
4541, -- Freshly Baked Bread Level 5 heals 243
1114, -- Conjured Rye Level 15 heals 552
4542, -- Moist Cornbread Level 15 heals 552
1487, -- Conjured Pumpernickel Level 25 heals 874
4544, -- Mulgore Spice Bread Level 25 heals 874
16169, -- Wild Ricecake Level 25 heals 874
8075, -- Conjured Sourdough Level 35 heals 1392
4601, -- Soft Banana Bread Level 35 heals 1392
8076, -- Conjured Sweet Roll Level 45 heals 2148
23160, -- Friendship Bread Level 45 heals 2148
8950, -- Homemade Cherry Pie Level 45 heals 2148
22895, -- Conjured Cinnamon Roll Level 55 heals 3180
};
AutoBar_Category_Info["FOOD_PET_CHEESE"].items = {
2070, -- Darnassian Bleu Level 1, heals 61
414, -- Dalaran Sharp Level 5, heals 243
422, -- Dwarven Mild Level 15, heals 552
1707, -- Stormwind Brie Level 25, heals 874
3927, -- Fine Aged Cheddar Level 35, heals 1392
8932, -- Alterac Swiss Level 45, heals 2148
};
AutoBar_Category_Info["FOOD_PET_FISH"].items = {
6303, -- Raw Slitherskin Mackerel Level 0 30
6291, -- Raw Brilliant Smallfish Level 0 30
6290, -- Brilliant Smallfish Level 0 61
6361, -- Raw Rainbow Fin Albacore Level 5 61
6289, -- Raw Longjaw Mud Snapper Level 5 61