public static void Bellum(Persona Ego, bool yuno = false, params Persona[] hostis) { Mechanicae.Chronus(Ego, yuno, hostis); Mechanicae.Rapina(Ego, hostis); Ego.Tempus = 0; Agrum.Centuria[0] += Agrum.Tempus; Agrum.Aeon(); Agrum.Tempus = 0; Σ.rector = "e"; }
public static void Utor(Persona Ego) { do { Console.WriteLine(intro); Σ.rector = Console.ReadLine().ToLower(); switch (Σ.rector) { case "save": Ego.Salvare(); break; case "doc": Console.WriteLine(scriptum); Console.ReadLine(); break; case "mechanics": Mechanicae.Utor(); break; case "act": Actum(Ego); break; case "inventory": do { Ego.ArchRec(); Console.WriteLine("Type to exit:"); Σ.rector = Console.ReadLine(); } while (Σ.rector == ""); break; case "shop": do { Forum(Ego); } while (Σ.rector == ""); break; case "battle": Mechanicae.Chronus(Ego); break; case "help": Console.WriteLine(aux); Console.ReadLine(); break; case "roll4": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(4, Σ.unus); Console.ReadLine(); break; case "roll6": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(6, Σ.unus); Console.ReadLine(); break; case "roll8": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(8, Σ.unus); Console.ReadLine(); break; case "roll10": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(10, Σ.unus); Console.ReadLine(); break; case "roll12": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(12, Σ.unus); Console.ReadLine(); break; case "roll20": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(20, Σ.unus); Console.ReadLine(); break; case "roll100": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(1000, Σ.unus); Console.ReadLine(); break; case "roll%": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(100, Σ.unus); Console.ReadLine(); break; case "froll": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.LVolvere(Σ.unus); Console.ReadLine(); break; default: break; } } while(Σ.rector != "exit"); // Environment.Exit(0); }
public static void Generalis(Persona Ego) { switch (Σ.rector) { case "look": Adventum.Verso(Ego); foreach (var u in Ego.Regio.Amplexus) { if (Regio.Labor(u.Key).lumen <= Agrum.Centuria[8] && Regio.Labor(u.Key).nox >= Agrum.Centuria[8]) { Console.WriteLine(u.Key); } } break; case "go": Console.WriteLine("Whither?"); Σ.rector = Console.ReadLine(); if (Ego.Regio.Amplexus.ContainsKey(Σ.rector)) { if (Regio.Labor(Σ.rector).lumen <= Agrum.Centuria[8] && Regio.Labor(Σ.rector).nox >= Agrum.Centuria[8]) { Ego.Regio.Iter(Σ.rector, Ego); } else { Console.WriteLine("That place is currently closed."); } } else { Console.WriteLine("That place does not exist or is not avaliable from here."); } break; case "save": Ego.Salvare(); break; case "doc": Console.WriteLine(scriptum); Console.ReadLine(); break; case "inventory": do { Ego.ArchRec(); Console.WriteLine("Type to exit:"); Σ.rector = Console.ReadLine(); } while (Σ.rector == ""); break; case "sheet": Ego.Epistola(); break; case "help": Console.WriteLine(aux); Console.ReadLine(); break; case "data": Console.WriteLine("Day " + Agrum.Centuria[3] + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n"); break; case "pray": POG(); break; case "roll4": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(4, Σ.unus); Console.ReadLine(); break; case "roll6": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(6, Σ.unus); Console.ReadLine(); break; case "roll8": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(8, Σ.unus); Console.ReadLine(); break; case "roll10": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(10, Σ.unus); Console.ReadLine(); break; case "roll12": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(12, Σ.unus); Console.ReadLine(); break; case "roll20": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(20, Σ.unus); Console.ReadLine(); break; case "roll100": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(1000, Σ.unus); Console.ReadLine(); break; case "roll%": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.Volvere(100, Σ.unus); Console.ReadLine(); break; case "froll": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Mechanicae.LVolvere(Σ.unus); Console.ReadLine(); break; case "mechanics": Mechanicae.Utor(); break; case "aact": Actum(Ego); break; case "ashop": do { Forum(Ego); } while (Σ.rector == ""); break; case "abattle": Mechanicae.Chronus(Ego); break; case "tokinonagare": Σ.rector = Console.ReadLine(); Σ.unus = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector); Agrum.Centuria[0] += Σ.unus; Agrum.Aeon(); Console.WriteLine("Day " + Agrum.Centuria[3] + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n"); Console.ReadLine(); break; default: break; } }