Пример #1
0
        private void Awake()
        {
            Instance = this;
            Log.Init(Logger);

            TranslationUtils.LoadTranslations();
            SetupStatusEffects();

            harmony.PatchAll();

            AssetHelper.Init();
            AssetHelper.SetupVFX();

            hasBarbarianArmor = UtilityFunctions.CheckBarbarian();
            if ((bool)balance["armorChangesEnabled"])
            {
                Armor.ModExistingSets.Init();
                Armor.AddNewSets.Init();
            }
            else
            {
                Log.LogInfo("Terraheim armor changes disabled!");
            }


            Log.LogInfo("Patching complete");
        }