示例#1
0
 public override void Unload()
 {
     mod = null;
     ClickerCompat.Unload();
     CalamityCompat.Unload();
     ClickerAddonCompat.Unload();
 }
示例#2
0
        public override void Load()
        {
            mod = this;
            ClickerCompat.Load();
            if (ModLoader.GetMod("SacredTools") != null)
            {
                LunarCoinCloneID = CustomCurrencyManager.RegisterCurrency((CustomCurrencySystem) new LunarCoinClone(ModLoader.GetMod("SacredTools").ItemType("LunarCoin"), 999L));
            }

            if (!Main.dedServ)
            {
                MiceSky.PlanetTexture = GetTexture("NPCs/Bosses/MicePlanet");
                Filters.Scene["ClickerAddon:Mice"]       = new Filter(new MiceData("FilterMiniTower").UseColor(0.45f, 0.5f, 0.85f).UseOpacity(0.82f), EffectPriority.VeryHigh);
                SkyManager.Instance["ClickerAddon:Mice"] = new MiceSky();
            }
            ClickerClassGlobalItemStats.astralArmor = new bool[3] {
                false, false, false
            };
        }