コード例 #1
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + HistoricalFigure.ToLink(link, pov);
            string goalString  = "";

            switch (Goal)
            {
            case SecretGoal.Immortality: goalString = " became obsessed with " + HistoricalFigure.CasteNoun(true) + " own mortality and sought to extend " + HistoricalFigure.CasteNoun(true) + " life by any means"; break;

            case SecretGoal.Unknown: goalString = " gained secret goal (" + _unknownGoal + ")"; break;
            }
            eventString += goalString;
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }