示例#1
0
        protected static string CockatriceTransformStr(NeckData previousNeckData, PlayerBase player)
        {
            string deltaLengthString;

            if (previousNeckData.length > player.neck.length)
            {
                deltaLengthString = " and soon shifts, retracting down toward a length and shape of a human, but thinner and just a little longer. " +
                                    GlobalStrings.CapitalizeFirstLetter(player.neck.color.AsString());
            }
            else if (previousNeckData.length < player.neck.length)
            {
                deltaLengthString = " and soon shifts, growing larger and thinner, until it's slightly longer than that of a human's. " +
                                    GlobalStrings.CapitalizeFirstLetter(player.neck.color.AsString());
            }
            else
            {
                deltaLengthString = ", though nothing seems to happen, at least right away. Soon, however, " + player.neck.color.AsString();
            }
            return(GlobalStrings.NewParagraph() + "Your neck starts to tingle" + deltaLengthString + " feathers begin to grow out of it, one after another, " +
                   "until a ruff of soft fluffy feathers has formed like that of an exotic bird." + Environment.NewLine +
                   SafelyFormattedString.FormattedText("You now have a cockatrice neck!", StringFormats.BOLD));
        }