public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += FramerHf.ToLink(link, pov, this); eventString += " attempted to frame "; eventString += TargetHf.ToLink(link, pov, this); eventString += $" for {Crime}"; if (PlotterHf != null) { eventString += " at the behest of "; eventString += PlotterHf.ToLink(link, pov, this); } eventString += " by fooling "; eventString += FooledHf.ToLink(link, pov, this); if (ConvicterEntity != null) { eventString += " and "; eventString += ConvicterEntity.ToLink(link, pov, this); } eventString += " with fabricated evidence, but nothing came from it"; eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); switch (RelationshipType) { case VagueRelationshipType.JealousObsession: eventString += SourceHf != null?SourceHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " became infatuated with "; eventString += TargetHf != null?TargetHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; break; case VagueRelationshipType.Lieutenant: eventString += SourceHf != null?SourceHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " recognized "; eventString += TargetHf != null?TargetHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " as a capable "; eventString += RelationshipType.GetDescription().ToLower(); break; case VagueRelationshipType.FormerLover: eventString += SourceHf != null?SourceHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " and "; eventString += TargetHf != null?TargetHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " broke up"; break; default: eventString += SourceHf != null?SourceHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " and "; eventString += TargetHf != null?TargetHf.ToLink(link, pov, this) : "UNKNOWN HISTORICAL FIGURE"; eventString += " became "; eventString += RelationshipType.GetDescription().ToLower() + "s"; break; } if (_site != null) { eventString += " in "; eventString += _site.ToLink(link, pov, this); } eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += SaboteurHf.ToLink(link, pov, this); eventString += " sabotaged the activities of "; eventString += TargetHf.ToLink(link, pov, this); if (Site != null) { eventString += " at "; eventString += Site.ToLink(link, pov, this); } eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); if (WantedAndRecognized && HeldFirmInInterrogation) { eventString += TargetHf.ToLink(link, pov, this); eventString += " was recognized and arrested by "; eventString += ArrestingEntity.ToLink(link, pov, this); eventString += ". Despite the interrogation by "; eventString += InterrogatorHf.ToLink(link, pov, this); eventString += ", "; eventString += TargetHf.ToLink(link, pov, this); eventString += " refused to reveal anything and was released"; } else { eventString += TargetHf.ToLink(link, pov, this); eventString += " was interrogated"; } eventString += PrintParentCollection(link, pov); eventString += "."; return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); eventString += CorruptorHf.ToLink(link, pov, this); eventString += " attempted to corrupt "; eventString += TargetHf.ToLink(link, pov, this); switch (Action) { case IntrigueAction.BribeOfficial: eventString += " in order to have law enforcement look the other way"; break; case IntrigueAction.InduceToEmbezzle: eventString += " in order to secure embezzled funds"; break; case IntrigueAction.CorruptInPlace: eventString += " in order to have an agent"; break; case IntrigueAction.BringIntoNetwork: eventString += " in order to have someone to act on plots and schemes"; break; } if (Site != null) { eventString += " in "; eventString += Site.ToLink(link, pov, this); } else if (Region != null) { eventString += " in "; eventString += Region.ToLink(link, pov, this); } else if (UndergroundRegion != null) { eventString += " in "; eventString += UndergroundRegion.ToLink(link, pov, this); } else { eventString += " in the wilds"; } eventString += PrintParentCollection(link, pov); eventString += ". "; if (LureHf != null) { eventString += LureHf.ToLink(link, pov, this).ToUpperFirstLetter(); eventString += " lured "; eventString += TargetHf.ToLink(link, pov, this); eventString += " into a meeting"; } else { eventString += CorruptorHf.ToLink(link, pov, this).ToUpperFirstLetter(); eventString += " met with "; eventString += TargetHf.ToLink(link, pov, this); } eventString += " and, while completely misreading the situation, "; switch (Method) { case IntrigueMethod.Intimidate: eventString += "made a threat. "; //eventString += TargetHf.ToLink(link, pov, this).ToUpperFirstLetter(); //eventString += " was unfraid and refused."; break; case IntrigueMethod.Flatter: eventString += "made flattering remarks. "; //eventString += TargetHf.ToLink(link, pov, this).ToUpperFirstLetter(); //eventString += " hated "; //eventString += CorruptorHf.ToLink(link, pov, this); //eventString += " and refused."; break; case IntrigueMethod.Bribe: eventString += "offered a bribe. "; break; case IntrigueMethod.Precedence: eventString += "pulled rank. "; break; case IntrigueMethod.OfferImmortality: eventString += "offered immortality. "; break; case IntrigueMethod.ReligiousSympathy: eventString += $"played on sympathy by appealing to a shared worship of {World.GetHistoricalFigure(RelevantIdForMethod)?.ToLink(link, pov, this)}. "; break; case IntrigueMethod.BlackmailOverEmbezzlement: var position = RelevantEntity?.EntityPositions.FirstOrDefault(p => p.Id == RelevantPositionProfileId); eventString += $"made a blackmail threat, due to embezzlement using the position {position?.Name} of {RelevantEntity?.ToLink(link, pov, this)}. "; break; case IntrigueMethod.RevengeOnGrudge: eventString += $"offered revenge upon {World.GetHistoricalFigure(RelevantIdForMethod)?.ToLink(link, pov, this)}. "; break; } eventString += "The plan failed."; // TODO create the right sentences for facet, value and relationship factors //eventString += "<br/>"; //if (TopFacet != null) //{ // eventString += $" TopFacet: {TopFacet} ({TopFacetRating}/{TopFacetModifier}) "; //} //if (TopValue != null) //{ // eventString += $" TopValue: {TopValue} ({TopValueRating}/{TopValueModifier}) "; //} //if (TopRelationshipFactor != null) //{ // eventString += $" TopRelationshipFactor: {TopRelationshipFactor} ({TopRelationshipRating}/{TopRelationshipModifier}) "; //} //if (FailedJudgmentTest) //{ // eventString += " FailedJudgmentTest "; //} //if (AllyDefenseBonus != 0) //{ // eventString += $" AllyDefenseBonus: {AllyDefenseBonus}"; //} //if (CoConspiratorBonus != 0) //{ // eventString += $" CoConspiratorBonus: {CoConspiratorBonus}"; //} return(eventString); }
public override string Print(bool link = true, DwarfObject pov = null) { string eventString = GetYearTime(); if (HeldFirmInInterrogation) { eventString += "due to ongoing surveillance"; if (SurveiledContact & ContactHf != null) { eventString += " on the contact "; eventString += ContactHf.ToLink(link, pov, this); } if (SurveiledCoConspirator & CoConspiratorHf != null) { eventString += " on a coconspirator "; eventString += CoConspiratorHf.ToLink(link, pov, this); } if (SurveiledTarget & TargetHf != null) { eventString += " on a target "; eventString += TargetHf.ToLink(link, pov, this); } eventString += " as the plot unfolded, "; } eventString += ConvictedHf.ToLink(link, pov, this); eventString += $" was {(WrongfulConviction ? "wrongfully " : "")}convicted "; if (ConvictIsContact) { eventString += $"as a go-between in a conspiracy to commit {Crime} "; } else { eventString += $"of {Crime} "; } if (ConvicterEntity != null) { eventString += "by "; eventString += ConvicterEntity.ToLink(link, pov, this); } if (CorruptConvictorHf != null) { eventString += " and "; eventString += CorruptConvictorHf.ToLink(link, pov, this); } if (PlotterHf != null && PlotterHf != CorruptConvictorHf) { eventString += " plotted by "; eventString += PlotterHf.ToLink(link, pov, this); } if (FooledHf != null && FramerHf != null) { eventString += " after "; eventString += FramerHf.ToLink(link, pov, this); eventString += " fooled "; eventString += FooledHf.ToLink(link, pov, this); eventString += " with fabricated evidence"; } if (Beating) { eventString += ", beaten"; } else if (Hammerstrokes > 0) { eventString += $", sentenced to {Hammerstrokes} hammerstrokes"; } if (PrisonMonth > 0) { eventString += $" and imprisoned for a term of {(PrisonMonth > 12 ? (PrisonMonth / 12) + " years" : PrisonMonth + " month")}"; } else if (DeathPenalty) { eventString += " and sentenced to death"; } if (Exiled) { eventString += " and exiled"; } eventString += PrintParentCollection(link, pov); eventString += ". "; if (ImplicatedHf != null) { eventString += ConvictedHf.ToLink(link, pov, this); eventString += " implicated "; eventString += ImplicatedHf.ToLink(link, pov, this); eventString += " during interrogation. "; } if (InterrogatorHf != null) { eventString += "Interrogation was led by "; eventString += InterrogatorHf.ToLink(link, pov, this); eventString += ". "; } return(eventString); }