1.3 Update
- Updated consumables list (added more and removed some lower tier items) - Added tooltip for options window - Added character control - Updated general styles - Fixed Icon Position
This commit is contained in:
+59
-136
@@ -1,159 +1,82 @@
|
||||
-- consumables.lua
|
||||
|
||||
consumablesCategories = {
|
||||
["Elixirs"] = {
|
||||
{ id = 13452, name = "Elixir of the Mongoose" },
|
||||
{ id = 9187, name = "Elixir of Greater Agility" },
|
||||
{ id = 13453, name = "Elixir of Brute Force" },
|
||||
{ id = 13447, name = "Elixir of the Sages" },
|
||||
{ id = 3825, name = "Elixir of Fortitude" },
|
||||
{ id = 9179, name = "Elixir of Greater Intellect" },
|
||||
{ id = 13454, name = "Greater Arcane Elixir" },
|
||||
{ id = 17708, name = "Elixir of Frost Power" },
|
||||
{ id = 9264, name = "Elixir of Shadow Power" },
|
||||
{ id = 6373, name = "Elixir of Firepower" },
|
||||
{ id = 21546, name = "Elixir of Greater Firepower" },
|
||||
{ id = 18294, name = "Elixir of Greater Water Breathing" },
|
||||
{ id = 9088, name = "Gift of Arthas" },
|
||||
{ id = 9155, name = "Arcane Elixir" },
|
||||
{ id = 13452, name = "Elixir of the Mongoose", texture = "Interface\\Icons\\INV_Potion_32", description = "Increases Agility by 25 and critical strike chance by 2% for 1 hour." },
|
||||
{ id = 9187, name = "Elixir of Greater Agility", texture = "Interface\\Icons\\INV_Potion_94", description = "Increases Agility by 15 for 1 hour." },
|
||||
{ id = 13453, name = "Elixir of Brute Force", texture = "Interface\\Icons\\INV_Potion_80", description = "Increases Strength and Stamina by 18 for 1 hour." },
|
||||
{ id = 13447, name = "Elixir of the Sages", texture = "Interface\\Icons\\INV_Potion_29", description = "Increases Intellect and Spirit by 18 for 1 hour." },
|
||||
{ id = 13454, name = "Greater Arcane Elixir", texture = "Interface\\Icons\\INV_Potion_22", description = "Increases spell damage by up to 35 for 1 hour." },
|
||||
{ id = 11348, name = "Elixir of Superior Defense", texture = "Interface\\Icons\\INV_Potion_52", description = "Increases armor by 450 for 1 hour." },
|
||||
{ id = 17708, name = "Elixir of Frost Power", texture = "Interface\\Icons\\INV_Potion_20", description = "Increases Frost spell damage by up to 15 for 1 hour." },
|
||||
{ id = 3456, name = "Lucidity Potion", texture = "Interface\\Icons\\INV_Potion_17", description = "Restores a significant amount of mana over 10 seconds." },
|
||||
{ id = 36003, name = "Elixir of Nimble Mind", texture = "Interface\\Icons\\INV_Potion_34", description = "Increases haste by 5% for 1 hour." },
|
||||
},
|
||||
["Protection Potions"] = {
|
||||
{ id = 13457, name = "Greater Fire Protection Potion" },
|
||||
{ id = 13456, name = "Greater Frost Protection Potion" },
|
||||
{ id = 13458, name = "Greater Nature Protection Potion" },
|
||||
{ id = 13459, name = "Greater Shadow Protection Potion" },
|
||||
{ id = 13461, name = "Greater Arcane Protection Potion" },
|
||||
{ id = 9036, name = "Magic Resistance Potion" },
|
||||
{ id = 13457, name = "Greater Fire Protection Potion", texture = "Interface\\Icons\\INV_Potion_24", description = "Absorbs 1950 to 3250 Fire damage for 1 hour." },
|
||||
{ id = 13456, name = "Greater Frost Protection Potion", texture = "Interface\\Icons\\INV_Potion_20", description = "Absorbs 1950 to 3250 Frost damage for 1 hour." },
|
||||
{ id = 13458, name = "Greater Nature Protection Potion", texture = "Interface\\Icons\\INV_Potion_22", description = "Absorbs 1950 to 3250 Nature damage for 1 hour." },
|
||||
{ id = 13459, name = "Greater Shadow Protection Potion", texture = "Interface\\Icons\\INV_Potion_23", description = "Absorbs 1950 to 3250 Shadow damage for 1 hour." },
|
||||
{ id = 13461, name = "Greater Arcane Protection Potion", texture = "Interface\\Icons\\INV_Potion_25", description = "Absorbs 1950 to 3250 Arcane damage for 1 hour." },
|
||||
{ id = 36002, name = "Greater Physical Protection Potion", texture = "Interface\\Icons\\INV_Potion_93", description = "Reduces physical damage taken by 10% for 1 hour." },
|
||||
},
|
||||
["Utility Potions"] = {
|
||||
{ id = 20008, name = "Living Action Potion" },
|
||||
{ id = 5634, name = "Free Action Potion" },
|
||||
{ id = 3387, name = "Limited Invulnerability Potion" },
|
||||
{ id = 9030, name = "Restorative Potion" },
|
||||
{ id = 13462, name = "Purification Potion" },
|
||||
{ id = 9172, name = "Invisibility Potion" },
|
||||
{ id = 2459, name = "Swiftness Potion" },
|
||||
["Weapon Enhancements"] = {
|
||||
{ id = 12404, name = "Dense Sharpening Stone", texture = "Interface\\Icons\\INV_Stone_SharpeningStone_02", description = "Increases weapon damage by 8 for 30 minutes." },
|
||||
{ id = 12645, name = "Thorium Shield Spike", texture = "Interface\\Icons\\INV_Shield_13", description = "Attaches a Thorium Spike to a shield, causing 20-30 damage when blocking." },
|
||||
{ id = 20749, name = "Brilliant Mana Oil", texture = "Interface\\Icons\\INV_Potion_100", description = "Increases mana regeneration by 12 and spell damage by up to 25 for 30 minutes." },
|
||||
{ id = 20750, name = "Brilliant Wizard Oil", texture = "Interface\\Icons\\INV_Potion_105", description = "Increases spell damage by up to 36 for 30 minutes." },
|
||||
{ id = 3829, name = "Frost Oil", texture = "Interface\\Icons\\INV_Potion_20", description = "Adds a chance to inflict Frost damage on hit. Lasts 30 minutes." },
|
||||
{ id = 23122, name = "Consecrated Sharpening Stone", texture = "Interface\\Icons\\INV_Stone_02", description = "Increases melee attack power by 100 against undead for 30 minutes." },
|
||||
{ id = 18262, name = "Elemental Sharpening Stone", texture = "Interface\\Icons\\INV_Stone_WeightStone_01", description = "Increases critical strike chance by 2% for 30 minutes." },
|
||||
},
|
||||
["Combat Potions"] = {
|
||||
{ id = 13455, name = "Greater Stoneshield Potion" },
|
||||
{ id = 13442, name = "Mighty Rage Potion" },
|
||||
{ id = 5631, name = "Rage Potion" },
|
||||
{ id = 13455, name = "Greater Stoneshield Potion", texture = "Interface\\Icons\\INV_Potion_67", description = "Increases armor by 2000 for 2 minutes." },
|
||||
{ id = 13442, name = "Mighty Rage Potion", texture = "Interface\\Icons\\INV_Potion_41", description = "Restores 45 to 75 rage and increases Strength by 60 for 20 seconds." },
|
||||
{ id = 20007, name = "Mageblood Potion", texture = "Interface\\Icons\\INV_Potion_45", description = "Regenerates 12 mana every 5 seconds for 1 hour." },
|
||||
{ id = 36004, name = "Potion of Brutal Force", texture = "Interface\\Icons\\INV_Potion_26", description = "Increases Strength by 50 for 1 hour." },
|
||||
},
|
||||
["Mana & Health Potions"] = {
|
||||
{ id = 13444, name = "Major Mana Potion" },
|
||||
{ id = 13446, name = "Major Healing Potion" },
|
||||
{ id = 12190, name = "Dreamless Sleep Potion" },
|
||||
{ id = 2456, name = "Rejuvenation Potion" },
|
||||
},
|
||||
["Juju & Other Buffs"] = {
|
||||
{ id = 12460, name = "Juju Power" },
|
||||
{ id = 12451, name = "Juju Might" },
|
||||
{ id = 12457, name = "Juju Chill" },
|
||||
{ id = 12455, name = "Juju Ember" },
|
||||
{ id = 12450, name = "Juju Flurry" },
|
||||
{ id = 8412, name = "Ground Scorpok Assay" },
|
||||
{ id = 8410, name = "R.O.I.D.S." },
|
||||
{ id = 8411, name = "Lung Juice Cocktail" },
|
||||
{ id = 18284, name = "Kreeg's Stout Beatdown" },
|
||||
{ id = 21151, name = "Rumsey Rum Black Label" },
|
||||
{ id = 12820, name = "Winterfall Firewater" },
|
||||
["Utility Items"] = {
|
||||
{ id = 20008, name = "Living Action Potion", texture = "Interface\\Icons\\INV_Potion_16", description = "Removes movement impairing effects and grants immunity to them for 5 seconds." },
|
||||
{ id = 3387, name = "Limited Invulnerability Potion", texture = "Interface\\Icons\\INV_Potion_62", description = "Makes you immune to physical attacks for 6 seconds." },
|
||||
{ id = 5634, name = "Free Action Potion", texture = "Interface\\Icons\\INV_Potion_04", description = "Grants immunity to stun and movement impairing effects for 30 seconds." },
|
||||
{ id = 9030, name = "Restorative Potion", texture = "Interface\\Icons\\INV_Potion_68", description = "Removes a magic, curse, poison, or disease effect every 5 seconds for 30 seconds." },
|
||||
{ id = 4390, name = "Iron Grenade", texture = "Interface\\Icons\\INV_Misc_Bomb_08", description = "Stuns enemies in a 3-yard radius for 3 seconds." },
|
||||
{ id = 15993, name = "Thorium Grenade", texture = "Interface\\Icons\\INV_Misc_Bomb_09", description = "Stuns enemies in a 3-yard radius for 3 seconds." },
|
||||
{ id = 10577, name = "Goblin Sapper Charge", texture = "Interface\\Icons\\INV_Misc_Bomb_07", description = "Deals 450-750 Fire damage to enemies within 10 yards, also damages you." },
|
||||
},
|
||||
["Food Buffs"] = {
|
||||
{ id = 51711, name = "Sweet Mountain Berry (Agility)" },
|
||||
{ id = 51714, name = "Sweet Mountain Berry (Stamina)" },
|
||||
{ id = 12662, name = "Blasted Boar Lung" },
|
||||
{ id = 21023, name = "Dirge's Kickin' Chimaerok Chops" },
|
||||
{ id = 12210, name = "Tender Wolf Steak" },
|
||||
{ id = 12217, name = "Dragonbreath Chili" },
|
||||
{ id = 18254, name = "Runn Tum Tuber Surprise" },
|
||||
{ id = 13931, name = "Nightfin Soup" },
|
||||
{ id = 21217, name = "Sagefish Delight" },
|
||||
{ id = 13928, name = "Grilled Squid" },
|
||||
{ id = 20452, name = "Smoked Desert Dumplings" },
|
||||
{ id = 12202, name = "Roast Raptor" },
|
||||
}
|
||||
{ id = 21023, name = "Dirge's Kickin' Chimaerok Chops", texture = "Interface\\Icons\\INV_Misc_Food_65", description = "Increases Strength by 25 for 1 hour." },
|
||||
{ id = 18254, name = "Runn Tum Tuber Surprise", texture = "Interface\\Icons\\INV_Misc_Food_63", description = "Increases Intellect by 10 for 1 hour." },
|
||||
{ id = 13931, name = "Nightfin Soup", texture = "Interface\\Icons\\INV_Drink_17", description = "Restores 8 mana every 5 seconds for 1 hour." },
|
||||
{ id = 20452, name = "Smoked Desert Dumplings", texture = "Interface\\Icons\\INV_Misc_Food_64", description = "Increases Strength by 20 for 1 hour." },
|
||||
{ id = 51711, name = "Sweet Mountain Berry (Agility)", texture = "Interface\\Icons\\INV_Misc_Food_40", description = "Increases Agility by 10 for 1 hour." },
|
||||
{ id = 51714, name = "Sweet Mountain Berry (Stamina)", texture = "Interface\\Icons\\INV_Misc_Food_40", description = "Increases Stamina by 10 for 1 hour." },
|
||||
},
|
||||
["Special Buffs"] = {
|
||||
{ id = 18269, name = "Hardened Mushrooms", texture = "Interface\\Icons\\INV_Mushroom_08", description = "Increases Stamina by 25 for 1 hour." },
|
||||
{ id = 18270, name = "Power Mushrooms", texture = "Interface\\Icons\\INV_Mushroom_11", description = "Increases Strength by 20 for 1 hour." },
|
||||
{ id = 21151, name = "Rumsey Rum Black Label", texture = "Interface\\Icons\\INV_Drink_04", description = "Increases Stamina by 15 for 15 minutes." },
|
||||
{ id = 12460, name = "Juju Power", texture = "Interface\\Icons\\INV_Misc_MonsterScales_07", description = "Increases Strength by 30 for 30 minutes." },
|
||||
{ id = 12451, name = "Juju Might", texture = "Interface\\Icons\\INV_Misc_MonsterScales_11", description = "Increases Attack Power by 40 for 30 minutes." },
|
||||
{ id = 12455, name = "Juju Ember", texture = "Interface\\Icons\\INV_Misc_MonsterScales_15", description = "Increases Fire Resistance by 15 for 30 minutes." },
|
||||
{ id = 12820, name = "Winterfall Firewater", texture = "Interface\\Icons\\INV_Misc_Powder_Mana", description = "Increases Attack Power by 35 for 20 minutes." },
|
||||
{ id = 36001, name = "Nordanaar Herbal Tea", texture = "Interface\\Icons\\INV_Drink_Milk_05", description = "Restores 525 to 875 health and 810 to 1350 mana." },
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
consumablesList = {}
|
||||
consumablesNameToID = {}
|
||||
consumablesTexture = {}
|
||||
consumablesDescription = {}
|
||||
|
||||
for categoryName, consumables in pairs(consumablesCategories) do
|
||||
for _, consumable in ipairs(consumables) do
|
||||
consumablesList[consumable.id] = consumable.name
|
||||
consumablesNameToID[consumable.name] = consumable.id
|
||||
consumablesTexture[consumable.id] = consumable.texture
|
||||
consumablesDescription[consumable.id] = consumable.description
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
consumablesTextures = {
|
||||
-- Elixirs
|
||||
[13452] = "Interface\\Icons\\INV_Potion_32", -- Elixir of the Mongoose
|
||||
[9187] = "Interface\\Icons\\INV_Potion_94", -- Elixir of Greater Agility
|
||||
[13453] = "Interface\\Icons\\INV_Potion_80", -- Elixir of Brute Force
|
||||
[13447] = "Interface\\Icons\\INV_Potion_29", -- Elixir of the Sages
|
||||
[3825] = "Interface\\Icons\\INV_Potion_43", -- Elixir of Fortitude
|
||||
[9179] = "Interface\\Icons\\INV_Potion_10", -- Elixir of Greater Intellect
|
||||
[13454] = "Interface\\Icons\\INV_Potion_22", -- Greater Arcane Elixir
|
||||
[17708] = "Interface\\Icons\\INV_Potion_20", -- Elixir of Frost Power
|
||||
[9264] = "Interface\\Icons\\INV_Potion_48", -- Elixir of Shadow Power
|
||||
[6373] = "Interface\\Icons\\INV_Potion_38", -- Elixir of Firepower
|
||||
[21546] = "Interface\\Icons\\INV_Potion_24", -- Elixir of Greater Firepower
|
||||
[18294] = "Interface\\Icons\\INV_Potion_13", -- Elixir of Greater Water Breathing
|
||||
[9088] = "Interface\\Icons\\INV_Potion_16", -- Gift of Arthas
|
||||
[9155] = "Interface\\Icons\\INV_Potion_83", -- Arcane Elixir
|
||||
|
||||
-- Protection Potions
|
||||
[13457] = "Interface\\Icons\\INV_Potion_24", -- Greater Fire Protection Potion
|
||||
[13456] = "Interface\\Icons\\INV_Potion_20", -- Greater Frost Protection Potion
|
||||
[13458] = "Interface\\Icons\\INV_Potion_22", -- Greater Nature Protection Potion
|
||||
[13459] = "Interface\\Icons\\INV_Potion_23", -- Greater Shadow Protection Potion
|
||||
[13461] = "Interface\\Icons\\INV_Potion_25", -- Greater Arcane Protection Potion
|
||||
[9036] = "Interface\\Icons\\INV_Potion_81", -- Magic Resistance Potion
|
||||
|
||||
-- Utility Potions
|
||||
[20008] = "Interface\\Icons\\INV_Potion_16", -- Living Action Potion
|
||||
[5634] = "Interface\\Icons\\INV_Potion_04", -- Free Action Potion
|
||||
[3387] = "Interface\\Icons\\INV_Potion_62", -- Limited Invulnerability Potion
|
||||
[9030] = "Interface\\Icons\\INV_Potion_68", -- Restorative Potion
|
||||
[13462] = "Interface\\Icons\\INV_Potion_27", -- Purification Potion
|
||||
[9172] = "Interface\\Icons\\INV_Potion_31", -- Invisibility Potion
|
||||
[2459] = "Interface\\Icons\\INV_Potion_95", -- Swiftness Potion
|
||||
|
||||
-- Combat Potions
|
||||
[13455] = "Interface\\Icons\\INV_Potion_67", -- Greater Stoneshield Potion
|
||||
[13442] = "Interface\\Icons\\INV_Potion_41", -- Mighty Rage Potion
|
||||
[5631] = "Interface\\Icons\\INV_Potion_24", -- Rage Potion
|
||||
|
||||
-- Mana & Health Potions
|
||||
[13444] = "Interface\\Icons\\INV_Potion_76", -- Major Mana Potion
|
||||
[13446] = "Interface\\Icons\\INV_Potion_54", -- Major Healing Potion
|
||||
[12190] = "Interface\\Icons\\INV_Potion_83", -- Dreamless Sleep Potion
|
||||
[2456] = "Interface\\Icons\\INV_Potion_01", -- Minor Rejuvenation Potion
|
||||
|
||||
-- Juju & Other Buffs
|
||||
[12460] = "Interface\\Icons\\INV_Misc_MonsterScales_07", -- Juju Power
|
||||
[12451] = "Interface\\Icons\\INV_Misc_MonsterScales_11", -- Juju Might
|
||||
[12457] = "Interface\\Icons\\INV_Misc_MonsterScales_09", -- Juju Chill
|
||||
[12455] = "Interface\\Icons\\INV_Misc_MonsterScales_15", -- Juju Ember
|
||||
[12450] = "Interface\\Icons\\INV_Misc_MonsterScales_17", -- Juju Flurry
|
||||
[8412] = "Interface\\Icons\\INV_Misc_Food_54", -- Ground Scorpok Assay
|
||||
[8410] = "Interface\\Icons\\INV_Misc_Food_54", -- R.O.I.D.S.
|
||||
[8411] = "Interface\\Icons\\INV_Drink_17", -- Lung Juice Cocktail
|
||||
[18284] = "Interface\\Icons\\INV_Drink_05", -- Kreeg's Stout Beatdown
|
||||
[21151] = "Interface\\Icons\\INV_Drink_04", -- Rumsey Rum Black Label
|
||||
[12820] = "Interface\\Icons\\INV_Misc_Powder_Mana", -- Winterfall Firewater
|
||||
|
||||
-- Food Buffs
|
||||
[12662] = "Interface\\Icons\\INV_Misc_Organ_03", -- Demonic Rune (Assuming for Blasted Boar Lung)
|
||||
[21023] = "Interface\\Icons\\INV_Misc_Food_47", -- Dirge's Kickin' Chimaerok Chops
|
||||
[12210] = "Interface\\Icons\\INV_Misc_Food_47", -- Roast Raptor
|
||||
[12217] = "Interface\\Icons\\INV_Misc_Food_41", -- Dragonbreath Chili
|
||||
[18254] = "Interface\\Icons\\INV_Misc_Food_64", -- Runn Tum Tuber Surprise
|
||||
[13931] = "Interface\\Icons\\INV_Misc_Food_47", -- Nightfin Soup
|
||||
[21217] = "Interface\\Icons\\INV_Misc_Food_64", -- Sagefish Delight
|
||||
[13928] = "Interface\\Icons\\INV_Misc_Food_51", -- Grilled Squid
|
||||
[20452] = "Interface\\Icons\\INV_Misc_Food_62", -- Smoked Desert Dumplings
|
||||
[12202] = "Interface\\Icons\\INV_Misc_Food_14", -- Tiger Meat (Assuming for Roast Raptor)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user