示例#1
0
        internal override string ToTimelineString()
        {
            string timelinestring = base.ToTimelineString();

            return(string.Format("{0} {1} {2} {3}.",
                                 timelinestring, HF != null ? HF.ToString() : HFID.ToString(), " linked to ", HFTarget != null ? HFTarget.ToString() : HFIDTarget.ToString()));
        }
示例#2
0
        internal override string ToTimelineString()
        {
            var timelinestring = base.ToTimelineString();

            if (Site != null)
            {
                return(string.Format("{0} {1} came back from the dead as a {2} in {3}*",
                                     timelinestring, HF != null ? HF.ToString() : HFID.ToString(), Ghost, Site.AltName));
            }
            return(string.Format("{0} {1} came back from the dead as a {2}",
                                 timelinestring, HF != null ? HF.ToString() : HFID.ToString(), Ghost));
        }
示例#3
0
        internal override string ToTimelineString()
        {
            var timelinestring = base.ToTimelineString();

            if (Site != null)
            {
                return(string.Format("{0} {1} changed jobs at {2}",
                                     timelinestring, HF != null ? HF.ToString() : HFID.ToString(),
                                     Site.AltName));
            }
            return(string.Format("{0} {1} changed jobs",
                                 timelinestring, HF != null ? HF.ToString() : HFID.ToString()));
        }
示例#4
0
        internal override string ToTimelineString()
        {
            var timelinestring = base.ToTimelineString();

            if (Site == null)
            {
                if (SlayerHF == null)
                {
                    return(string.Format("{0} {1} died.",
                                         timelinestring, HF != null ? HF.ToString() : HFID.ToString()));
                }
                return(string.Format("{0} {1} killed by {2}.",
                                     timelinestring, HF != null ? HF.ToString() : HFID.ToString(), SlayerHF));
            }
            if (SlayerHF == null)
            {
                return(string.Format("{0} {1} died at {2}",
                                     timelinestring, HF != null ? HF.ToString() : HFID.ToString(), Site.AltName));
            }
            return(string.Format("{0} {1} killed at {2} by {3}",
                                 timelinestring, HF != null ? HF.ToString() : HFID.ToString(), Site.AltName, SlayerHF));
        }
示例#5
0
        internal override string ToTimelineString()
        {
            string timelinestring = base.ToTimelineString();

            if (HF == null)
            {
                return(string.Format("{0} HF Changed state - {1} in {2}.",
                                     timelinestring, HFID.ToString(),
                                     States[State]));
            }

            switch (States[State])
            {
            case "settled":
                if (Subregion != null)
                {
                    return(string.Format("{0} {1} {2} in {3}.",
                                         timelinestring, HF.ToString(),
                                         States[State], Subregion.ToString()));
                }
                else if (Site != null)
                {
                    return(string.Format("{0} {1} {2} in {3}.",
                                         timelinestring, HF.ToString(),
                                         States[State], Site.AltName));
                }
                else
                {
                    break;
                }

            case "wandering":
                if (FeatureLayerID == -1)
                {
                    return(string.Format("{0} {1} began wandering the wilds.",
                                         timelinestring, HF.ToString()));
                }
                else
                {
                    return(string.Format("{0} {1} began wandering the depths of the world.",
                                         timelinestring, HF.ToString()));
                }

            case "scouting":
                if (Site != null)
                {
                    return(string.Format("{0} {1} began scouting the area around {2}.",
                                         timelinestring, HF.ToString(), Site.AltName));
                }
                else
                {
                    break;
                }

            case "thief":
                if (Site != null)
                {
                    return(string.Format("{0} {1} decided to become a thief, operating out of {2}.",
                                         timelinestring, HF.ToString(), Site.AltName));
                }
                else
                {
                    break;
                }

            case "snatcher":
                if (Site != null)
                {
                    return(string.Format("{0} {1} decided to become a baby-snatcher, operating out of {2}.",
                                         timelinestring, HF.ToString(), Site.AltName));
                }
                else
                {
                    break;
                }

            case "hunting":
                if (Subregion != null)
                {
                    return(string.Format("{0} {1} began hunting great beasts in {2}.",
                                         timelinestring, HF.ToString(), Subregion.ToString()));
                }
                else
                {
                    break;
                }

            case "refugee":
                if (Subregion != null)
                {
                    return(string.Format("{0} {1} fled into the {2}.",
                                         timelinestring, HF.ToString(), Subregion.ToString()));
                }
                else
                {
                    break;
                }

            default:
                break;
            }

            return(timelinestring);
        }