Esempio n. 1
0
 public static bool HasTaxOnGeneration(MapGenerator.CellStar star, char type, SpaceTradersModule module)
 {
     if (type == 'R')
     {
         return(false);
     }
     if (type == 'F')
     {
         return(module.BombInfo.IsTwoFactorPresent());
     }
     if (type == 'C' || type == 'E')
     {
         return(true);
     }
     return(HasTaxAt(star, module));
 }
Esempio n. 2
0
 public static bool HasTaxOnGenerationAt(MapGenerator.CellStar star, SpaceTradersModule module)
 {
     return(HasTaxOnGeneration(star, GetRaceType(star), module) ||
            HasTaxOnGeneration(star, GetRegimeType(star), module));
 }
Esempio n. 3
0
 public static char GetRegimeType(MapGenerator.CellStar star)
 {
     return(_data[star.name][regimeId[star.regime]]);
 }