Example #1
0
        internal void BarmanConv2()
        {
            Console.Clear();
            Console.WriteLine("**********************");
            Console.WriteLine("**You and the Barman**");
            Console.WriteLine("**********************");
            knight.Speak(Dialog.dialog[8]);
            Client.Timer(1.5);
            barman.Speak(Dialog.dialog[9]);
            Client.Timer(1.5);
            barman.Speak(Dialog.dialog[10]);
            Client.Timer(1.5);
            knight.Speak(Dialog.dialog[11]);
            Client.Timer(1.5);
            barman.Speak(Dialog.dialog[12]);
            Client.Timer(1.5);
            barman.Speak(Dialog.dialog[13]);
            Client.Timer(1.5);
            Texts.AcceptTheQuest();
            var input = Console.ReadKey(true).Key;

            switch (input)
            {
            case ConsoleKey.D1:
            case ConsoleKey.NumPad1:
                Console.Clear();
                barman.Speak(Dialog.dialog[14]);
                Client.Timer(1.5);
                barman.Speak(Dialog.dialog[15]);
                GameStory.Town();
                break;

            case ConsoleKey.D2:
            case ConsoleKey.NumPad2:
                Console.Clear();
                GUI.OutOfBar();
                Client.Timer(3);
                barman.Speak(Dialog.dialog[14]);
                Client.Timer(1.5);
                barman.Speak(Dialog.dialog[15]);
                Client.Timer(1.5);
                GameStory.Town();
                break;
            }
        }