コード例 #1
0
        public void Story11(string[] names, string[] menu, string[] text, bool[] item, int[] num)
        {
            int leftOffSet5 = (Console.WindowWidth / 2) - 12;
            int topOffSet5 = (Console.WindowHeight / 2) - 2;

            Console.WriteLine("“Thank you! I would have been dead if not for the two of you.”");
            Console.WriteLine("“I owe you my life” Taneya cries, “They destroyed everything!”");
            Console.WriteLine("“Let me come with you, I promise I won’t get in the way! I have");
            Console.WriteLine("nowhere else to go.”");

            Menu myMenu = new Menu(names, menu, text, item, num);
            names[2] = Console.ReadLine();
            switch (names[2])
            {
                case "a":
                    Console.Clear();
                    Console.WriteLine("The young mage seems to be almost like new.");
                    Console.WriteLine("She is jumping up and down in excitment that you saved her.");
                    Console.WriteLine("Maybe you should talk to her.");
                    Console.ReadLine();
                    Console.Clear();
                    Story11(names, menu, text, item, num);
                    break;

                case "t":

                    Console.Clear();
                    Console.WriteLine("“We are also not the Imperials favorite citizens, we just escaped");
                    Console.WriteLine("from the cells of Silverhaven. It might not be safe with us.” You explain.");
                    Console.WriteLine("“Where am I to go? Being a mage, the guards will be hunting me.”");
                    Console.WriteLine("“We have already done this much, It wouldn’t hurt to have a mage with us");
                    Console.WriteLine("going to where we are going.” Caldwell chimes in.");

                    Console.WriteLine("“Where….Where are you going?” Taneya asks.");
                    Console.WriteLine("“We are looking for the Caves of Bowden.” You tell her.");
                    Console.WriteLine("“Today is your lucky day, I know how to find them.” Taneya says cheerfully.");
                    Console.WriteLine("“Alright then, its settled, you can come with us.”");
                    Console.WriteLine("“I will be no trouble at all! It will be fun!” Taneya screams in excitement.");
                    Console.ReadLine();
                    item[1] = true;
                    Console.Clear();
                    Console.SetCursorPosition(leftOffSet5, topOffSet5);
                    Console.ForegroundColor = ConsoleColor.Green; Console.Write("Chapter Three "); Console.ForegroundColor = ConsoleColor.White; Console.Write(" - "); Console.ForegroundColor = ConsoleColor.Cyan; Console.Write("The Caves"); Console.ForegroundColor = ConsoleColor.White;
                    Console.ReadLine();
                    Console.Clear();
                    Ending myEnding = new Ending(names, menu, text, item, num);
                    break;

                case "n":
                    Console.Clear();
                    Console.WriteLine("You remain silent, trying to decide if you should let her come with you.");
                    Console.WriteLine("");
                    Console.ReadLine();
                    Console.Clear();
                    Story11(names, menu, text, item, num);
                    break;

                case "p":
                    Console.Clear();
                    Console.WriteLine(menu[1]);
                    Console.ReadLine();
                    Console.Clear();
                    Story11(names, menu, text, item, num);
                    break;

                case "u":
                    Console.Clear();
                    Console.WriteLine(menu[2]);
                    Console.ReadLine();
                    Console.Clear();
                    Story11(names, menu, text, item, num);
                    break;

                case "s":
                    Console.Clear();
                    Stats myStats = new Stats(names, menu, text, item, num);
                    Story11(names, menu, text, item, num);
                    break;

                default:
                    Console.Clear();
                    Story11(names, menu, text, item, num);
                    break;

            }
        }
