protected override bool Pass(SignalArgs args) { if (args.TryGetArg("OUTCOME", out QuestEndOutcome arg)) { return(arg == QuestEndOutcome.Success); } return(false); }
protected override bool Pass(SignalArgs args) { if (args.TryGetArg("OUTCOME", out QuestEndOutcome arg)) { return(arg == QuestEndOutcome.Unknown); } return(true); }
protected override bool Pass(SignalArgs args) { if (!args.TryGetArg("SUBJECT", out Pawn arg)) { return(false); } if (arg.royalty != null) { return(!arg.royalty.PossibleDecreeQuests.Contains(quest.root)); } return(true); }