Ejemplo n.º 1
0
 public static void Postfix(ref IncidentParms parms, ref bool __result)
 {
     if (parms.faction != null && !IgnoranceBase.FactionInEligibleTechRange(parms.faction))
     {
         if (IgnoranceSettings.changeQuests)
         {
             Faction newFaction = IgnoranceBase.GetRandomEligibleFaction();
             if (newFaction != null)
             {
                 parms.faction = newFaction;
                 return;
             }
             return;
         }
         else
         {
             __result = true;
         }
         return;
     }
 }
Ejemplo n.º 2
0
 public static void Postfix(Faction f, ref bool __result)
 {
     __result = __result && IgnoranceBase.FactionInEligibleTechRange(f);
 }