internal override string ToTimelineString() { string timelinestring = base.ToTimelineString(); if (TeacherHF == null && Artifact != null) { return(string.Format("{0} {1} learned secrets from {2}", timelinestring, StudentHF.ToString(), Artifact.ToString())); } else { return(string.Format("{0} {1} taught secrets by {2}", timelinestring, StudentHF.ToString(), TeacherHF.ToString())); } }
public override string LegendsDescription() { string timestring = base.LegendsDescription(); if (TeacherHF == null && Artifact != null) { switch (HistoricalFigure.Interactions[Interaction]) { case "ANIMALS_SECRET": return(string.Format("{0} {1} learned the secrets of the wilds from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); case "SECRET_30": return(string.Format("{0} {1} learned the secrets of life and death from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); case "DISCIPLINE_SECRET": return(string.Format("{0} {1} learned the secrets of mental discipline from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); case "WISDOM_SECRET": return(string.Format("{0} {1} learned the secrets of wisdom from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); case "FOOD_SECRET": return(string.Format("{0} {1} learned the secrets of conjuring food from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); case "WAR_SECRET": return(string.Format("{0} {1} learned the secret of berserking from {2}.", timestring, StudentHF.ToString(), Artifact.ToString())); default: return(string.Format("{0} {1} learned {2} from {3}.", timestring, StudentHF.ToString(), HistoricalFigure.Interactions[Interaction], Artifact.ToString())); } } else { switch (HistoricalFigure.Interactions[Interaction]) { case "ANIMALS_SECRET": return(string.Format("{0} {1} taught {2} the secrets of the wilds.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "SECRET_5": case "SECRET_6": case "SECRET_12": return(string.Format("{0} {1} taught {2} the secrets of life and death.", timestring, TeacherHF.ToString(), StudentHF.ToString(), HistoricalFigure.Interactions[Interaction])); case "DISCIPLINE_SECRET": return(string.Format("{0} {1} taught {2} the secrets of mental discipline.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "WAR_SECRET": return(string.Format("{0} {1} taught {2} the secrets of bezerking.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "SUMMONER": return(string.Format("{0} {1} taught {2} the secrets of summoning.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "SUICIDE_SECRET": return(string.Format("{0} {1} taught {2} the secrets of living death.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "MERCY_SECRET": return(string.Format("{0} {1} taught {2} the secrets of mercy and prophecy.", timestring, TeacherHF.ToString(), StudentHF.ToString())); case "NATURE_SECRET": return(string.Format("{0} {1} taught {2} the secrets of nature.", timestring, TeacherHF.ToString(), StudentHF.ToString())); default: return(string.Format("{0} {1} taught {2} {3}.", timestring, TeacherHF.ToString(), StudentHF.ToString(), HistoricalFigure.Interactions[Interaction])); } } }