MentalSpirit
New Member
- Joined
- Nov 15, 2015
- Messages
- 6
My question is how i can get all seeds that can be brought from the store
so far i made something like this
but in the list i see for example :
13 id 16283 name = Clubhead Spore group = 13 category = 51
13 id 16285 name = Wild Ginseng Seed group = 13 category = 51
witch are not available at merchant How i can exclude them without hard coding the IDs ?
so far i made something like this
Code:
foreach (var item in sqlCore.sqlItems.Where(x => x.Value.categoryId == 51 && x.Value.id < 23635))
{
Log(string.Format("id = {3} name = {0} group = {1} category = {2}", item.Value.name, item.Value.itemCategorie.itemGroupId,item.Value.categoryId,item.Value.id));
}
but in the list i see for example :
13 id 16283 name = Clubhead Spore group = 13 category = 51
13 id 16285 name = Wild Ginseng Seed group = 13 category = 51
witch are not available at merchant How i can exclude them without hard coding the IDs ?