public ItemList getMats(int amount, double MEMultiplier) { var db = new SDEEntities(); ItemList mats = new ItemList(db.GetMats(this.typeID, 1).ToList()); mats *= amount; mats *= MEMultiplier; return(mats); }
public bool isBaseMat() { var db = new SDEEntities(); return(db.GetMats(this.typeID, 1).Count() == 0); }