public static IRobotTemplateRelation GetRandomByMissionLevelAndRaceID(this IRobotTemplateRelations relations, int missionLevel, int raceID)
 {
     return(relations.GetAll().Where(r => r.HasMissionLevel).FilterByMissionLevel(missionLevel).FilterByRaceID(raceID).RandomElement());
 }
 public static IRobotTemplateRelation GetRandomIndustrialNpc(this IRobotTemplateRelations relations, int level)
 {
     return(relations.GetAll().Where(r => r.HasMissionLevel && r.MissionLevel >= 0 && r.MissionLevel <= level).FilterByRaceID(INDY_RACE).RandomElement());
 }