public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            if (Teacher != null)
            {
                eventString += Teacher.ToLink(link, pov, this);
                eventString += " taught ";
                eventString += Student != null?Student.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

                eventString += " ";
                eventString += !string.IsNullOrWhiteSpace(SecretText) ? SecretText : "(" + Interaction + ")";
            }
            else
            {
                eventString += Student != null?Student.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

                eventString += " learned ";
                eventString += !string.IsNullOrWhiteSpace(SecretText) ? SecretText : "(" + Interaction + ")";
                eventString += " from ";
                eventString += Artifact != null?Artifact.ToLink(link, pov, this) : "UNKNOWN ARTIFACT";
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #2
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += HistoricalFigure != null?HistoricalFigure.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

            eventString += " reached the summit";
            if (Region != null)
            {
                eventString += ", which rises above ";
                eventString += Region.ToLink(link, pov, this);
            }
            else if (UndergroundRegion != null)
            {
                eventString += ", in the depths of ";
                eventString += UndergroundRegion.ToLink(link, pov, this);
            }
            if (Site != null)
            {
                eventString += " in ";
                eventString += Site.ToLink(link, pov, this);
            }
            eventString += ".";
            return(eventString);
        }
Beispiel #3
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Trickster?.ToLink(link, pov, this) ?? "an unknown creature";
            if (Target != null)
            {
                eventString += " fooled ";
                eventString += Target?.ToLink(link, pov, this) ?? "an unknown civilization";
                eventString += " into believing ";
                eventString += Trickster?.ToLink(link, pov, this) ?? "an unknown creature";
                eventString += " was ";
            }
            else
            {
                eventString += " assumed the identity of ";
            }
            Identity identity = Trickster?.Identities.FirstOrDefault(i => i.Id == IdentityId) ?? Identity;

            if (identity != null)
            {
                eventString += identity.Print(link, pov, this);
            }
            else
            {
                eventString += "someone else";
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

            eventString += " prepared a masterful ";
            switch (ItemSubType)
            {
            case "0":
                eventString += "biscuits";
                break;

            case "1":
                eventString += "stew";
                break;

            case "2":
                eventString += "roasts";
                break;

            default:
                eventString += "meal";
                break;
            }
            eventString += " for ";
            eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY";

            eventString += " in ";
            eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE";

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #5
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

            eventString += " ";
            eventString += Process;
            eventString += " a masterful ";
            if (!string.IsNullOrWhiteSpace(BuildingSubType) && BuildingSubType != "-1")
            {
                eventString += BuildingSubType;
            }
            else
            {
                eventString += !string.IsNullOrWhiteSpace(BuildingType) ? BuildingType : "UNKNOWN BUILDING";
            }
            eventString += " for ";
            eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY";

            eventString += " in ";
            eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE";

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public string PrintFeature(bool link = true, DwarfObject pov = null)
        {
            string eventString = "";

            eventString += "the ascention of ";
            if (HistoricalFigure != null)
            {
                eventString += HistoricalFigure.ToLink(link, pov);
            }
            else
            {
                eventString += "UNKNOWN HISTORICAL FIGURE";
            }

            eventString += " to the position of ";
            EntityPosition position = Entity.EntityPositions.FirstOrDefault(pos => pos.Name.ToLower() == Position.ToLower());

            if (position != null)
            {
                string positionName = position.GetTitleByCaste(HistoricalFigure.Caste);
                eventString += positionName;
            }
            else
            {
                eventString += Position;
            }
            eventString += " of ";
            eventString += Entity.ToLink(link, pov);
            eventString += " in ";
            eventString += Year;
            return(eventString);
        }
Beispiel #7
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += "merchants from ";
            eventString += Source != null?Source.ToLink(link, pov, this) : "UNKNOWN CIV";

            eventString += " visited ";
            eventString += Destination != null?Destination.ToLink(link, pov, this) : "UNKNOWN ENTITY";

            eventString += " at ";
            eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE";

            if (HardShip)
            {
                eventString += " and suffered great hardships";
            }
            eventString += ".";
            if (AllDead)
            {
                eventString += " They never returned.";
            }
            if (Seizure)
            {
                eventString += " They reported a seizure of goods.";
            }
            if (LostValue)
            {
                eventString += " They reported irregularities with their goods.";
            }
            return(eventString);
        }
