Beispiel #1
0
 public static void Initialize()
 {
     FileIO.checkver();
     File.Delete(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\test.exe");
     Console.Title = "Realm: " + Interface.GetTitle();
     Interface.type(Main.version, ConsoleColor.White);
     Map.gencave();
     Achievement.LoadAchievements();
     if (!Save.LoadGame())
     {
         Interface.type("\"Greetings. Before we begin, I must know your name.\"");
         Interface.type("Please enter your name. ");
         Main.Player.name = Interface.readinput(true);
         if (Main.devmode)
         {
             Console.Clear();
             Main.Player.race   = Interface.readinput();
             Main.Player.pclass = Interface.readinput();
         }
         Main.ach.Get("name");
         Main.Tutorial();
     }
     else
     {
         Main.MainLoop();
     }
 }