Ejemplo n.º 1
0
        public Handler(Session session, GameState state, AcquisitionEngine engine)
        {
            _session        = session;
            _state          = state;
            _engine         = engine;
            _engine.Handler = this;

            LoadLockedAreaData();

            // cards
            FileHandler.ForEachFile("cards", MergeCardFile);
        }
        public void LoadFromFile()
        {
            LoadItemsCsv();
            AddAcquisition("DefaultMysteries3bJournals",
                           "Journal of Infamy",
                           "inventory,Mysteries,Appalling Secret,duchess",
                           105,
                           new string[] { "Mysteries,Appalling Secret,333", "Contacts,Connected: The Duchess,5" });

            AddAcquisition("DefaultMysteries4bCorrespondance",
                           "Correspondence Plaque",
                           "inventory,Mysteries,Journal of Infamy,Blackmail",
                           51,
                           new string[] { "Mysteries,Journal of Infamy,50" });

            FileHandler.ForEachFile("acquisitions", MergeAcquisitionsFile);
        }