Beispiel #8
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + HistoricalFigure.ToLink(link, pov, this) + " ";
            string stateString = "";

            switch (BodyState)
            {
            case BodyState.EntombedAtSite: stateString = "was entombed"; break;

            case BodyState.Unknown: stateString = "(" + _unknownBodyState + ")"; break;
            }
            eventString += stateString;
            if (Region != null)
            {
                eventString += " in " + Region.ToLink(link, pov, this);
            }

            if (Site != null)
            {
                eventString += " at " + Site.ToLink(link, pov, this);
            }

            eventString += " within ";
            eventString += Structure != null?Structure.ToLink(link, pov, this) : "UNKNOWN STRUCTURE";

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #9
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Artifact != null?Artifact.ToLink(link, pov) : "UNKNOWN ARTIFACT";

            eventString += " was lost";
            if (Site != null)
            {
                eventString += " in " + Site.ToLink(link, pov);
            }
            else if (Artifact != null)
            {
                if (Artifact.Site != null)
                {
                    eventString += " in " + Artifact.Site.ToLink(link, pov);
                }
                else if (Artifact.Region != null)
                {
                    eventString += " in " + Artifact.Region.ToLink(link, pov);
                }
            }

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #10
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + HistoricalFigure.ToLink(link, pov) + " tamed the creatures named ";

            if (!string.IsNullOrWhiteSpace(Pet))
            {
                eventString += Pet;
            }
            else
            {
                eventString += "UNKNOWN";
            }
            if (Site != null)
            {
                eventString += " in " + Site.ToLink(link, pov);
            }
            else if (Region != null)
            {
                eventString += " in " + Region.ToLink(link, pov);
            }
            else if (UndergroundRegion != null)
            {
                eventString += " in " + UndergroundRegion.ToLink(link, pov);
            }
            if (!(ParentCollection is Journey))
            {
                eventString += PrintParentCollection(link, pov);
            }
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            if (ActualStart)
            {
                eventString += "an insurrection against " + Civ.ToLink(link, pov, this) + " began in " + Site.ToLink(link, pov, this);
            }
            else
            {
                eventString += "the insurrection in " + Site.ToLink(link, pov, this);
                switch (Outcome)
                {
                case InsurrectionOutcome.LeadershipOverthrown:
                    eventString += " concluded with " + Civ.ToLink(link, pov, this) + " overthrown";
                    break;

                case InsurrectionOutcome.PopulationGone:
                    eventString += " ended with the disappearance of the rebelling population";
                    break;

                default:
                    eventString += " against " + Civ.ToLink(link, pov, this) + " concluded with (" + _unknownOutcome + ")";
                    break;
                }
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #12
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + HistoricalFigure.ToLink(link, pov);

            if (LawLaid)
            {
                eventString += " laid a series of ";
            }
            else
            {
                eventString += " lifted numerous ";
            }

            switch (Law)
            {
            case EntityLawType.Harsh: eventString += "oppressive"; break;

            case EntityLawType.Unknown: eventString += "(" + _unknownLawType + ")"; break;
            }
            if (LawLaid)
            {
                eventString += " edicts upon ";
            }
            else
            {
                eventString += " laws from ";
            }

            eventString += Entity.ToLink(link, pov);
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #13
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += SpeakerHf.ToLink(link, pov, this);
            eventString += " preached to ";
            eventString += Entity1.ToLink(link, pov, this);
            switch (Topic)
            {
            case PreachTopic.SetEntity1AgainstEntity2:
                eventString += ", inveighing against ";
                break;

            case PreachTopic.Entity1ShouldLoveEntity2:
                eventString += ", urging love to be shown to ";
                break;
            }
            eventString += Entity2.ToLink(link, pov, this);
            if (Site != null)
            {
                eventString += " at ";
                eventString += Site.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #14
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);
        }
