예제 #1
0
파일: Exterius.cs 프로젝트: Bedengus/ULF
        public void Utor(Persona Ego)
        {
            if (!Ego.Charta.ContainsKey(this.Nomen))
            {
                Ego.Charta.Add(this.Nomen, this.praesto);
            }
            do
            {
                this.Paridor();
                Ego.Charta[this.Nomen] = this.praesto;
                Console.WriteLine("\nYou are in " + Primor.h**o.Regio.Nomen + ".\n");
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "observe":
                    Opes(Ego);
                    break;

                case "harvest":
                    Auctumnum(Ego);
                    break;

                case "doc":
                    Console.WriteLine(scriptum);
                    Console.ReadLine();
                    break;

                default:
                    Adventum.Generalis(Ego);
                    break;
                }
            } while(Σ.rector != "exit");
            Environment.Exit(0);
        }
예제 #2
0
        public void Utor(Persona Ego)
        {
            if (!Ego.Charta.ContainsKey(this.Nomen))
            {
                Ego.Charta.Add(this.Nomen, this.praesto);
            }
            do
            {
                this.Paridor();
                Ego.Charta[this.Nomen] = this.praesto;
                Console.WriteLine("\nYou are in " + Primor.h**o.Regio.Nomen + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "walk":
                    if (Mechanicae.Volvere(4) > 2)
                    {
                        do
                        {
                            Console.WriteLine("You have been ambushed by 'Bandit'!");
                            Adventum.Bellum(Ego, true, Primor.Hostis["Bandit"]);
                        } while (Σ.rector == "");
                    }
                    Agrum.Centuria[0] += 600;
                    Adventum.Verso(Ego);
                    break;

                case "doc":
                    Console.WriteLine(scriptum);
                    Console.ReadLine();
                    break;

                default:
                    Adventum.Generalis(Ego);
                    break;
                }
            } while (Σ.rector != "exit");
            Environment.Exit(0);
        }
예제 #3
0
파일: Taberna.cs 프로젝트: Bedengus/ULF
        public void Utor(Persona Ego)
        {
            if (!Ego.Charta.ContainsKey(this.Nomen))
            {
                Ego.Charta.Add(this.Nomen, this.praesto);
            }
            do
            {
                this.Paridor();
                Ego.Charta[this.Nomen] = this.praesto;
                Console.WriteLine("\nYou are in " + Primor.h**o.Regio.Nomen + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "doc":
                    Console.WriteLine(scriptum);
                    Console.ReadLine();
                    break;

                case "eat":
                    Agrum.Centuria[0] += 1800;
                    Ego.jeiunium[1]    = Agrum.Centuria[9];
                    Ego.jeiunium[0]    = 0;
                    Ego.Virtus();
                    Adventum.Verso(Ego);
                    break;

                case "sleep":
                    if (Ego.Studium.Count > 0)
                    {
                        do
                        {
                            Console.WriteLine("What would you like to meditate on?");
                            Σ.rector = Console.ReadLine();
                            if (Ego.Studium.Contains(Σ.rector))
                            {
                                Random roll = new Random();
                                if (roll.Next(5) > 2)
                                {
                                    Console.WriteLine("You mind opens to the possibilities of " + Σ.rector);
                                }
                                else
                                {
                                    Console.WriteLine(Σ.rector + " still confuses you, but you feel closer to the truth.");
                                }
                            }
                            else
                            {
                                Console.WriteLine("You have not trained that today.");
                            }
                        }while(Σ.rector != "");
                    }

                    Console.WriteLine("You sleep for eight hours...");
                    Agrum.Centuria[0] += 28800;
                    Ego.jeiunium[1]   += 28800;
                    Ego.sonmus[1]      = Agrum.Centuria[9];
                    Ego.sonmus[0]      = 0;
                    Adventum.Verso(Ego);
                    break;

                default:
                    Adventum.Generalis(Ego);
                    break;
                }
            } while (Σ.rector != "exit");
            Environment.Exit(0);
        }