def __setVehicleCollectorState(self):
     isVehicleCollectorEnabled = self._lobbyContext.getServerSettings(
     ).isCollectorVehicleEnabled()
     self.as_setVehicleCollectorStateS(
         isVehicleCollectorEnabled
         and hasCollectibleVehicles(SelectedNation.getIndex())
         and not self.__bootcampController.isInBootcamp())
 def getCollectionNations(self, cmd):
     return {
         nations.MAP[nationID]:
         self.itemsCache.items.stats.getMaxResearchedLevel(nationID)
         for nationID in nations.MAP if hasCollectibleVehicles(nationID)
     }
Exemple #3
0
 def isHidden(self):
     return not (hasCollectibleVehicles(self._nationID)
                 or self._isInDossier)