Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using BepInEx;
- using BepInEx.Logging;
- using HarmonyLib;
- using System;
- using System.Collections.Generic;
- using System.Collections;
- using System.Diagnostics;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TombsMadnessMod.Patches;
- using UnityEngine;
- using UnityEngine.PlayerLoop;
- using UnityEngine.Windows;
- using DunGen;
- using Microsoft.VisualBasic.Devices;
- namespace TombsMadnessMod
- {
- [BepInPlugin(modGUID, modName, modVersion)]
- public class TombsMadnessModBase : BaseUnityPlugin
- {
- private const string modGUID = "TombVali.TombsMadnessMod";
- private const string modName = "Tomb's Madness Mod";
- private const string modVersion = "1.0.0.0";
- private readonly Harmony harmony = new Harmony(modGUID);
- private static TombsMadnessModBase Instance;
- internal ManualLogSource mls;
- void Awake()
- {
- if(Instance == null)
- {
- Instance = null;
- }
- mls = BepInEx.Logging.Logger.CreateLogSource(modGUID);
- mls.LogInfo("TOMB IN DA SHIZOUCE :)");
- harmony.PatchAll(typeof(TombsMadnessModBase));
- harmony.PatchAll(typeof(PlayerControlerBPatch));
- harmony.PatchAll(typeof(ForestGiantAI));
- }
- void Update()
- {
- GameObject testObject = LC_API.BundleAPI.BundleLoader.GetLoadedAsset<GameObject>("testobject");
- Instantiate(testObject);
- mls.LogInfo("here have a cube");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement