--[[
	Enchantrix Addon for World of Warcraft(tm).
	Version: 2.5.6768 (SwimmingSeadragon)
	Revision: $Id: EnxConstantsJewelcrafting.lua 6768 2022-01-25 11:42:44Z none $
	URL: http://enchantrix.org/

	Enchantrix Constants for Jewelcrafting / Prospecting

	License:
		This program is free software; you can redistribute it and/or
		modify it under the terms of the GNU General Public License
		as published by the Free Software Foundation; either version 2
		of the License, or (at your option) any later version.

		This program is distributed in the hope that it will be useful,
		but WITHOUT ANY WARRANTY; without even the implied warranty of
		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
		GNU General Public License for more details.

		You should have received a copy of the GNU General Public License
		along with this program(see GPL.txt); if not, write to the Free Software
		Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

	Note:
		This AddOn's source code is specifically designed to work with
		World of Warcraft's interpreted AddOn system.
		You have an implicit license to use this AddOn with these facilities
		since that is its designated purpose as per:
		http://www.fsf.org/licensing/licenses/gpl-faq.html#InterpreterIncompat
]]
Enchantrix_RegisterRevision("$URL: Enchantrix/EnxConstantsJewelcrafting.lua $", "$Rev: 6768 $")

local const = Enchantrix.Constants

-- Classic
local COPPER_ORE = 2770
local TIN_ORE = 2771
local IRON_ORE = 2772
local MITHRIL_ORE = 3858
local THORIUM_ORE = 10620
-- Burning Crusade
local FEL_IRON_ORE = 23424
local ADAMANTITE_ORE = 23425
-- Lich King
local COBALT_ORE = 36909
local SARONITE_ORE = 36912
local TITANIUM_ORE = 36910
-- Cataclysm
local OBSIDIUM_ORE = 53038
local ELEMENTIUM_ORE = 52185
local PYRITE_ORE = 52183
-- Pandaria
local GHOST_IRON_ORE = 72092
local KYPARITE_ORE = 72093
local WHITE_TRILLIUM_ORE = 72103
local BLACK_TRILLIUM_ORE = 72094
-- Warlords
--local BLACKROCK_ORE = 109118	-- not prospectable
--local TRUEIRON_ORE = 109119	-- not prospectable
-- Legion
local LAYSTONE_ORE = 123918
local FELSLATE_ORE = 123919
local EMPYRIUM_ORE = 151564





-- misc results
local COPPERPOWDER = 24186
local TINPOWDER = 24188
local IRONPOWDER = 24190
local MITHRILPOWDER = 24234
local THORIUMPOWDER = 24235
local FELIRONPOWDER = 24242
local ADAMANTITEPOWDER = 24243
local TITANIUMPOWDER = 46849
local VOLATILE_EARTH = 52327
local SPARKLING_SHARD = 90407

-- Classic
local TIGERSEYE = 818
local MALACHITE = 774
local SHADOWGEM = 1210
local LESSERMOONSTONE = 1705
local MOSSAGATE = 1206
local CITRINE = 3864
local JADE = 1529
local AQUAMARINE = 7909
local STARRUBY = 7910
local AZEROTHIANDIAMOND = 12800
local BLUESAPPHIRE = 12361
local LARGEOPAL = 12799
local HUGEEMERALD = 12364

-- Burning Crusade
local BLOODGARNET = 23077
local FLAMESPESSARITE = 21929
local GOLDENDRAENITE = 23112
local DEEPPERIDOT = 23079
local AZUREMOONSTONE = 23117
local SHADOWDRAENITE = 23107
local LIVINGRUBY = 23436
local NOBLETOPAZ = 23439
local DAWNSTONE = 23440
local TALASITE = 23437
local STAROFELUNE = 23438
local NIGHTSEYE = 23441

-- WOTLK
local CHALCEDONY = 36923
local SHADOWCRYSTAL = 36926
local TWILIGHTOPAL = 36927
local HUGECITRINE = 36929
local BLOODSTONE = 36917
local SUNCRYSTAL = 36920
local DARKJADE = 36932
local FORESTEMERALD = 36933
local SCARLETRUBY = 36918
local MONARCHTOPAZ = 36930
local SKYSAPPHIRE = 36924
local AUTMNSGLOW = 36921

