Example #1
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);
        }
Example #2
0
        public override string Print(bool link = true, DwarfObject pov = null)
        {
            string dispute = _unknownDispute;

            switch (Dispute)
            {
            case Dispute.FishingRights:
                dispute = "fishing rights";
                break;

            case Dispute.GrazingRights:
                dispute = "grazing rights";
                break;

            case Dispute.LivestockOwnership:
                dispute = "livestock ownership";
                break;

            case Dispute.Territory:
                dispute = "territory";
                break;

            case Dispute.WaterRights:
                dispute = "water rights";
                break;

            case Dispute.RightsOfWay:
                dispute = "rights of way";
                break;
            }

            string eventString = GetYearTime();

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

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

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

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

            eventString += " became embroiled in a dispute over " + dispute;
            eventString += PrintParentCollection(link, pov);
            eventString += ".";
            return(eventString);
        }