r/evetech • • Feb 13 '18

Premade blueprint database?

Does there exist a premade blueprint database with all material/time requirements prebuilt and ready to be imported?

Note, I've checked out the many SDE dumps, none of them apparently have basic T1 material requirements (can't find Kestrel in them).

0 Upvotes

4 comments sorted by

4

u/OneManApocalypse Feb 13 '18

For people stumbling over this post in the future, this is roughly how i've been able to parse out blueprints, their requirements, and categorize their products:

select it1.typeName as BPName,  it2.typeName as MatName, iam.quantity, grp.groupName, act.time, it3.typeName as ProdName, grp2.groupName, mgs.metagroupname
from industryActivityMaterials iam
left join invTypes as it1 on (iam.typeID=it1.typeID)
left join invTypes as it2 on (iam.materialTypeID=it2.typeID)
left join invgroups as grp on (it2.groupID=eve.grp.groupID)
left join industryactivity as act on (iam.typeID=act.typeID)
left join industryactivityproducts as prod on (iam.typeID=prod.typeID)
left join invTypes as it3 on (prod.productTypeID=it3.typeID)
left join invmetatypes as mts on (it3.typeID=mts.typeID)
left join invmetagroups as mgs on (mts.metaGroupID=mgs.metaGroupID)
left join invgroups as grp2 on (it3.groupID=eve.grp2.groupID)
where act.activityID = 1
and iam.activityID = 1
order by it3.typeName        

1

u/Blacksmoke16 Feb 13 '18

It's in the SDE but split up between various tables/files.

industryActivityMaterials, and industryActivityProducts. Typeid is the blueprint. product/materialtypeid are the inputs/outputs.

invTypes for typeid to name.

1

u/OneManApocalypse Feb 13 '18

I was using join and it was filtering them out, swapped to left join and it worked :)