forked from yutsuku/BuyPoisons
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPoisons.lua
More file actions
154 lines (141 loc) · 7.5 KB
/
Poisons.lua
File metadata and controls
154 lines (141 loc) · 7.5 KB
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
function BUYPOISONS_LOADPOISONS()
BuyPoisonsItemInfo={};
for i=1, 22, 1 do
BuyPoisonsItemInfo[i]={};
BuyPoisonsItemInfo[i]["Components"]={};
BuyPoisonsItemInfo[i]["Components"][1]={};
BuyPoisonsItemInfo[i]["Components"][2]={};
end
--Load language:
if ( GetLocale() == "frFR" ) then
getglobal("BUYPOISONS_FR")();
elseif ( GetLocale() == "deDE" ) then
getglobal("BUYPOISONS_DE")();
else
getglobal("BUYPOISONS_EN")();
end
--Flash Powder
BuyPoisonsItemInfo[22]["texture"] = "Interface\\Icons\\INV_Misc_Ammo_Gunpowder_03";
BuyPoisonsItemInfo[22]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_FLASH_POWDER;
BuyPoisonsItemInfo[22]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[22]["Vial_Type"]=nil;
--IP6
BuyPoisonsItemInfo[2]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[2]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DETERIORATION;
BuyPoisonsItemInfo[2]["Components"][1]["Quantity"]= 4;
BuyPoisonsItemInfo[2]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--IP5
BuyPoisonsItemInfo[8]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[8]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DETERIORATION;
BuyPoisonsItemInfo[8]["Components"][1]["Quantity"]= 3;
BuyPoisonsItemInfo[8]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--IP4
BuyPoisonsItemInfo[11]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[11]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DETERIORATION;
BuyPoisonsItemInfo[11]["Components"][1]["Quantity"]= 2;
BuyPoisonsItemInfo[11]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--IP3
BuyPoisonsItemInfo[15]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[15]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DETERIORATION;
BuyPoisonsItemInfo[15]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[15]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--IP2
BuyPoisonsItemInfo[18]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[18]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DECAY;
BuyPoisonsItemInfo[18]["Components"][1]["Quantity"]= 3;
BuyPoisonsItemInfo[18]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--IP1
BuyPoisonsItemInfo[21]["texture"] = "Interface\\Icons\\Ability_Poisons";
BuyPoisonsItemInfo[21]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DECAY;
BuyPoisonsItemInfo[21]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[21]["Vial_Type"]=BUYPOISONS_VIAL_EMPTY;
--CP2
BuyPoisonsItemInfo[5]["texture"] = "Interface\\Icons\\Ability_PoisonSting";
BuyPoisonsItemInfo[5]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_AGONY;
BuyPoisonsItemInfo[5]["Components"][1]["Quantity"]= 3;
BuyPoisonsItemInfo[5]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--CP1
BuyPoisonsItemInfo[20]["texture"] = "Interface\\Icons\\Ability_PoisonSting";
BuyPoisonsItemInfo[20]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_PAIN;
BuyPoisonsItemInfo[20]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[20]["Vial_Type"]=BUYPOISONS_VIAL_EMPTY;
--WP4
BuyPoisonsItemInfo[3]["texture"] = "Interface\\Icons\\INV_Misc_Herb_16";
BuyPoisonsItemInfo[3]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_AGONY;
BuyPoisonsItemInfo[3]["Components"][1]["Quantity"]= 2;
BuyPoisonsItemInfo[3]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[3]["Components"][2]["Quantity"]= 2;
BuyPoisonsItemInfo[3]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--WP3
BuyPoisonsItemInfo[9]["texture"] = "Interface\\Icons\\INV_Misc_Herb_16";
BuyPoisonsItemInfo[9]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_AGONY;
BuyPoisonsItemInfo[9]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[9]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[9]["Components"][2]["Quantity"]= 2;
BuyPoisonsItemInfo[9]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--WP2
BuyPoisonsItemInfo[12]["texture"] = "Interface\\Icons\\INV_Misc_Herb_16";
BuyPoisonsItemInfo[12]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_PAIN;
BuyPoisonsItemInfo[12]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[12]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[12]["Components"][2]["Quantity"]= 2;
BuyPoisonsItemInfo[12]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--WP
BuyPoisonsItemInfo[16]["texture"] = "Interface\\Icons\\INV_Misc_Herb_16";
BuyPoisonsItemInfo[16]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_PAIN;
BuyPoisonsItemInfo[16]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[16]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[16]["Components"][2]["Quantity"]= 1;
BuyPoisonsItemInfo[16]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--DP5
BuyPoisonsItemInfo[1]["texture"] = "Interface\\Icons\\Ability_Rogue_DualWeild";
BuyPoisonsItemInfo[1]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[1]["Components"][1]["Quantity"]= 7;
BuyPoisonsItemInfo[1]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--DP4
BuyPoisonsItemInfo[7]["texture"] = "Interface\\Icons\\Ability_Rogue_DualWeild";
BuyPoisonsItemInfo[7]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[7]["Components"][1]["Quantity"]= 5;
BuyPoisonsItemInfo[7]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--DP3
BuyPoisonsItemInfo[10]["texture"] = "Interface\\Icons\\Ability_Rogue_DualWeild";
BuyPoisonsItemInfo[10]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[10]["Components"][1]["Quantity"]= 3;
BuyPoisonsItemInfo[10]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--DP2
BuyPoisonsItemInfo[13]["texture"] = "Interface\\Icons\\Ability_Rogue_DualWeild";
BuyPoisonsItemInfo[13]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[13]["Components"][1]["Quantity"]= 2;
BuyPoisonsItemInfo[13]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--DP
BuyPoisonsItemInfo[17]["texture"] = "Interface\\Icons\\Ability_Rogue_DualWeild";
BuyPoisonsItemInfo[17]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DEATHWEED;
BuyPoisonsItemInfo[17]["Components"][1]["Quantity"]= 1;
BuyPoisonsItemInfo[17]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--MP3
BuyPoisonsItemInfo[4]["texture"] = "Interface\\Icons\\Spell_Nature_NullifyDisease";
BuyPoisonsItemInfo[4]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DETERIORATION;
BuyPoisonsItemInfo[4]["Components"][1]["Quantity"]= 2;
BuyPoisonsItemInfo[4]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_AGONY;
BuyPoisonsItemInfo[4]["Components"][2]["Quantity"]= 2;
BuyPoisonsItemInfo[4]["Vial_Type"]=BUYPOISONS_VIAL_CRYSTAL;
--MP2
BuyPoisonsItemInfo[14]["texture"] = "Interface\\Icons\\Spell_Nature_NullifyDisease";
BuyPoisonsItemInfo[14]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DECAY;
BuyPoisonsItemInfo[14]["Components"][1]["Quantity"]=4;
BuyPoisonsItemInfo[14]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_PAIN;
BuyPoisonsItemInfo[14]["Components"][2]["Quantity"]=4;
BuyPoisonsItemInfo[14]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
--MP1
BuyPoisonsItemInfo[19]["texture"] = "Interface\\Icons\\Spell_Nature_NullifyDisease";
BuyPoisonsItemInfo[19]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_DUST_OF_DECAY;
BuyPoisonsItemInfo[19]["Components"][1]["Quantity"]=1;
BuyPoisonsItemInfo[19]["Components"][2]["Item"]= BUYPOISONS_COMPONENT_ESSENCE_OF_PAIN;
BuyPoisonsItemInfo[19]["Components"][2]["Quantity"]=1;
BuyPoisonsItemInfo[19]["Vial_Type"]=BUYPOISONS_VIAL_EMPTY;
--AP1
BuyPoisonsItemInfo[6]["texture"] = "Interface\\Icons\\Spell_Nature_NullifyPoison";
BuyPoisonsItemInfo[6]["Components"][1]["Item"]= BUYPOISONS_COMPONENT_MAIDENS_ANGUISH;
BuyPoisonsItemInfo[6]["Components"][1]["Quantity"]= 2;
BuyPoisonsItemInfo[6]["Vial_Type"]=BUYPOISONS_VIAL_LEADED;
end