コード例 #2
0
        public void Story13(string[] names, string[] menu, string[] text, bool[] item, int[] num)
        {
            int leftOffSet5 = (Console.WindowWidth / 2) - 12;
            int topOffSet5 = (Console.WindowHeight / 2) - 2;

            Console.WriteLine("You step farther into the inn, looking for the man who responded to your");
            Console.WriteLine("initial inquiry. You can see a shadow in the back room of someone by the fire.");
            Console.WriteLine("“I am looking for a skilled thief, I heard he may be in this town, his name");
            Console.WriteLine("Ark, do you know him” you inquire.");
            Console.WriteLine("“I might but answers are not free, what do you have?”");
            Console.WriteLine("“I don’t have much, but a few coins.”");
            Console.WriteLine("The odd man looking you over, you cannot help to feel a little uncomfortable.");
            Console.WriteLine("“This will do, why are you looking for this Ark?” the old man asks.");
            Console.WriteLine("“We are looking for the entrance to the Caves of Bowden. We heard he is the");
            Console.WriteLine("only one to return from there.”");
            Console.WriteLine("“Ah yes, the caves, those are much too dangerous, now go away!” the man snarls.");
            Console.WriteLine("“Hey!” Caldwell snaps, “We just gave you the rest of our coin, help us!”");
            Console.WriteLine("“This is pointless we should turn back now. Obviously this guy doesn't know.”");
            Console.WriteLine("“I lost a very special key in this tavern, if you can find it,");
            Console.WriteLine("I will take you to ark.”");

            Menu myMenu = new Menu(names, menu, text, item, num);
            names[2] = Console.ReadLine();

            switch (names[2])
            {
                case "a":
                    Console.Clear();
                    Console.WriteLine("You survey the inn, its in horrible condition, almost as if the people");
                    Console.WriteLine("of this town abandoned it long ago. cobwebs cover almost everything in sight.");
                    Console.WriteLine("As you search around the inn, you catch a glimmer in the corner of your eye.");
                    Console.WriteLine("You step closer to investigate, and notice lodged under the floorboards");
                    Console.WriteLine("is a small oddly shaped key. This must be the key the  man is looking for.");
                    Console.ReadLine();
                    Console.Clear();
                    Story13(names, menu, text, item, num);
                    break;

                case "t":
                    while (item[3] == false)
                    {
                        Console.Clear();
                        Console.WriteLine("“I am waiting.”");
                        Console.ReadLine();
                        Console.Clear();
                        Story13(names, menu, text, item, num);
                        break;
                    }
                    while (item[3] == true)
                    {
                        Console.Clear();
                        Console.WriteLine("“I found your key.” You tell the man.“A favor for a favor,now take us to Ark.”");
                        Console.WriteLine("“I already have.” the man remarks.");
                        Console.WriteLine("“You have taken us no where!” Caldwell shouts.\n\n");
                        Console.WriteLine("“Idiots, I am Ark. I stashed that key here long ago, it is a very special key");
                        Console.WriteLine("it unlocks a very special room in the Caves of Bowden.” He says.");
                        Console.WriteLine("“If you are truly looking for the caves, you will need my help to get there.”");
                        Console.WriteLine("Ark says with a slight smirk on his face.");
                        Console.ReadLine();
                        item[2] = true;
                        Console.Clear();
                        Console.SetCursorPosition(leftOffSet5, topOffSet5);
                        Console.ForegroundColor = ConsoleColor.Green; Console.Write("Chapter Three "); Console.ForegroundColor = ConsoleColor.White; Console.Write(" - "); Console.ForegroundColor = ConsoleColor.Cyan; Console.Write("The Caves"); Console.ForegroundColor = ConsoleColor.White;
                        Console.ReadLine();
                        Console.Clear();
                        Ending myEnding = new Ending(names, menu, text, item, num);
                        break;
                    }
                    break;
                case "n":
                    Console.Clear();
                    Console.WriteLine("You just look around the inn. The weird man huddling over the fire");
                    Console.WriteLine("is giving you a strange look, it makes you feel uncomfortable.");
                    Console.ReadLine();
                    Console.Clear();
                    Story13(names, menu, text, item, num);
                    break;

                case "p":
                    Console.Clear();
                    Console.WriteLine("You have picked up a key!");
                    Console.ReadLine();
                    item[3] = true;
                    Console.Clear();
                    Story13(names, menu, text, item, num);
                    break;

                case "u":
                    Console.Clear();
                    Console.WriteLine(menu[2]);
                    Console.ReadLine();
                    Console.Clear();
                    Story13(names, menu, text, item, num);
                    break;

                case "s":
                    Console.Clear();
                    Stats myStats = new Stats(names, menu, text, item, num);
                    Story13(names, menu, text, item, num);
                    break;

                default:
                    Console.Clear();
                    Story13(names, menu, text, item, num);
                    break;

            }
        }
