public ShopKiller(MT19337 _rng, Flags _flags, List <Map> _maps, FF1Rom _rom) { rng = _rng; flags = _flags; rom = _rom; maps = _maps; ShopData = new ShopData(rom); QuestItems = new HashSet <Item>(ItemLists.AllQuestItems.Where(i => i <= Item.Gold65000)); }
public ExtSpoiler(FF1Rom _rom, SanityCheckerV2 _checker, ShopData _shopData, ItemNames _itemsText, List <IRewardSource> _itemPlacement, OverworldMap _overworldMap, IncentiveData _incentivesData, GearPermissions _weaponPermissions, GearPermissions _armorPermissions, Flags _flags) { rom = _rom; checker = _checker; shopData = _shopData; itemsText = _itemsText; itemPlacement = _itemPlacement; overworldMap = _overworldMap; incentivesData = _incentivesData; weaponPermissions = _weaponPermissions; armorPermissions = _armorPermissions; flags = _flags; logic = new SCLogic(rom, checker.Main, itemPlacement, flags, false); weapons = Weapon.LoadAllWeapons(rom, flags).ToList(); armors = Armor.LoadAllArmors(rom, flags).ToList(); magicSpells = rom.GetSpells(); }