internal override string ToTimelineString() { string timelinestring = base.ToTimelineString(); string location = "in "; if (Subregion != null) { location += Subregion.ToString(); } else { location += Site.AltName; } if (Devourer != null) { return(string.Format("{0} {1} devoured someone {2}.", timelinestring, Devourer.ToString(), location)); } else { return(string.Format("{0} Creature devoured {1}.", timelinestring, location)); } }
public override string LegendsDescription() { string timestring = base.LegendsDescription(); string location = "in "; if (Subregion != null) { location += Subregion.ToString(); } else { location += Site.AltName; } if (Devourer != null) { return(string.Format("{0} the {1} {2} devoured the {3} {4} {5}.", timestring, Devourer.Race.ToString(), Devourer.ToString(), "UNKNOWN", "UNKNOWN", location)); } else { return(string.Format("{0} the {1} {2} devoured the {3} {4} {5}.", timestring, "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", location)); } }