Esempio n. 1
0
 public void YouWin()
 {
     if (!_gameOver)
     {
         uxStoryText.Font = new Font("GothicE", 30, FontStyle.Bold);
         uxStoryText.SelectionAlignment = HorizontalAlignment.Center;
         StoryPrint(StoryLine.YouWin());
     }
 }
Esempio n. 2
0
        private void uxChoiceA_Click(object sender, EventArgs e)
        {
            if (_steps == 0)
            {
                uxStoryText.Text = "";
                uxStoryText.Font = new Font("OCR A", 9.75F, FontStyle.Regular);
                uxStoryText.SelectionAlignment = HorizontalAlignment.Left;
                StoryPrint(StoryLine.PrologueHallway());
                _steps++;
            }
            else if (_steps == 1)
            {
                uxStoryText.Text = "";
                StoryPrint(StoryLine.PrologueHallwayLeft());
                _steps++;
            }
            else if (_steps == 2)
            {
                if (uxStoryText.Text.Equals(StoryLine.PrologueHallwayLeft()))
                {
                    _wolf = true;
                }
                else
                {
                    _mage = true;
                }
                uxStoryText.Text = "";
                if (_wolf)
                {
                    StoryPrint(StoryLine.WakeUpWolf());
                }
                else if (_vamp)
                {
                    StoryPrint(StoryLine.WakeUpVamp());
                }
                else if (_mage)
                {
                    StoryPrint(StoryLine.WakeUpMage());
                }
                else if (_woke)
                {
                    StoryPrint(StoryLine.WakeUpWoke());
                }
                _moral = 0;
                MoralColor();
                uxMoralTotal.Text = "0";
                _steps++;
            }
            else if (_steps == 3)
            {
                if (_wolf)
                {
                    StoryPrint(StoryLine.GiveSugarWolf());
                }
                else if (_vamp)
                {
                    StoryPrint(StoryLine.GiveSugarVamp());
                }
                else if (_mage)
                {
                    StoryPrint(StoryLine.GiveSugarMage());
                }
                else if (_woke)
                {
                    StoryPrint(StoryLine.GiveSugarWoke());
                }
                _moral++;
                MoralColor();
                uxMoralTotal.Text = _moral.ToString();
                StoryPrint(StoryLine.TwoBlocks());
                _steps++;
            }
            else if (_steps == 4)
            {
                if (_wolf)
                {
                    StoryPrint(StoryLine.TwoBlocksGoodWolf());
                }
                else if (_vamp)
                {
                    StoryPrint(StoryLine.TwoBlocksGoodVamp());
                }
                else if (_mage)
                {
                    StoryPrint(StoryLine.TwoBlocksGoodMage());
                }
                else if (_woke)
                {
                    StoryPrint(StoryLine.TwoBlocksGoodWoke());
                }
                _moral++;
                MoralColor();
                uxMoralTotal.Text = _moral.ToString();
                StoryPrint(StoryLine.ConvinceGeneral());
                _steps++;
            }
            else if (_steps == 5)
            {
                StoryPrint(StoryLine.ConvinceGeneralGood());
                StoryPrint(Act2.Act2Prologue());
                _steps++;
            }

            else if (_steps == 6)
            {
                StoryPrint(Act2.Act2PrologueGood());
                StoryPrint(Act2.Act2GoodRoute());
                _moral++;
                MoralColor();
                uxMoralTotal.Text = _moral.ToString();
                _steps++;
            }

            else if (_steps == 7)
            {
                StoryPrint(Act2.Act2GoodRouteGood());
                YouWin();
            }

            else if (_steps == 8)
            {
                StoryPrint(Act2.Act2EvilRouteGood());
                _gameOver = true;
                GameOver();
            }
        }