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)); }
public static bool HasTaxOnGenerationAt(MapGenerator.CellStar star, SpaceTradersModule module) { return(HasTaxOnGeneration(star, GetRaceType(star), module) || HasTaxOnGeneration(star, GetRegimeType(star), module)); }
public static char GetRegimeType(MapGenerator.CellStar star) { return(_data[star.name][regimeId[star.regime]]); }