コード例 #3
0
        public void Story8(string[] names, string[] menu, string[] text, bool[] item, int[] num)
        {
            int leftOffSet5 = (Console.WindowWidth / 2) - 12;
            int topOffSet5 = (Console.WindowHeight / 2) - 2;

            Console.WriteLine("As Caldwell unfolds it he exclaims, “Kirilenko, you sly dog.");
            Console.WriteLine("Do you know what this is ”" + names[0] + "as he ");
            Console.WriteLine("shoves the paper into your face.\n");
            Console.WriteLine("“A map?” you respond.");
            Console.WriteLine("“Not just any map, this is the map I was talking about, this will lead us");
            Console.WriteLine("to the Caves of Bowden!”");
            Console.WriteLine("“Thank you old man, I will not forget about this.”");
            Console.WriteLine("“It is no trouble at all, I knew that’s why they took you away. ");
            Console.WriteLine("I did what I must to protect it.” With that the old man turns around,");
            Console.WriteLine("and disappears back into the crowd.");

            Menu myMenu = new Menu(names, menu, text, item, num);
            names[2] = Console.ReadLine();

            switch (names[2])
            {
                case "a":
                    Console.Clear();
                    Console.WriteLine("Caldwell hold the map in his hands. Searching it for any clues.");
                    Console.WriteLine("Talk to him, see if he found anything.");
                    Console.ReadLine();
                    Console.Clear();
                    Story8(names, menu, text, item, num);
                    break;

                case "t":

                    Console.Clear();
                    Console.WriteLine("“I found it, I know which way to go.” Caldwell says in excitment.");
                    Console.WriteLine("“We don't have much time, lets get out of here.”");
                    item[4] = true;
                    Console.ReadLine();
                    Console.Clear();
                    Console.SetCursorPosition(leftOffSet5, topOffSet5);
                    Console.ForegroundColor = ConsoleColor.Green; Console.Write("Chapter Three "); Console.ForegroundColor = ConsoleColor.White; Console.Write(" - "); Console.ForegroundColor = ConsoleColor.Cyan; Console.Write("The Caves"); Console.ForegroundColor = ConsoleColor.White;
                    Console.ReadLine();
                    Console.Clear();
                    Ending myEnding = new Ending(names, menu, text, item, num);
                    break;

                case "n":
                    Console.Clear();
                    Console.WriteLine("You just continue to look around the bar.");
                    Console.WriteLine("There is no sign of the old man, almost as if he just vanished in thin air.");
                    Console.ReadLine();
                    Console.Clear();
                    Story8(names, menu, text, item, num);
                    break;

                case "p":
                    Console.Clear();
                    Console.WriteLine(menu[1]);
                    Console.ReadLine();
                    Console.Clear();
                    Story8(names, menu, text, item, num);
                    break;

                case "u":
                    Console.Clear();
                    Console.WriteLine(menu[2]);
                    Console.ReadLine();
                    Console.Clear();
                    Story8(names, menu, text, item, num);
                    break;

                case "s":
                    Console.Clear();
                    Stats myStats = new Stats(names, menu, text, item, num);
                    Story8(names, menu, text, item, num);
                    break;

                default:
                    Console.Clear();
                    Story8(names, menu, text, item, num);
                    break;

            }
        }