local MAJESTICZIRCON = 36925
local AMETRINE = 36931
local KINGSAMBER = 36922
local DREADSTONE = 36928
local CARDINALRUBY = 36919
local EYEOFZUL = 36934

-- Cataclysm
local CARNELIAN = 52177
local ZEPHYRITE = 52178
local ALICITE = 52179
local NIGHTSTONE = 52180
local HESSONITE = 52181
local JASPER = 52182

local INFERNORUBY = 52190
local OCEANSAPPHIRE = 52191
local DREAMEMERALD = 52192
local EMBERTOPAZ = 52193
local DEMONSEYE = 52194
local AMBERJEWEL = 52195

-- new for Pandaria
local TIGEROPAL = 76130
local LAPISLAZULI = 76133
local SUNSTONE = 76134
local ROGUESTONE = 76135
local PANDARIANGARNET = 76136
local ALEXANDRITE = 76137

local PRIMORDIALRUBY = 76131
local RIVERSHEART = 76138
local WILDJADE = 76139
local VERMILIONONYX = 76140
local IMPERIALAMETHYST = 76141
local SUNSRADIANCE = 76142

-- Warlords of Draenor
-- no prospectable gems, only craftable gems

-- new for Legion
local SANGRITE = 130172
local DEEPAMBER = 130173
local AZSUNITE = 130174
local CHAOTICSPINEL = 130175
local SKYSTONE = 130176
local QUEENSOPAL = 130177

local FURYSTONE = 130178
local EYEOFPROPHECY = 130179
local DAWNLIGHT = 130180
local PANDEMONITE = 130181
local MAELSTROMSAPPHIRE = 130182
local SHADOWRUBY = 130183

local REDGEMCHIP = 129099
local GENERICGEMCHIP = 129100
local ORANGEGEMCHIP = 130200
local YELLOWGEMCHIP = 130201
local GREENGEMCHIP = 130202
local BLUEGEMCHIP = 130203
local PURPLEGEMCHIP = 130204

local ARGULITE = 151718
local LIGHTSPHENE = 151719
local CHEMIRINE = 151720
local HESSELIAN = 151721
local FLORIDMALACHITE = 151722
local LABRADORITE = 151579

-- new for BfA
local MONELITE_ORE = 152512
local STORMSILVER_ORE =152579
local PLATINUM_ORE = 152513
local OSMENITE_ORE = 168185

local GEM_KRAKENSEYE = 153706
local GEM_LEVIATHANSEYE = 168635

local GEM_GOLDENBERYL = 153700
local GEM_RUBELIGHT = 153701
local GEM_KUBILINE = 153702
local GEM_SOLSTONE = 153703
local GEM_VIRIDIUM = 153704
local GEM_KYANITE = 153705

local GEM_OWLSEYE = 154120
local GEM_SCARLETDIAMOND = 154121
local GEM_TIDALAMYTHEST = 154122
local GEM_AMBERBLAZE = 154123
local GEM_LARIBOLE = 154124
local GEM_ROYALQUARTZ = 154125

local GEM_SAGEAGATE = 168188
local GEM_DARKOPAL = 168189
local GEM_LAVALAZULI = 168190
local GEM_SEACURRANT = 168191
local GEM_SANDSPINEL = 168192
local GEM_AZSHARINE = 168193

-- new for Shadowlands
local LAESTRITE_ORE = 171828
local SOLENIUM_ORE = 171829
local OXXEIN_ORE = 171830
local PHARDRUM_ORE = 171831
local SINVYR_ORE = 171832
local ELETHIUM_ORE = 171833

local GEM_ANGERSEYE = 173109
local GEM_UMBRYL = 173110
local GEM_ORIBLASE = 173108
local GEM_ESREBIRTH = 173170
local GEM_ESTORMENT = 173171
local GEM_ESSERVITUDE = 173172
local GEM_ESVALOR = 173173




