Пример #1
0
        private void Awake()
        {
            Instance = this;
            Log.Init(Logger);
            TranslationUtils.LoadTranslations();
            SetupStatusEffects();
            harmony.PatchAll();
            Utility.AssetHelper.Init();
            Weapons.Greatswords.Init();
            Weapons.AxeForstasca.Init();
            Weapons.AtgeirSilver.Init();
            Weapons.KnifeIron.Init();
            Weapons.ParryingDagger.Init();
            Weapons.BowBlackmetal.Init();
            Weapons.PickaxeBlackmetal.Init();
            Weapons.SpearBlackmetal.Init();
            Weapons.Battleaxes.Init();
            Weapons.FlametalWeapons.Init();

            Weapons.TorchOlympia.Init();

            Weapons.Bombs.Init();
            Weapons.ThrowingAxes.Init();
            //Weapons.Javelins.Init();

            Log.LogInfo("Patching complete");
        }
Пример #2
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");
        }