private void GenerateItemList() { romLocations.ResetLocations(); haveItems = new List <InventoryItemType>(); itemPool = romLocations.GetItemPool(random); var unavailableLocations = romLocations.GetUnavailableLocations(itemPool); for (int i = itemPool.Count; i < 100 - unavailableLocations.Count; i++) { itemPool.Add(InventoryItemType.Nothing); } }
private void GenerateItemList() { romLocations.ResetLocations(); haveItems = new List <ItemType>(); //if (Settings.Default.UseCustomSettings) // itemPool = CreateItemPool(random); //else itemPool = romLocations.GetItemPool(random); var unavailableLocations = romLocations.GetUnavailableLocations(itemPool); for (int i = itemPool.Count; i < 100 - unavailableLocations.Count; i++) { itemPool.Add(ItemType.Nothing); } }