--[[
	Prospectable ores and skill to prospect them
]]
if not const.Classic then
	const.ProspectMinLevels = {
		[COPPER_ORE] = 1,
		[TIN_ORE] = 1,
		[IRON_ORE] = 1,
		[MITHRIL_ORE] = 1,
		[THORIUM_ORE] = 1,
		[FEL_IRON_ORE] = 1,
		[ADAMANTITE_ORE] = 1,
		[COBALT_ORE] = 1,
		[SARONITE_ORE] = 1,
		[TITANIUM_ORE] = 1,
		[OBSIDIUM_ORE] = 1,
		[ELEMENTIUM_ORE] = 1,
		[PYRITE_ORE] = 1,
		[GHOST_IRON_ORE] = 1,
		[KYPARITE_ORE] = 1,
		[WHITE_TRILLIUM_ORE] = 1,
		[BLACK_TRILLIUM_ORE] = 1,
	--	[BLACKROCK] = 600,			-- not prospectable
	--	[TRUEIRON] = 600,			-- not prospectable

		[LAYSTONE_ORE] = 1,
		[FELSLATE_ORE] = 1,
		[EMPYRIUM_ORE] = 1,

		[MONELITE_ORE] = 1,
		[STORMSILVER_ORE] = 1,
		[PLATINUM_ORE] = 1,
		[OSMENITE_ORE] = 1,

		[LAESTRITE_ORE] = 1,
		[SOLENIUM_ORE] = 1,
		[OXXEIN_ORE] = 1,
		[PHARDRUM_ORE] = 1,
		[SINVYR_ORE] = 1,
		[ELETHIUM_ORE] = 1,
	}

elseif const.Classic >= 2 then
    -- Classic through Pandaria skills
    const.ProspectMinLevels = {
        [COPPER_ORE] = 20,
        [TIN_ORE] = 50,
        [IRON_ORE] = 125,
        [MITHRIL_ORE] = 175,
        [THORIUM_ORE] = 250,
        [FEL_IRON_ORE] = 275,
        [ADAMANTITE_ORE] = 325,
-- LK
        [COBALT_ORE] = 350,
        [SARONITE_ORE] = 400,
        [TITANIUM_ORE] = 450,
--[[
        [OBSIDIUM_ORE] = 425,
        [ELEMENTIUM_ORE] = 475,
        [PYRITE_ORE] = 500,

        [GHOST_IRON_ORE] = 500,
        [KYPARITE_ORE] = 550,
        [WHITE_TRILLIUM_ORE] = 600,
        [BLACK_TRILLIUM_ORE] = 600,
]]--

    }

else
	const.ProspectMinLevels = {} -- Classic era
end


