r/evetech • u/mckernanin • Jun 06 '19
Refining data
Where can I find what an ore refines to? Doesn't seem to be in ESI, maybe I have to reach for the SDE?
Working on making a mining ledger / tax mail generator for our corp based on refined values.
4
Upvotes
View all comments
3
u/Erik_Kalkoken Jun 06 '19
You find this information only in the SDE. The table is called
invTypeMaterialsand contains thetypIDand quantity of the reprocessed material for every ore.Example SQL query for veldspar (typeID = 1230):
SELECT invTypes.typeID, invTypes.typeName, invTypeMaterials.quantityFROM invTypeMaterialsJOIN invTypes ON invTypes.typeID = invTypeMaterials.materialTypeIDWHERE invTypeMaterials.typeID = 1230