示例#1
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + HistoricalFigure.ToLink(link, pov, this);

            if (OldJob != "standard" && NewJob != "standard")
            {
                eventString += " gave up being " + Formatting.AddArticle(OldJob) + " to become " + Formatting.AddArticle(NewJob);
            }
            else if (NewJob != "standard")
            {
                eventString += " became " + Formatting.AddArticle(NewJob);
            }
            else if (OldJob != "standard")
            {
                eventString += " stopped being " + Formatting.AddArticle(OldJob);
            }
            else
            {
                eventString += " became a peasant";
            }
            if (Site != null)
            {
                eventString += " in " + Site.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public string GetRaceTitleString()
        {
            string hfraceString = "";

            if (Ghost)
            {
                hfraceString += "ghostly ";
            }

            if (Skeleton)
            {
                hfraceString += "skeletal ";
            }

            if (Zombie)
            {
                hfraceString += "zombie ";
            }

            if (Caste.ToUpper() == "MALE")
            {
                hfraceString += "male ";
            }
            else if (Caste.ToUpper() == "FEMALE")
            {
                hfraceString += "female ";
            }

            hfraceString += GetRaceString();

            return(Formatting.AddArticle(hfraceString));
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Changer?.ToLink(link, pov, this) ?? "An unknown creature";
            eventString += " changed ";
            eventString += Changee?.ToLink(link, pov, this) ?? "an unknown creature";
            eventString += " from ";
            eventString += Formatting.AddArticle(OldRace).ToLower();
            eventString += " into ";
            eventString += Formatting.AddArticle(NewRace).ToLower();
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }