示例#1
0
 public QuestPawn(Pawn pawn, QuestGiverDef questGiverDef, List <QuestScriptDef> quests, List <IncidentDef> incidents)
 {
     this.pawn          = pawn;
     this.questGiverDef = questGiverDef;
     this.quests        = quests;
     this.incidents     = incidents;
 }
示例#2
0
 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)));
 }
示例#3
0
 public QuestPawn(Pawn pawn, QuestGiverDef questGiverDef, List <IncidentDef> quests)
 {
     this.pawn          = pawn;
     this.questGiverDef = questGiverDef;
     this.quests        = quests;
 }