-- data is a combination of wowhead, wowwiki, forums, and personal results
const.ProspectableItems = {

	[COPPER_ORE] = {
			[TIGERSEYE] = 0.5,
			[MALACHITE] = 0.5,
			[SHADOWGEM] = 0.1,
			},

	[TIN_ORE] = {
			[SHADOWGEM] = 0.375,
			[LESSERMOONSTONE] = 0.375,
			[MOSSAGATE] = 0.375,

			[CITRINE] = 0.04,
			[JADE] = 0.04,
			[AQUAMARINE] = 0.04,
			},

	[IRON_ORE] = {
			[CITRINE] = 0.375,
			[LESSERMOONSTONE] = 0.375,
			[JADE] = 0.375,

			[AQUAMARINE] = 0.05,
			[STARRUBY] = 0.05,
			},

	[MITHRIL_ORE] = {
			[CITRINE] = 0.375,
			[STARRUBY] = 0.375,
			[AQUAMARINE] = 0.375,

			[AZEROTHIANDIAMOND] = 0.03,
			[BLUESAPPHIRE] = 0.03,
			[LARGEOPAL] = 0.03,
			[HUGEEMERALD] = 0.03,
			},

	[THORIUM_ORE] = {
			[STARRUBY] = 0.15,
			[LARGEOPAL] = 0.30,
			[BLUESAPPHIRE] = 0.30,
			[AZEROTHIANDIAMOND] = 0.30,
			[HUGEEMERALD] = 0.30,
			},

	[FEL_IRON_ORE] = {
			[BLOODGARNET] = 0.19,
			[FLAMESPESSARITE] = 0.19,
			[GOLDENDRAENITE] = 0.19,
			[DEEPPERIDOT] = 0.19,
			[AZUREMOONSTONE] = 0.19,
			[SHADOWDRAENITE] = 0.19,

			[LIVINGRUBY] = 0.011,
			[NOBLETOPAZ] = 0.011,
			[DAWNSTONE] = 0.011,
			[TALASITE] = 0.011,
			[STAROFELUNE] = 0.011,
			[NIGHTSEYE] = 0.011,
			},

	[ADAMANTITE_ORE] = {
			[ADAMANTITEPOWDER] = 1.0,		-- other powders were taken out in 3.0
			[BLOODGARNET] = 0.19,
			[FLAMESPESSARITE] = 0.19,
			[GOLDENDRAENITE] = 0.19,
			[DEEPPERIDOT] = 0.19,
			[AZUREMOONSTONE] = 0.19,
			[SHADOWDRAENITE] = 0.19,

			[LIVINGRUBY] = 0.03,
			[NOBLETOPAZ] = 0.03,
			[DAWNSTONE] = 0.03,
			[TALASITE] = 0.03,
			[STAROFELUNE] = 0.03,
			[NIGHTSEYE] = 0.03,
			},

	[COBALT_ORE] = {
			[CHALCEDONY] = 0.25,
			[HUGECITRINE] = 0.25,
			[BLOODSTONE] = 0.25,
			[SHADOWCRYSTAL] = 0.25,
			[SUNCRYSTAL] = 0.25,
			[DARKJADE] = 0.25,

			[TWILIGHTOPAL] = 0.013,
			[FORESTEMERALD] = 0.013,
			[SCARLETRUBY] = 0.013,
			[MONARCHTOPAZ] = 0.013,
			[SKYSAPPHIRE] = 0.013,
			[AUTMNSGLOW] = 0.013,
			},

	[SARONITE_ORE] = {
			[CHALCEDONY] = 0.2,
			[SHADOWCRYSTAL] = 0.2,
			[DARKJADE] = 0.2,
			[HUGECITRINE] = 0.2,
			[BLOODSTONE] = 0.2,
			[SUNCRYSTAL] = 0.2,

			[FORESTEMERALD] = 0.04,
			[SCARLETRUBY] = 0.04,
			[MONARCHTOPAZ] = 0.04,
			[SKYSAPPHIRE] = 0.04,
			[TWILIGHTOPAL] = 0.04,
			[AUTMNSGLOW] = 0.04,
			},

	[TITANIUM_ORE] = {
			[TITANIUMPOWDER] = 0.65,

			[CHALCEDONY] = 0.25,
			[SHADOWCRYSTAL] = 0.25,
			[DARKJADE] = 0.25,
			[HUGECITRINE] = 0.25,
			[BLOODSTONE] = 0.25,
			[SUNCRYSTAL] = 0.25,

			[FORESTEMERALD] = 0.04,
			[SCARLETRUBY] = 0.04,
			[MONARCHTOPAZ] = 0.04,
			[SKYSAPPHIRE] = 0.04,
			[TWILIGHTOPAL] = 0.04,
			[AUTMNSGLOW] = 0.04,

			[MAJESTICZIRCON] = 0.04,
			[AMETRINE] = 0.04,
			[KINGSAMBER] = 0.04,
			[DREADSTONE] = 0.04,
			[CARDINALRUBY] = 0.04,
			[EYEOFZUL] = 0.04,
			},

	[OBSIDIUM_ORE] = {
			[CARNELIAN] = 0.25,
			[ZEPHYRITE] = 0.25,
			[ALICITE] = 0.25,
			[NIGHTSTONE] = 0.25,
			[HESSONITE] = 0.25,
			[JASPER] = 0.25,

			[INFERNORUBY] = 0.013,
			[OCEANSAPPHIRE] = 0.013,
			[DREAMEMERALD] = 0.013,
			[EMBERTOPAZ] = 0.013,
			[DEMONSEYE] = 0.013,
			[AMBERJEWEL] = 0.013,
			},

	[ELEMENTIUM_ORE] = {
			[CARNELIAN] = 0.18,
			[ZEPHYRITE] = 0.18,
			[ALICITE] = 0.18,
			[NIGHTSTONE] = 0.18,
			[HESSONITE] = 0.18,
			[JASPER] = 0.18,

			[INFERNORUBY] = 0.04,
			[OCEANSAPPHIRE] = 0.04,
			[DREAMEMERALD] = 0.04,
			[EMBERTOPAZ] = 0.04,
			[DEMONSEYE] = 0.04,
			[AMBERJEWEL] = 0.04,
			},

	[PYRITE_ORE] = {
			[VOLATILE_EARTH] = 2.0,

			[CARNELIAN] = 0.17,
			[ZEPHYRITE] = 0.17,
			[ALICITE] = 0.17,
			[NIGHTSTONE] = 0.17,
			[HESSONITE] = 0.17,
			[JASPER] = 0.17,

			[INFERNORUBY] = 0.07,
			[OCEANSAPPHIRE] = 0.07,
			[DREAMEMERALD] = 0.07,
			[EMBERTOPAZ] = 0.07,
			[DEMONSEYE] = 0.07,
			[AMBERJEWEL] = 0.07,
			},

	[GHOST_IRON_ORE] = {
			[SPARKLING_SHARD] = 1.14,

			[TIGEROPAL] = 0.25,
			[LAPISLAZULI] = 0.25,
			[SUNSTONE] = 0.25,
			[ROGUESTONE] = 0.25,
			[PANDARIANGARNET] = 0.25,
			[ALEXANDRITE] = 0.25,

			[PRIMORDIALRUBY] = 0.04,
			[RIVERSHEART] = 0.04,
			[WILDJADE] = 0.04,
			[VERMILIONONYX] = 0.04,
			[IMPERIALAMETHYST] = 0.04,
			[SUNSRADIANCE] = 0.04,
			},

	[KYPARITE_ORE] = {
			[SPARKLING_SHARD] = 1.46,

			[TIGEROPAL] = 0.25,
			[LAPISLAZULI] = 0.25,
			[SUNSTONE] = 0.25,
			[ROGUESTONE] = 0.25,
			[PANDARIANGARNET] = 0.25,
			[ALEXANDRITE] = 0.25,

			[PRIMORDIALRUBY] = 0.04,
			[RIVERSHEART] = 0.04,
			[WILDJADE] = 0.04,
			[VERMILIONONYX] = 0.04,
			[IMPERIALAMETHYST] = 0.04,
			[SUNSRADIANCE] = 0.04,
			},

	[WHITE_TRILLIUM_ORE] = {
			[SPARKLING_SHARD] = 1.65,

			[TIGEROPAL] = 0.18,
			[LAPISLAZULI] = 0.18,
			[SUNSTONE] = 0.18,
			[ROGUESTONE] = 0.18,
			[PANDARIANGARNET] = 0.18,
			[ALEXANDRITE] = 0.18,

			[PRIMORDIALRUBY] = 0.10,
			[RIVERSHEART] = 0.10,
			[WILDJADE] = 0.10,
			[VERMILIONONYX] = 0.10,
			[IMPERIALAMETHYST] = 0.10,
			[SUNSRADIANCE] = 0.10,
			},

	[BLACK_TRILLIUM_ORE] = {
			[SPARKLING_SHARD] = 1.65,

			[TIGEROPAL] = 0.18,
			[LAPISLAZULI] = 0.18,
			[SUNSTONE] = 0.18,
			[ROGUESTONE] = 0.18,
			[PANDARIANGARNET] = 0.18,
			[ALEXANDRITE] = 0.18,

			[PRIMORDIALRUBY] = 0.10,
			[RIVERSHEART] = 0.10,
			[WILDJADE] = 0.10,
			[VERMILIONONYX] = 0.10,
			[IMPERIALAMETHYST] = 0.10,
			[SUNSRADIANCE] = 0.10,
			},

	[LAYSTONE_ORE] = {
			[GENERICGEMCHIP] = 1.0,

			[SANGRITE] = 0.05,
			[DEEPAMBER] = 0.05,
			[AZSUNITE] = 0.05,
			[CHAOTICSPINEL] = 0.05,
			[SKYSTONE] = 0.05,
			[QUEENSOPAL] = 0.05,

			[FURYSTONE] = 0.011,
			[EYEOFPROPHECY] = 0.011,
			[DAWNLIGHT] = 0.011,
			[PANDEMONITE] = 0.011,
			[MAELSTROMSAPPHIRE] = 0.011,
			[SHADOWRUBY] = 0.011,
			},

	[FELSLATE_ORE] = {
			[GENERICGEMCHIP] = 1.0,

			[SANGRITE] = 0.2,
			[DEEPAMBER] = 0.2,
			[AZSUNITE] = 0.2,
			[CHAOTICSPINEL] = 0.2,
			[SKYSTONE] = 0.2,
			[QUEENSOPAL] = 0.2,

			[FURYSTONE] = 0.03,
			[EYEOFPROPHECY] = 0.03,
			[DAWNLIGHT] = 0.03,
			[PANDEMONITE] = 0.03,
			[MAELSTROMSAPPHIRE] = 0.03,
			[SHADOWRUBY] = 0.03,
			},

	[EMPYRIUM_ORE] = {
			[GENERICGEMCHIP] = 1.0,

			[ARGULITE] = 0.03,
			[LIGHTSPHENE] = 0.03,
			[CHEMIRINE] = 0.03,
			[HESSELIAN] = 0.03,
			[FLORIDMALACHITE] = 0.03,
			[LABRADORITE] = 0.03,
            },



	[MONELITE_ORE] = {
			[GEM_KRAKENSEYE] = 0.09,

			[GEM_GOLDENBERYL] = 0.3,
			[GEM_RUBELIGHT] = 0.3,
			[GEM_KUBILINE] = 0.3,
			[GEM_SOLSTONE] = 0.3,
			[GEM_VIRIDIUM] = 0.3,
			[GEM_KYANITE] = 0.3,

			[GEM_OWLSEYE] = 0.03,
			[GEM_SCARLETDIAMOND] = 0.03,
			[GEM_TIDALAMYTHEST] = 0.03,
			[GEM_AMBERBLAZE] = 0.03,
			[GEM_LARIBOLE] = 0.03,
			[GEM_ROYALQUARTZ] = 0.03,
	},

	[STORMSILVER_ORE] = {
			[GEM_KRAKENSEYE] = 0.07,

			[GEM_GOLDENBERYL] = 0.3,
			[GEM_RUBELIGHT] = 0.3,
			[GEM_KUBILINE] = 0.3,
			[GEM_SOLSTONE] = 0.3,
			[GEM_VIRIDIUM] = 0.3,
			[GEM_KYANITE] = 0.3,

			[GEM_OWLSEYE] = 0.08,
			[GEM_SCARLETDIAMOND] = 0.08,
			[GEM_TIDALAMYTHEST] = 0.08,
			[GEM_AMBERBLAZE] = 0.08,
			[GEM_LARIBOLE] = 0.08,
			[GEM_ROYALQUARTZ] = 0.08,

	},

	[PLATINUM_ORE] = {
			[GEM_KRAKENSEYE] = 0.07,

			[GEM_GOLDENBERYL] = 0.3,
			[GEM_RUBELIGHT] = 0.3,
			[GEM_KUBILINE] = 0.3,
			[GEM_SOLSTONE] = 0.3,
			[GEM_VIRIDIUM] = 0.3,
			[GEM_KYANITE] = 0.3,

			[GEM_OWLSEYE] = 0.08,
			[GEM_SCARLETDIAMOND] = 0.08,
			[GEM_TIDALAMYTHEST] = 0.08,
			[GEM_AMBERBLAZE] = 0.08,
			[GEM_LARIBOLE] = 0.08,
			[GEM_ROYALQUARTZ] = 0.08,

	},

	[OSMENITE_ORE] = {
			[GEM_LEVIATHANSEYE] = 0.15,

			[GEM_SAGEAGATE] = 0.2,
			[GEM_DARKOPAL] = 0.2,
			[GEM_LAVALAZULI] = 0.2,
			[GEM_SEACURRANT] = 0.2,
			[GEM_SANDSPINEL] = 0.2,
			[GEM_AZSHARINE] = 0.2,
	},


-- need a lot more ore to get real yields
    [LAESTRITE_ORE] = {
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },

    [SOLENIUM_ORE] = {
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },
    [OXXEIN_ORE] = {
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },
    [PHARDRUM_ORE] ={
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },
    [SINVYR_ORE] = {
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },

    [ELETHIUM_ORE] = {
        [GEM_ANGERSEYE] = 0.3,
        [GEM_UMBRYL] = 0.3,
        [GEM_ORIBLASE] = 0.3,
        [GEM_ESREBIRTH] = 0.02,
        [GEM_ESTORMENT] = 0.02,
        [GEM_ESSERVITUDE] = 0.02,
        [GEM_ESVALOR] = 0.02,
    },

}


