Ejemplo n.º 1
0
        void Start()
        {
            SmelterMk2 smelterMk2 = new SmelterMk2();
            SmelterMk3 smelterMk3 = new SmelterMk3();

            LDBTool.PostAddDataAction += smelterMk2.AddSmelterMk2Data;
            LDBTool.PostAddDataAction += smelterMk3.AddSmelterMk3Data;
            Harmony.CreateAndPatchAll(typeof(MoreSmelters));
        }
Ejemplo n.º 2
0
        void Start()
        {
            SmelterMk1 smelterMk1 = new SmelterMk1();
            SmelterMk2 smelterMk2 = new SmelterMk2();
            SmelterMk3 smelterMk3 = new SmelterMk3();

            LDBTool.PreAddDataAction  += AddTranslation;
            LDBTool.PostAddDataAction += EditOtherBuildings;
            LDBTool.PostAddDataAction += smelterMk1.EditSmelterData;
            LDBTool.PostAddDataAction += smelterMk2.AddSmelterMk2Data;
            LDBTool.PostAddDataAction += smelterMk3.AddSmelterMk3Data;
            SetBuildBar();
            Harmony.CreateAndPatchAll(typeof(MoreSmelters));
        }