Esempio n. 1
0
        protected override DisplayBase BuildMenu(Creature consumer, UseItemCallback postItemUseCallback)
        {
            if (!consumer.hasCock)
            {
                string results = "As you look over the needle, you realize that its intended purpose is to thicken a penis which you do not possess. Sighing dejectedly, you put away the needle.";
                postItemUseCallback(false, results, null, this);
            }
            StandardDisplay display = new StandardDisplay();

            display.OutputText("You ponder the needle in your hand knowing it will thicken a c**k it's injected into.");
            if (consumer.cocks.Count == 1)
            {
                display.AddButton(0, "Inject", () => ChooseSingleCock(consumer, postItemUseCallback));
                display.AddButton(1, "Don't", () => GirthPlusCancel(consumer, postItemUseCallback));
            }
            else
            {
                for (int i = 0; i < consumer.cocks.Count; i++)
                {
                    string tip = consumer.cocks[i].LongDescription() + Environment.NewLine + "Length: " + consumer.cocks[i].length + Environment.NewLine
                                 + "Thickness: " + consumer.cocks[i].girth;

                    display.AddButtonWithToolTip((byte)i, "C**k #" + (i + 1), () => ChooseSingleCock(consumer, postItemUseCallback, i), tip);
                }
                display.AddButton(10, GlobalStrings.ALL(), () => ChooseAllCocks(consumer, postItemUseCallback));
                display.AddButton(14, GlobalStrings.NEVERMIND(), () => GirthPlusCancel(consumer, postItemUseCallback));
            }

            return(display);
        }
Esempio n. 2
0
        public static void NewGame()
        {
            //clear all the extraneous data stored in the various engines in the backend.
            GameEngine.StartNewGame();

            GameEngine.UnlockAchievement <Achievements.StartTheGameINeedAnAchievementForDebugging>();

            SetPlayerStatus(PlayerStatus.IDLE);
            HideMenu();
            HideStats();

            if (currentDisplay is null)
            {
                currentDisplay = new StandardDisplay();
            }
            DisplayManager.LoadDisplay(currentDisplay);

            currentDisplay.ClearOutput();
            currentDisplay.OutputText(NewGameHelperText.IntroText());
            currentDisplay.ActivateInputField();
            currentDisplay.ActivateDropDownMenu(SpecialCharacters.SpecialCharacterDropDownList(currentDisplay));
            currentDisplay.AddButton(0, GlobalStrings.OK(), ChooseName);
        }
Esempio n. 3
0
 private void DoButton(byte index, string content, Action callback)
 {
     display.AddButton(index, content, () => { display.ClearOutput(); callback(); });
 }