Beispiel #15
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            if (Builder != null)
            {
                eventString += Builder != null?Builder.ToLink(link, pov) : "UNKNOWN HISTORICAL FIGURE";

                eventString += ", thrust a spire of slade up from the underworld, naming it ";
                eventString += Structure != null?Structure.ToLink(link, pov) : "UNKNOWN STRUCTURE";

                eventString += ", and established a gateway between worlds in ";
                eventString += Site != null?Site.ToLink(link, pov) : "UNKNOWN SITE";
            }
            else
            {
                if (SiteEntity != null)
                {
                    eventString += SiteEntity.ToLink(link, pov);
                    eventString += " of ";
                }
                eventString += Civ != null?Civ.ToLink(link, pov) : "UNKNOWN CIV";

                eventString += " constructed ";
                eventString += Structure != null?Structure.ToLink(link, pov) : "UNKNOWN STRUCTURE";

                eventString += " in ";
                eventString += Site != null?Site.ToLink(link, pov) : "UNKNOWN SITE";
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #16
0
        public override string ToLink(bool link = true, DwarfObject pov = null, WorldEvent worldEvent = null)
        {
            if (link)
            {
                string title = Type;
                title += "&#13";
                title += Attacker.PrintEntity(false) + " (Attacker)";
                title += "&#13";
                title += Defender.PrintEntity(false) + " (Defender)";
                title += "&#13";
                title += "Deaths: " + DeathCount + " | (" + StartYear + " - " + (EndYear == -1 ? "Present" : EndYear.ToString()) + ")";

                string linkedString = "";
                if (pov != this)
                {
                    linkedString = Icon + "<a href = \"collection#" + Id + "\" title=\"" + title + "\"><font color=\"#6E5007\">" + Name + "</font></a>";
                }
                else
                {
                    linkedString = Icon + "<a title=\"" + title + "\">" + HtmlStyleUtil.CurrentDwarfObject(Name) + "</a>";
                }
                return(linkedString);
            }
            return(Name);
        }
Beispiel #17
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Artifact != null?Artifact.ToLink(link, pov, this) : "UNKNOWN ARTIFACT";

            eventString += " was lost";
            if (SiteProperty != null)
            {
                eventString += " in ";
                eventString += SiteProperty.Print(link, pov);
            }
            if (Site != null)
            {
                eventString += " in ";
                eventString += Site.ToLink(link, pov, this);
            }
            else if (Region != null)
            {
                eventString += " in ";
                eventString += Region.ToLink(link, pov, this);
            }
            else if (UndergroundRegion != null)
            {
                eventString += " in ";
                eventString += UndergroundRegion.ToLink(link, pov, this);
            }

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Entity.ToLink(link, pov, this);
            eventString += " dissolved";
            switch (Reason)
            {
            case DissolveReason.HeavyLossesInBattle:
                eventString += " taking ";
                break;

            case DissolveReason.LackOfFunds:
                eventString += " due to ";
                break;

            default:
                eventString += " because of ";
                break;
            }
            eventString += ReasonString;

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            if (PopNumberMoved > 200)
            {
                eventString += " hundreds of ";
            }
            else if (PopNumberMoved > 24)
            {
                eventString += " dozens of ";
            }
            else
            {
                eventString += " several ";
            }
            eventString += "UNKNOWN RACE";
            eventString += " from ";
            eventString += PopSourceRegion != null?PopSourceRegion.ToLink(link, pov, this) : "UNKNOWN REGION";

            eventString += " joined with ";
            eventString += JoinEntity != null?JoinEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY";

            eventString += " at ";
            eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE";

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

            eventString += Spotter?.ToLink(true, pov) ?? "An unknown creature";
            if (SiteCiv != null)
            {
                eventString += " of ";
                eventString += SiteCiv.ToLink(true, pov);
            }
            eventString += " spotted the forces";
            if (LeaverCiv != null)
            {
                eventString += " of ";
                eventString += LeaverCiv.ToLink(true, pov);
            }
            eventString += " slipping out";
            if (Site != null)
            {
                eventString += " of ";
                eventString += Site.ToLink(true, pov);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #21
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += HistoricalFigure.ToLink(link, pov);
            if (RaisedBefore)
            {
                eventString += " came back from the dead once more, this time as a " + _ghost;
            }
            else
            {
                eventString += " came back from the dead as a " + _ghost;
            }
            eventString += " in ";
            if (Site != null)
            {
                eventString += Site.ToLink(link, pov);
            }
            else if (Region != null)
            {
                eventString += Region.ToLink(link, pov);
            }
            else if (UndergroundRegion != null)
            {
                eventString += UndergroundRegion.ToLink(link, pov);
            }
            else
            {
                eventString += "UNKNOWN LOCATION";
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Maker != null?Maker.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE";

            eventString += " masterfully dyed a ";
            eventString += !string.IsNullOrWhiteSpace(Material) ? Material + " " : "";
            if (!string.IsNullOrWhiteSpace(ItemSubType) && ItemSubType != "-1")
            {
                eventString += ItemSubType;
            }
            else
            {
                eventString += !string.IsNullOrWhiteSpace(ItemType) ? ItemType : "UNKNOWN ITEM";
            }
            eventString += " with ";
            eventString += !string.IsNullOrWhiteSpace(DyeMaterial) ? DyeMaterial : "UNKNOWN DYE";
            eventString += " for ";
            eventString += MakerEntity != null?MakerEntity.ToLink(link, pov, this) : "UNKNOWN ENTITY";

            eventString += " in ";
            eventString += Site != null?Site.ToLink(link, pov, this) : "UNKNOWN SITE";

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #23
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            switch (Topic)
            {
            case AgreementTopic.TreeQuota:
                eventString += "a lumber agreement proposed by ";
                break;

            case AgreementTopic.BecomeLandHolder:
                eventString += "the establishment of landed nobility proposed by ";
                break;

            case AgreementTopic.PromoteLandHolder:
                eventString += "the elevation of the landed nobility proposed by ";
                break;

            default:
                eventString += "UNKNOWN AGREEMENT";
                break;
            }
            eventString += " proposed by ";
            eventString += Source != null?Source.ToLink(link, pov) : "UNKNOWN ENTITY";

            eventString += " was rejected by ";
            eventString += Destination != null?Destination.ToLink(link, pov) : "UNKNOWN ENTITY";

            eventString += " at ";
            eventString += Site != null?Site.ToLink(link, pov) : "UNKNOWN SITE";

            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += DestEntity.ToLink(link, pov, this);
            eventString += " made a copy of ";
            if (FromOriginal)
            {
                eventString += "the original ";
            }
            eventString += Artifact.ToLink(link, pov, this);
            eventString += " from ";
            eventString += SourceStructure.ToLink(link, pov, this);
            eventString += " in ";
            eventString += SourceSite.ToLink(link, pov, this);
            eventString += " of ";
            eventString += SourceEntity.ToLink(link, pov, this);
            eventString += " keeping it within ";
            eventString += DestStructure.ToLink(link, pov, this);
            eventString += " in ";
            eventString += DestSite.ToLink(link, pov, this);
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #25
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += SellerHf.ToLink(link, pov, this);
            eventString += " sold ";
            eventString += EnslavedHf.ToLink(link, pov, this);
            if (PayerHf != null)
            {
                eventString += " to ";
                eventString += PayerHf.ToLink(link, pov, this);
                if (PayerEntity != null)
                {
                    eventString += " of ";
                    eventString += PayerEntity.ToLink(link, pov, this);
                }
            }
            else if (PayerEntity != null)
            {
                eventString += " to ";
                eventString += PayerEntity.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ". ";
            if (MovedToSite != null)
            {
                eventString += EnslavedHf.ToLink(link, pov, this).ToUpperFirstLetter();
                eventString += " was sent to ";
                eventString += MovedToSite.ToLink(link, pov, this);
            }
            return(eventString);
        }
Beispiel #26
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();
            if (Concluder != null)
            {
                eventString += Concluder.ToLink(link, pov, this);
                eventString += " formed an agreement";
            }
            else
            {
                eventString += " an agreement has been formed";
            }

            switch (Reason)
            {
                case AgreementReason.Whim:
                    eventString += " on a whim";
                    break;
                case AgreementReason.ViolentDisagreement:
                    eventString += " after a violent disagreement";
                    break;
                case AgreementReason.ArrivedAtLocation:
                    eventString += " after arriving at the location";
                    break;
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return eventString;
        }
Beispiel #27
0
        public override string ToLink(bool link = true, DwarfObject pov = null)
        {
            string name = "The " + GetOrdinal(Ordinal) + ConquerType + " of " + Site.ToLink(false);

            if (link)
            {
                string title = Type;
                title += "&#13";
                if (Attacker != null)
                {
                    title += Attacker.PrintEntity(false) + " (Attacker)(V)";
                    title += "&#13";
                }
                if (Defender != null)
                {
                    title += Defender.PrintEntity(false) + " (Defender)";
                }

                string linkedString = "";
                if (pov != this)
                {
                    linkedString = "<a href = \"collection#" + Id + "\" title=\"" + title + "\"><font color=\"6E5007\">" + name + "</font></a>";
                    if (pov != Battle)
                    {
                        linkedString += " as a result of " + Battle.ToLink();
                    }
                }
                else
                {
                    linkedString = Icon + "<a title=\"" + title + "\">" + HtmlStyleUtil.CurrentDwarfObject(name) + "</a>";
                }
                return(linkedString);
            }
            return(name);
        }
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += HistoricalFigure.ToLink(link, pov, this);
            eventString += " asked about ";
            eventString += Artifact.ToLink(link, pov, this);
            if (Structure != null)
            {
                eventString += " inside ";
                eventString += Structure.ToLink(link, pov, this);
            }
            if (Site != null)
            {
                eventString += " in ";
                eventString += Site.ToLink(link, pov, this);
            }
            else if (Region != null)
            {
                eventString += " in ";
                eventString += Region.ToLink(link, pov, this);
            }
            else if (UndergroundRegion != null)
            {
                eventString += " in ";
                eventString += UndergroundRegion.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Beispiel #29
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = base.Print(link, pov);

            if (Competitors.Any())
            {
                eventString += "</br>";
                eventString += "Competing were ";
                for (int i = 0; i < Competitors.Count; i++)
                {
                    HistoricalFigure competitor = Competitors.ElementAt(i);
                    if (i == 0)
                    {
                        eventString += competitor.ToLink(link, pov);
                    }
                    else if (i == Competitors.Count - 1)
                    {
                        eventString += " and " + competitor.ToLink(link, pov);
                    }
                    else
                    {
                        eventString += ", " + competitor.ToLink(link, pov);
                    }
                }
                eventString += ". ";
            }
            if (Winner != null)
            {
                eventString += "The winner was ";
                eventString += Winner.ToLink(link, pov);
                eventString += ".";
            }
            return(eventString);
        }
Beispiel #30
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += GroupHistoricalFigure.ToLink(link, pov, this);
            eventString += " performed horrible experiments";
            if (Structure != null)
            {
                eventString += " in ";
                eventString += Structure.ToLink(link, pov, this);
            }
            if (Site != null)
            {
                eventString += " in ";
                eventString += Site.ToLink(link, pov, this);
            }
            else if (Region != null)
            {
                eventString += " in ";
                eventString += Region.ToLink(link, pov, this);
            }
            else if (UndergroundRegion != null)
            {
                eventString += " in ";
                eventString += UndergroundRegion.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
 public override string ToLink(bool link = true, DwarfObject pov = null)
 {
     return "a ceremony";
 }
Beispiel #32
0
 public override string ToLink(bool link = true, DwarfObject pov = null)
 {
     return "an occasion";
 }
Beispiel #33
0
 public override string ToLink(bool link = true, DwarfObject pov = null)
 {
     return Name;
 }
 public override string ToLink(bool link = true, DwarfObject pov = null)
 {
     return "a competition";
 }
Beispiel #35
0
 public virtual string ToLink(bool link = true, DwarfObject pov = null)
 {
     return "";
 }
 public override string ToLink(bool link = true, DwarfObject pov = null)
 {
     return "a performance";
 }