public Market(string name, MarketID ID, int tierUnlocked, int idealScrollCount, int idealArtifactsSold, int restockDay) { this.name = name; this.ID = ID; this.tierUnlocked = tierUnlocked; this.idealArtifactsSold = idealArtifactsSold; Wares = new Dictionary <IngredientID, Listing>(); Scrolls = new Dictionary <SpellID, Listing>(); this.restockDay = restockDay; this.idealScrollCount = idealScrollCount; Definitions.Add(ID, this); }
//Markets public static void SwitchMarket(MarketID market) { currentMarket = Market.Definitions[market]; currentMarket.NewWares = false; LayoutManager.Main.UpdateAll(); }