-- list of ores from which each item could be prospected
-- copied from ProspectableItems

const.ReverseProspectingSources = {

	[TIGERSEYE] = { COPPER_ORE },
	[MALACHITE] = { COPPER_ORE },
	[SHADOWGEM] = { TIN_ORE, COPPER_ORE },

	[LESSERMOONSTONE] = { IRON_ORE, TIN_ORE },
	[MOSSAGATE] = { TIN_ORE },
	[CITRINE] = { MITHRIL_ORE, IRON_ORE, TIN_ORE },
	[JADE] = { IRON_ORE, TIN_ORE },
	[AQUAMARINE] = { MITHRIL_ORE, IRON_ORE, TIN_ORE },
	[STARRUBY] = { THORIUM_ORE, MITHRIL_ORE, IRON_ORE },

	[AZEROTHIANDIAMOND] = { THORIUM_ORE, MITHRIL_ORE },
	[BLUESAPPHIRE] = { THORIUM_ORE, MITHRIL_ORE },
	[LARGEOPAL] = { THORIUM_ORE, MITHRIL_ORE },
	[HUGEEMERALD] = { THORIUM_ORE, MITHRIL_ORE },

	[BLOODGARNET] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[FLAMESPESSARITE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[GOLDENDRAENITE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[DEEPPERIDOT] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[AZUREMOONSTONE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[SHADOWDRAENITE] = { ADAMANTITE_ORE, FEL_IRON_ORE },

	[LIVINGRUBY] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[NOBLETOPAZ] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[DAWNSTONE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[TALASITE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[STAROFELUNE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[NIGHTSEYE] = { ADAMANTITE_ORE, FEL_IRON_ORE },
	[ADAMANTITEPOWDER] = { ADAMANTITE_ORE },

	[CHALCEDONY] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[HUGECITRINE] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[BLOODSTONE] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[SHADOWCRYSTAL] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[SUNCRYSTAL] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[DARKJADE] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },

	[TWILIGHTOPAL] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[FORESTEMERALD] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[SCARLETRUBY] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[MONARCHTOPAZ] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[SKYSAPPHIRE] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },
	[AUTMNSGLOW] = { TITANIUM_ORE, SARONITE_ORE, COBALT_ORE },

	[MAJESTICZIRCON] = { TITANIUM_ORE },
	[AMETRINE] = { TITANIUM_ORE },
	[KINGSAMBER] = { TITANIUM_ORE },
	[DREADSTONE] = { TITANIUM_ORE },
	[CARDINALRUBY] = { TITANIUM_ORE },
	[EYEOFZUL] = { TITANIUM_ORE },
	[TITANIUMPOWDER] = { TITANIUM_ORE },

	[CARNELIAN] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[ZEPHYRITE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[ALICITE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[NIGHTSTONE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[HESSONITE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[JASPER] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },

	[INFERNORUBY] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[OCEANSAPPHIRE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[DREAMEMERALD] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[EMBERTOPAZ] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[DEMONSEYE] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },
	[AMBERJEWEL] = { OBSIDIUM_ORE, ELEMENTIUM_ORE, PYRITE_ORE },

	[VOLATILE_EARTH] = { PYRITE_ORE },

	[TIGEROPAL] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[LAPISLAZULI] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[SUNSTONE] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[ROGUESTONE] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[PANDARIANGARNET] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[ALEXANDRITE] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },

	[PRIMORDIALRUBY] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[RIVERSHEART] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[WILDJADE] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[VERMILIONONYX] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[IMPERIALAMETHYST] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },
	[SUNSRADIANCE] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },

	[SPARKLING_SHARD] = { GHOST_IRON_ORE, KYPARITE_ORE, WHITE_TRILLIUM_ORE, BLACK_TRILLIUM_ORE },

	[SANGRITE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[DEEPAMBER] = {LAYSTONE_ORE, FELSLATE_ORE },
	[AZSUNITE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[CHAOTICSPINEL] = {LAYSTONE_ORE, FELSLATE_ORE },
	[SKYSTONE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[QUEENSOPAL] = {LAYSTONE_ORE, FELSLATE_ORE },

	[FURYSTONE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[EYEOFPROPHECY] = {LAYSTONE_ORE, FELSLATE_ORE },
	[DAWNLIGHT] = {LAYSTONE_ORE, FELSLATE_ORE },
	[PANDEMONITE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[MAELSTROMSAPPHIRE] = {LAYSTONE_ORE, FELSLATE_ORE },
	[SHADOWRUBY] = {LAYSTONE_ORE, FELSLATE_ORE },

	[REDGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[ORANGEGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[YELLOWGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[GREENGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[BLUEGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[PURPLEGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },
	[GENERICGEMCHIP] = {LAYSTONE_ORE, FELSLATE_ORE },

	[ARGULITE] = { EMPYRIUM_ORE },
	[LIGHTSPHENE] = { EMPYRIUM_ORE },
	[CHEMIRINE] = { EMPYRIUM_ORE },
	[HESSELIAN] = { EMPYRIUM_ORE },
	[FLORIDMALACHITE] = { EMPYRIUM_ORE },
	[LABRADORITE] = { EMPYRIUM_ORE },

	[GEM_GOLDENBERYL] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_RUBELIGHT] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_KUBILINE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_SOLSTONE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_VIRIDIUM] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_KYANITE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },

	[GEM_OWLSEYE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_SCARLETDIAMOND] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_TIDALAMYTHEST] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_AMBERBLAZE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_LARIBOLE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },
	[GEM_ROYALQUARTZ] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },

	[GEM_KRAKENSEYE] = { MONELITE_ORE, STORMSILVER_ORE, PLATINUM_ORE },

	[GEM_SAGEAGATE] = { OSMENITE_ORE },
	[GEM_DARKOPAL] = { OSMENITE_ORE },
	[GEM_LAVALAZULI] = { OSMENITE_ORE },
	[GEM_SEACURRANT] = { OSMENITE_ORE },
	[GEM_SANDSPINEL] = { OSMENITE_ORE },
	[GEM_AZSHARINE] = { OSMENITE_ORE },
	[GEM_LEVIATHANSEYE] = { OSMENITE_ORE },

--- WAG, not enough samples
    [GEM_ANGERSEYE] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_UMBRYL] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_ORIBLASE] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_ESREBIRTH] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_ESTORMENT] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_ESSERVITUDE] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },
    [GEM_ESVALOR] = { LAESTRITE_ORE, SOLENIUM_ORE, OXXEIN_ORE, PHARDRUM_ORE, SINVYR_ORE, ELETHIUM_ORE },


}



-- items that have no use, sell to vendor, and thus get vendor prices
-- most have now been removed from yields
const.VendorTrash =  {
	[COPPERPOWDER] = true,
	[TINPOWDER] = true,
	[IRONPOWDER] = true,
	[MITHRILPOWDER] = true,
	[THORIUMPOWDER] = true,
	[FELIRONPOWDER] = true,
}

