private void GenerateItemList()
 {
     romLocations.ResetLocations();
     haveItems       = new List <ItemType>();
     advancementPool = romLocations.GetAdvancementPool();
     fillerPool      = romLocations.GetFillerPool();
 }
Пример #2
0
        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);
            }
        }
Пример #3
0
        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);
            }
        }