2 --[[ decimal, hexadecimal, ccc, elements, group, name
4 {"0", "0000", "0030", "air", "regular", "Whirlwind"},
5 --{"0", "0000", "0030", "air", "regular", "Elite Whirlwind"},
6 --{"0", "0000", "0030", "air", "regular", "Polar Whirlwind"},
7 {"1", "0100", "0030", "air", "regular", "Sonic Boom"},
8 {"2", "0200", "0030", "air", "regular", "Warnado"},
9 {"3", "0300", "0030", "air", "regular", "Lightning Rod"},
10 {"4", "0400", "0030", "earth", "regular", "Bash"},
11 --{"4", "0400", "0030", "earth", "regular", "Birthday Bash"},
12 {"5", "0500", "0030", "earth", "regular", "Terrafin"},
13 --{"5", "0500", "0030", "earth", "regular", "Elite Terrafin"},
14 {"6", "0600", "0030", "earth", "regular", "Dino Rang"},
15 {"7", "0700", "0030", "earth", "regular", "Prism Break"}, --lightcore
16 {"8", "0800", "0030", "fire", "regular", "Sunburn"},
17 {"9", "0900", "0030", "fire", "regular", "Eruptor"}, --lightcore
18 --{"9", "0900", "0030", "fire", "regular", "Elite Eruptor"},
19 --{"9", "0900", "0030", "fire", "regular", "Volcanic Eruptor"},
20 {"10", "0a00", "0030", "fire", "regular", "Ignitor"},
21 {"11", "0b00", "0030", "fire", "regular", "Flameslinger"},
22 --{"11", "0b00", "0030", "fire", "regular", "Cupid Flameslinger"},
23 {"12", "0c00", "0030", "water", "regular", "Zap"},
24 {"13", "0d00", "0030", "water", "regular", "Wham Shell"},
25 {"14", "0e00", "0030", "water", "regular", "Gill Grunt"},
26 --{"14", "0e00", "0030", "water", "regular", "Elite Gill Grunt"},
27 {"15", "0f00", "0030", "water", "regular", "Slam Bam"},
28 --{"15", "0f00", "0030", "water", "regular", "Surfer Slam Bam"},
29 {"16", "1000", "0030", "magic", "regular", "Spyro"},
30 {"17", "1100", "0030", "magic", "regular", "Voodood"},
31 {"18", "1200", "0030", "magic", "regular", "Double Trouble"},
32 --{"18", "1200", "0030", "magic", "regular", "Royal Double Trouble"},
33 {"19", "1300", "0030", "tech", "regular", "Trigger Happy"},
34 --{"19", "1300", "0030", "tech", "regular", "Elite Trigger Happy"},
35 --{"19", "1300", "0030", "tech", "regular", "Springtime Trigger Happy"},
36 {"20", "1400", "0030", "tech", "regular", "Drobot"},
37 {"21", "1500", "0030", "tech", "regular", "Drill Sergeant"},
38 {"22", "1600", "0030", "tech", "regular", "Boomer"},
39 --{"22", "1600", "0030", "tech", "regular", "Lucky Boomer"},
40 {"23", "1700", "0030", "magic", "regular", "Wrecking Ball"},
41 --{"23", "1700", "0030", "magic", "regular", "Buddy Wrecking Ball"},
42 {"24", "1800", "0030", "life", "regular", "Camo"},
43 {"25", "1900", "0030", "life", "regular", "Zook"},
44 {"26", "1a00", "0030", "life", "regular", "Stealth Elf"},
45 --{"26", "1a00", "0030", "life", "regular", "Elite Stealth Elf"},
46 --{"26", "1a00", "0030", "life", "regular", "Dark Stealth Elf"},
47 {"27", "1b00", "0030", "life", "regular", "Stump Smash"},
48 --{"27", "1b00", "0030", "life", "regular", "Autumn Stump Smash"},
49 {"28", "1c00", "0030", "magic", "regular", "Dark Spyro"},
50 --{"28", "1c00", "0030", "magic", "regular", "Elite Spyro"},
51 {"29", "1d00", "0030", "undead", "regular", "Hex"},
52 --{"29", "1d00", "0030", "undead", "regular", "Hallows' Eve Hex"},
53 {"30", "1e00", "0030", "undead", "regular", "Chop Chop"},
54 --{"30", "1e00", "0030", "undead", "regular", "Elite Chop Chop"},
55 --{"30", "1e00", "0030", "undead", "regular", "Grill Master Chop Chop"},
56 {"31", "1f00", "0030", "undead", "regular", "Ghost Roaster"},
57 {"32", "2000", "0030", "undead", "regular", "Cynder"},
58 --{"32", "2000", "0030", "undead", "regular", "Skeletal Cynder"},
60 {"100", "6400", "0030", "air", "giant", "Jet Vac"},
61 {"101", "6500", "0030", "air", "giant", "Swarm"},
62 {"102", "6600", "0030", "earth", "giant", "Crusher"},
63 {"103", "6700", "0030", "earth", "giant", "Flashwing"},
64 --{"103", "6700", "0030", "earth", "giant", "Jade Flashwing"},
65 {"104", "6800", "0030", "fire", "giant", "Hot Head"},
66 {"105", "6900", "0030", "fire", "giant", "Hot Dog"},
67 --{"105", "6900", "0030", "fire", "giant", "Molten Hot Dog"},
68 {"106", "6a00", "0030", "water", "giant", "Chill"},
69 {"107", "6b00", "0030", "water", "giant", "Thumpback"},
70 --{"107", "6b00", "0030", "water", "giant", "Admiral Thumpback"},
71 {"108", "6c00", "0030", "magic", "giant", "Pop Fizz"},
72 --{"108", "6c00", "0030", "magic", "giant", "Hoppity Pop Fizz"},
73 --{"108", "6c00", "0030", "magic", "giant", "Love Potion Pop Fizz"},
74 --{"108", "6c00", "0030", "magic", "giant", "Punch Pop Fizz"},
75 {"109", "6d00", "0030", "magic", "giant", "Nin Jini"},
76 {"110", "6e00", "0030", "tech", "giant", "Bouncer"},
77 {"111", "6f00", "0030", "tech", "giant", "Sprocket"},
78 {"112", "7000", "0030", "life", "giant", "Tree Rex"},
79 --{"112", "7000", "0030", "life", "giant", "Gnarly Tree Rex"},
80 {"113", "7100", "0030", "life", "giant", "Shroomboom"}, --lightcore
81 {"114", "7200", "0030", "undead", "giant", "Eye Broawl"},
82 {"115", "7300", "0030", "undead", "giant", "Fright Rider"},
84 {"200", "c800", "0030", "", "item", "Anvil Rain"},
85 {"201", "c900", "0030", "", "item", "Platinum Treasure Chest"},
86 {"202", "ca00", "0030", "", "item", "Healing Elixer"},
87 {"203", "cb00", "0030", "", "item", "Ghost Pirate Swords"},
88 {"204", "cc00", "0030", "", "item", "Time Twist Hourglass"},
89 {"205", "cd00", "0030", "", "item", "Sky Iron Shield"},
90 {"206", "ce00", "0030", "", "item", "Winged Boots"},
91 {"207", "cf00", "0030", "", "item", "Sparx"},
92 {"208", "d000", "0030", "", "item", "Cannon"},
93 {"209", "d100", "0030", "", "item", "Scorpion Striker"},
95 {"210", "d200", "0230", "magic", "trap", "Biter's Bane"},
96 {"210", "d200", "0830", "magic", "trap", "Sorcerous Skull"},
97 -- legendary Sorcerous Skull?
98 {"210", "d200", "0b30", "magic", "trap", "Axe Of Illusion"},
99 {"210", "d200", "0e30", "magic", "trap", "Arcane Hourglass"},
100 {"210", "d200", "1230", "magic", "trap", "Spell Slapper"},
101 {"210", "d200", "1430", "magic", "trap", "Rune Rocket"},
103 {"211", "d300", "0130", "water", "trap", "Tidal Tiki"},
104 {"211", "d300", "0230", "water", "trap", "Wet Walter"},
105 {"211", "d300", "0630", "water", "trap", "Flood Flask"},
106 -- legendary flood flask?
107 {"211", "d300", "0730", "water", "trap", "Soaking Staff"},
108 {"211", "d300", "0b30", "water", "trap", "Aqua Axe"},
109 {"211", "d300", "1630", "water", "trap", "Frost Helm"},
111 {"212", "d400", "0330", "air", "trap", "Breezy Bird"},
112 {"212", "d400", "0630", "air", "trap", "Drafty Decanter"},
113 {"212", "d400", "0d30", "air", "trap", "Tempest Timer"},
114 {"212", "d400", "1030", "air", "trap", "Cloudy Cobra"},
115 {"212", "d400", "1130", "air", "trap", "Storm Warning"},
116 {"212", "d400", "1830", "air", "trap", "Cycone Saber"},
118 {"213", "d500", "0430", "undead", "trap", "Spirit Sphere"},
119 {"213", "d500", "0830", "undead", "trap", "Spectral Skull"},
120 {"213", "d500", "0b30", "undead", "trap", "Haunted Hatchet"},
121 {"213", "d500", "0c30", "undead", "trap", "Grim Gripper"},
122 {"213", "d500", "1030", "undead", "trap", "Spooky Snake"},
123 {"213", "d500", "1730", "undead", "trap", "Dream Piercer"},
125 {"214", "d600", "0030", "tech", "trap", "tech Totem"},
126 {"214", "d600", "0730", "tech", "trap", "Automatic Angel"},
127 {"214", "d600", "0930", "tech", "trap", "Factory Flower"},
128 {"214", "d600", "0c30", "tech", "trap", "Grabbing Gadget"},
129 {"214", "d600", "1630", "tech", "trap", "Makers Mana"},
130 {"214", "d600", "1a30", "tech", "trap", "Topsy techy"},
132 {"215", "d700", "0530", "fire", "trap", "Eternal Flame"},
133 {"215", "d700", "0930", "fire", "trap", "fire Flower"},
134 {"215", "d700", "1130", "fire", "trap", "Scorching Stopper"},
135 {"215", "d700", "1230", "fire", "trap", "Searing Spinner"},
136 {"215", "d700", "1730", "fire", "trap", "Spark Spear"},
137 {"215", "d700", "1b30", "fire", "trap", "Blazing Belch"},
139 {"216", "d800", "0030", "earth", "trap", "Banded Boulder"},
140 {"216", "d800", "0330", "earth", "trap", "Rock Hawk"},
141 {"216", "d800", "0a30", "earth", "trap", "Slag Hammer"},
142 {"216", "d800", "0e30", "earth", "trap", "Dust Of Time"},
143 {"216", "d800", "1330", "earth", "trap", "Spinning Sandstorm"},
144 {"216", "d800", "1a30", "earth", "trap", "Rubble Trouble"},
146 {"217", "d900", "0330", "life", "trap", "Oak Eagle"},
147 {"217", "d900", "0530", "life", "trap", "Emerald Energy"},
148 {"217", "d900", "0a30", "life", "trap", "Weed Whacker"},
149 {"217", "d900", "1030", "life", "trap", "Seed Serpent"},
150 {"217", "d900", "1830", "life", "trap", "Jade Blade"},
151 {"217", "d900", "1b30", "life", "trap", "Shrub Shrieker"},
153 {"218", "da00", "0030", "dark", "trap", "dark Dagger"},
154 {"218", "da00", "1430", "dark", "trap", "Shadow Spider"},
155 {"218", "da00", "1a30", "dark", "trap", "Ghastly Grimace"},
157 {"219", "db00", "0030", "light", "trap", "Shining Ship"},
158 {"219", "db00", "0f30", "light", "trap", "Heavenly Hawk"},
159 {"219", "db00", "1b30", "light", "trap", "Beam Scream"},
161 {"220", "dc00", "3030", "kaos", "trap", "Kaos trap!"},
162 --{"220", "dc00", "3130", "kaos", "trap", "Ultimate Kaos trap!"}, ?
165 {"230", "e600", "0030", "none", "item", "Hand Of Fate"},
166 {"231", "e700", "0030", "none", "item", "Piggy Bank"},
167 {"232", "e800", "0030", "none", "item", "Rocket Ram"},
168 {"233", "e900", "0030", "none", "item", "Tiki Speaky"},
170 {"300", "2c01", "0030", "none", "location", "Dragons Peak"},
171 {"301", "2d01", "0030", "none", "location", "Empire Of Ice"},
172 {"302", "2e01", "0030", "none", "location", "Pirate Seas"},
173 {"303", "2f01", "0030", "none", "location", "darklight Crypt"},
174 {"304", "3001", "0030", "none", "location", "Volcanic Vault"},
175 {"305", "3101", "0030", "none", "location", "Mirror Of Mystery"},
176 {"306", "3201", "0030", "none", "location", "Nightmare Express"},
177 {"307", "3301", "0030", "none", "location", "Sunscraper Spire"},
178 {"308", "3401", "0030", "none", "location", "Midnight Museum"},
180 {"404", "9401", "0030", "earth", "legendary","Bash"},
181 {"416", "a001", "0030", "magic", "legendary", "Spyro"},
182 --{"", "", "0030", "magic", "legendary", "Deja Vu"},
183 {"419", "a301", "0030", "tech", "legendary", "Trigger Happy"},
184 --{"", "", "0030", "tech", "legendary", "bouncer"},
185 --{"", "", "0030", "tech", "legendary", "jawbreaker"},
186 {"430", "ae01", "0030", "undead", "legendary", "Chop Chop"},
187 --{"", "", "0030", "undead", "legendary", "grim creeper"},
188 --{"", "", "0030", "undead", "legendary", "night shift"},
190 --{"", "", "0030", "air", "legendary", "blades"},
191 --{"", "", "0030", "air", "legendary", "jet vac"},
192 --{"", "", "0030", "air", "legendary", "Free Ranger"},
193 --{"", "", "0030", "life", "legendary", "stealth elf"},
194 --{"", "", "0030", "life", "legendary", "Bushwhack"},
195 --{"", "", "0030", "fire", "legendary", "ignitor"},
196 --{"", "", "0030", "water", "legendary", "slam bam"},
197 --{"", "", "0030", "water", "legendary", "chill"},
199 --{"", "", "0030", "", "legendary", "zoo lou"},
201 {"450", "c201", "0030", "air", "trapmaster", "Gusto"},
202 {"450", "c201", "0234", "air", "trapmaster", "Special Gusto"},
203 {"451", "c301", "0030", "air", "trapmaster", "Thunderbolt"},
204 {"451", "c301", "0234", "air", "trapmaster", "Special Thunderbolt"},
205 {"452", "c401", "0030", "air", "regular", "Fling Kong"},
206 {"453", "c501", "0030", "air", "regular", "Blades"},
207 {"454", "c601", "0030", "earth", "trapmaster", "Wallop"},
208 {"454", "c601", "0234", "earth", "trapmaster", "Special Wallop"},
209 {"455", "c701", "0030", "earth", "trapmaster", "Head Rush"},
210 {"455", "c701", "0234", "earth", "trapmaster", "Nitro Head Rush"},
211 {"456", "c801", "0030", "earth", "regular", "Fist Bump"},
212 {"457", "c901", "0030", "earth", "regular", "Rocky Roll"},
213 --{"457", "c901", "0030", "earth", "regular", "Rocky Egg Roll"},
214 {"458", "ca01", "0030", "fire", "trapmaster", "Wildfire"},
215 {"458", "ca01", "0234", "fire", "trapmaster", "Dark Wildfire"},
216 {"459", "cb01", "0030", "fire", "trapmaster", "Ka Boom"},
217 {"459", "cb01", "0234", "fire", "trapmaster", "Special Ka Boom"},
218 {"460", "cc01", "0030", "fire", "regular", "Trail Blazer"},
219 {"461", "cd01", "0030", "fire", "regular", "Torch"},
220 {"462", "ce01", "0030", "water", "trapmaster", "Snap Shot"},
221 {"462", "ce01", "0234", "water", "trapmaster", "Dark Snap Shot"},
222 --, "water", "trapmaster", "Instant Snap Shot"},
223 --, "water", "trapmaster", "Merry Snap Shot"},
224 {"463", "cf01", "0030", "water", "trapmaster", "Lob Star"},
225 {"463", "cf01", "0234", "water", "trapmaster", "Winterfest Lob Star"},
226 {"464", "d001", "0030", "water", "regular", "Flip Wreck"},
227 {"465", "d101", "0030", "water", "regular", "Echo"},
228 {"466", "d201", "0030", "magic", "trapmaster", "Blastermind"},
229 {"466", "d201", "0234", "magic", "trapmaster", "Special Blastermind"},
230 {"467", "d301", "0030", "magic", "trapmaster", "Enigma"},
231 {"467", "d301", "0234", "magic", "trapmaster", "Special Enigma"},
232 {"468", "d401", "0030", "magic", "regular", "Deja Vu"},
233 {"469", "d501", "0030", "magic", "regular", "Cobra Cadabra"},
234 --{"469", "d501", "0030", "magic", "regular", "Charming Cobra Cadabra"},
235 --{"469", "d501", "0030", "magic", "regular", "King Cobra Cadabra"},
236 {"470", "d601", "0030", "tech", "trapmaster", "Jawbreaker"},
237 {"470", "d601", "0234", "tech", "trapmaster", "Special Jawbreaker"},
238 --{"470", "d601", "0234", "tech", "trapmaster", "Knockout Jawbreaker"},
239 {"471", "d701", "0030", "tech", "trapmaster", "Gearshift"},
240 {"471", "d701", "0234", "tech", "trapmaster", "Special Gearshift"},
241 {"472", "d801", "0030", "tech", "regular", "Chopper"},
242 {"473", "d901", "0030", "tech", "regular", "Tread Head"},
243 {"474", "da01", "0030", "life", "trapmaster", "Bushwhack"},
244 {"474", "da01", "0234", "life", "trapmaster", "Special Bushwhack"},
245 {"475", "db01", "0030", "life", "trapmaster", "Tuff Luck"},
246 {"475", "db01", "0234", "life", "trapmaster", "Special Tuff Luck"},
247 {"476", "dc01", "0030", "life", "regular", "Food Fight"},
248 --{"476", "dc01", "0030", "life", "regular", "Dark Food Fight"},
249 --{"476", "dc01", "0030", "life", "regular", "Frosted Food Fight"},
250 --{"476", "dc01", "0030", "life", "regular", "Instant Food Fight"},
251 {"477", "dd01", "0030", "life", "regular", "High Five"},
252 {"478", "de01", "0030", "undead", "trapmaster", "Krypt King"},
253 {"478", "de01", "0234", "undead", "trapmaster", "Nitro Krypt King"},
254 {"479", "df01", "0030", "undead", "trapmaster", "Short Cut"},
255 {"479", "df01", "0234", "undead", "trapmaster", "Special Short Cut"},
256 {"480", "e001", "0030", "undead", "regular", "Bat Spin"},
257 {"481", "e101", "0030", "undead", "regular", "Funny Bone"},
258 --{"481", "e101", "0030", "undead", "regular", "Fortune Funny Bone"},
259 {"482", "e201", "0030", "light", "trapmaster", "Knight light"},
260 {"482", "e201", "0234", "light", "trapmaster", "Special Knight light"},
261 {"483", "e301", "0030", "light", "regular", "Spotlight"},
262 {"483", "e301", "0234", "light", "regular", "Special Spotlight"},
263 {"484", "e401", "0030", "dark", "trapmaster", "Knight Mare"},
264 {"484", "e401", "0234", "dark", "trapmaster", "Special Knight Mare"},
265 {"485", "e501", "0030", "dark", "regular", "Blackout"},
266 {"485", "e501", "0234", "dark", "regular", "Special Blackout"},
268 {"502", "f601", "0030", "earth", "mini", "Bop"},
269 {"503", "f701", "0030", "magic", "mini", "Spry"},
270 {"504", "f801", "0030", "undead", "mini", "Hijinx"},
271 {"505", "f901", "0030", "earth", "mini", "Terrabite"},
272 {"506", "fa01", "0030", "air", "mini", "Breeze"},
273 {"507", "fb01", "0030", "fire", "mini", "Weeruptor"},
274 --{"507", "fb01", "0030", "fire", "mini", "Eggsellent Weeruptor"},
275 {"508", "fc01", "0030", "air", "mini", "Pet Vac"},
276 --{"508", "fc01", "0030", "air", "mini", "Power Punch Pet Vac"},
277 {"509", "fd01", "0030", "fire", "mini", "Small Fry"},
278 {"510", "fe01", "0030", "tech", "mini", "Drobit"},
279 {"514", "0202", "0030", "water", "mini", "Gill Runt"},
280 {"519", "0702", "0030", "tech", "mini", "Trigger Snappy"},
281 {"526", "0e02", "0030", "life", "mini", "Whisper Elf"},
282 {"540", "1c02", "0030", "life", "mini", "Barkley"},
283 --{"540", "1c02", "0030", "life", "mini", "Gnarly Barkley"},
284 {"541", "1d02", "0030", "water", "mini", "Thumpling"},
285 {"542", "1e02", "0030", "magic", "mini", "mini Jini"},
286 {"543", "1f02", "0030", "undead", "mini", "Eye Small"},
288 {"3000", "b80b", "0030", "air", "SWAPFORCE", "Scratch"},
289 {"3001", "b90b", "0030", "air", "SWAPFORCE", "Pop Thorn"},
290 --{"3001", "b90b", "0030", "air", "SWAPFORCE", "Buttered Pop Thorn"},
291 {"3002", "ba0b", "0030", "earth", "SWAPFORCE", "Slobber Tooth"},
292 --{"3002", "ba0b", "0030", "earth", "SWAPFORCE", "Dark Slobber Tooth"},
293 --{"3002", "ba0b", "0030", "earth", "SWAPFORCE", "Sundae Slobber Tooth"},
294 {"3003", "bb0b", "0030", "earth", "SWAPFORCE", "Scorp"},
295 {"3004", "bc0b", "0138", "fire", "SWAPFORCE", "Hog Wild Fryno"},
296 --{"3004", "bc0b", "0138", "fire", "SWAPFORCE", "Flip flop Fryno"},
297 {"3005", "bd0b", "0030", "fire", "SWAPFORCE", "Smolderdash"},
298 {"3006", "be0b", "0030", "life", "SWAPFORCE", "Bumble Blast"},
299 --{"3006", "be0b", "0030", "life", "SWAPFORCE", "Jolly Bumble Blast"},
300 {"3007", "bf0b", "0030", "life", "SWAPFORCE", "Zoo Lou"},
301 {"3008", "c00b", "0030", "magic", "SWAPFORCE", "Dune Bug"},
302 {"3009", "c10b", "0030", "magic", "SWAPFORCE", "Star Strike"},
303 {--"3009", "c10b", "0030", "magic", "SWAPFORCE", "Enchanted Star Strike"},
304 --{"3009", "c10b", "0030", "magic", "SWAPFORCE", "Mystic Star Strike"},
305 {"3010", "c20b", "0030", "tech", "SWAPFORCE", "Countdown"},
306 --{"3010", "c20b", "0030", "tech", "SWAPFORCE", "Kickoff Countdown"},
307 --{"3010", "c20b", "0030", "tech", "SWAPFORCE", "New Year's Countdown"},
308 {"3011", "c30b", "0030", "tech", "SWAPFORCE", "Wind Up"},
309 {"3012", "c40b", "0030", "undead", "SWAPFORCE", "Roller Brawl"},
310 --{"3012", "c40b", "0030", "undead", "SWAPFORCE", "Snowler Roller Brawl"},
311 {"3013", "c50b", "0030", "undead", "SWAPFORCE", "Grim Creeper"},
312 {"3014", "c60b", "0030", "water", "SWAPFORCE", "Rip Tide"},
313 {"3015", "c70b", "0030", "water", "SWAPFORCE", "Punk Shock"},
316 local function find( main, sub)
318 for k, v in pairs(_names) do
319 if ( v[2] == main and v[3] == sub) then