public QuestPawn(Pawn pawn, QuestGiverDef questGiverDef, List <QuestScriptDef> quests, List <IncidentDef> incidents) { this.pawn = pawn; this.questGiverDef = questGiverDef; this.quests = quests; this.incidents = incidents; }
private void GenerateQuestGiver(FactionDef pawnFaction) { questGiverDef = DefDatabase <QuestGiverDef> .AllDefs.FirstOrDefault(x => (x.factions != null && x.factions.Contains(pawnFaction)) || (x.techLevels != null && x.techLevels.Contains(pawnFaction.techLevel))); }
public QuestPawn(Pawn pawn, QuestGiverDef questGiverDef, List <IncidentDef> quests) { this.pawn = pawn; this.questGiverDef = questGiverDef; this.quests = quests; }