Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += "the forces of ";
            eventString += FreeingCiv?.ToLink(link, pov, this) ?? "an unknown civilization";
            eventString += " freed ";
            for (int i = 0; i < RescuedHistoricalFigures.Count; i++)
            {
                if (i > 0)
                {
                    eventString += " and ";
                }
                eventString += RescuedHistoricalFigures[i]?.ToLink(link, pov, this) ?? "an unknown creature";
            }
            if (Site != null)
            {
                eventString += " from " + Site.ToLink(link, pov, this);
            }
            if (SiteCiv != null)
            {
                eventString += " and " + SiteCiv.ToLink(link, pov, this);
            }
            if (HoldingCiv != null)
            {
                eventString += " of " + HoldingCiv.ToLink(link, pov, this);
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Ejemplo n.º 3
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Spotter.ToLink(true, pov);
            eventString += " of ";
            eventString += SiteCiv.ToLink(true, pov);
            eventString += " spotted the forces of ";
            eventString += LeaverCiv?.ToLink(true, pov) ?? "an unknown civilization";
            eventString += " slipping out of ";
            eventString += Site?.ToLink(true, pov);
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Ejemplo n.º 4
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            eventString += Attacker?.ToLink(true, pov) ?? "an unknown civilization";
            eventString += " slipped into ";
            eventString += Site?.ToLink(true, pov) ?? "an unknown site";
            if (SiteCiv != null)
            {
                eventString += " undetected by ";
                eventString += SiteCiv.ToLink(true, pov);
                eventString += " of ";
                eventString += Defender?.ToLink(true, pov) ?? "an unknown civilization";
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Ejemplo n.º 5
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime() + Attacker.ToLink(link, pov) + " attacked " + SiteCiv.ToLink(link, pov);

            if (DefenderCiv != null && DefenderCiv != SiteCiv)
            {
                eventString += " of " + DefenderCiv.ToLink(link, pov);
            }
            eventString += " at " + Site.ToLink(link, pov);
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }
Ejemplo n.º 6
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string eventString = GetYearTime();

            switch (Reason)
            {
            case 0:
                eventString += HistoricalFigure != null?HistoricalFigure.ToLink(link, pov) : "UNKNOWN HISTORICAL FIGURE";

                eventString += " of ";
                eventString += Civ != null?Civ.ToLink(link, pov) : "UNKNOWN CIV";

                eventString += " created the position of ";
                eventString += !string.IsNullOrWhiteSpace(Position) ? Position : "UNKNOWN POSITION";
                eventString += " through force of argument";
                break;

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

                eventString += " of ";
                eventString += Civ != null?Civ.ToLink(link, pov) : "UNKNOWN CIV";

                eventString += " compelled the creation of the position of ";
                eventString += !string.IsNullOrWhiteSpace(Position) ? Position : "UNKNOWN POSITION";
                eventString += " with threats of violence";
                break;

            case 2:
                eventString += SiteCiv != null?SiteCiv.ToLink(link, pov) : "UNKNOWN ENTITY";

                eventString += " collaborated to create the position of ";
                eventString += !string.IsNullOrWhiteSpace(Position) ? Position : "UNKNOWN POSITION";
                break;

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

                eventString += " of ";
                eventString += Civ != null?Civ.ToLink(link, pov) : "UNKNOWN CIV";

                eventString += " created the position of ";
                eventString += !string.IsNullOrWhiteSpace(Position) ? Position : "UNKNOWN POSITION";
                eventString += ", pushed by a wave of popular support";
                break;

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

                eventString += " of ";
                eventString += Civ != null?Civ.ToLink(link, pov) : "UNKNOWN CIV";

                eventString += " created the position of ";
                eventString += !string.IsNullOrWhiteSpace(Position) ? Position : "UNKNOWN POSITION";
                eventString += " as a matter of course";
                break;
            }
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }