public static void Init(InitParams initParams) { Debug.Log("main init"); mod = initParams.Mod; //just an example of how to add a mono-behavior to a scene. GameObject gObject = new GameObject("tedious"); TediousTravel tediousTravel = gObject.AddComponent <TediousTravel>(); //after finishing, set the mod's IsReady flag to true. ModManager.Instance.GetMod(initParams.ModTitle).IsReady = true; }
public DaggerfallNativeShipCalculator(TediousTravel controller) { useInns = controller.UseInnsWhenTravelingByShip; }