private static Func <DiaNode> ResetToRoot(Faction faction, Pawn negotiator) { return(() => ReinforcementDialogMakerRC.FactionDialogFor(negotiator, faction)); }
public void OpenCommsWith(Pawn negotiator, Faction faction) { Dialog_Negotiation dialog_Negotiation = new Dialog_Negotiation(negotiator, faction, ReinforcementDialogMakerRC.FactionDialogFor(negotiator, faction), true); //dialog_Negotiation.soundAmbient = RCDefsOf.AmbientRequisitionRelayRH; SoundStarter.PlayOneShot(RCDefsOf.PickUpRequisitionRelayRH, SoundInfo.OnCamera()); Find.WindowStack.Add(dialog_Negotiation); }