예제 #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");
        }