示例#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);
        }