def NewSystemHousekeeping(self,oldsystem,newsystem):
     fg_util.launchBases(newsystem)
     news.newNews()
     newquest = adventure.newAdventure (self.cur_player,oldsystem,newsystem)
     if (newquest):
         self.cur.quests+=[newquest]
     else:
         self.RestoreDroneMission()
     self.CalculateSignificantDistance()
Esempio n. 2
0
 def NewSystemHousekeeping(self, oldsystem, newsystem):
     fg_util.launchBases(newsystem)
     news.newNews()
     newquest = adventure.newAdventure(self.cur_player, oldsystem,
                                       newsystem)
     if (newquest):
         self.cur.quests += [newquest]
     else:
         self.RestoreDroneMission()
     self.CalculateSignificantDistance()
 def NewSystemHousekeeping(self,oldsystem,newsystem):
     print oldsystem,' IS NOW AT ',newsystem
     print oldsystem.split('/')[0]
     if oldsystem.split('/')[0]=='Special':
         print 'Showing splash screen!'
         ShowProgress.activateProgressScreen('loading', 0)
     fg_util.launchBases(newsystem)
     fg_util.launchUnits(newsystem)
     news.newNews()
     newquest = adventure.newAdventure (self.cur_player,oldsystem,newsystem)
     if (newquest):
         self.cur.quests+=[newquest]
     else:
         self.RestoreDroneMission()
     self.CalculateSignificantDistance()
     ShowProgress.deactivateProgressScreen('loading')
     VS.hideSplashScreen()
 def NewSystemHousekeeping(self, oldsystem, newsystem):
     print(oldsystem, ' IS NOW AT ', newsystem)
     print(oldsystem.split('/')[0])
     if oldsystem.split('/')[0] == 'Special':
         print('Showing splash screen!')
         ShowProgress.activateProgressScreen('loading', 0)
     fg_util.launchBases(newsystem)
     fg_util.launchUnits(newsystem)
     news.newNews()
     newquest = adventure.newAdventure(self.cur_player, oldsystem,
                                       newsystem)
     if (newquest):
         self.cur.quests += [newquest]
     else:
         self.RestoreDroneMission()
     self.CalculateSignificantDistance()
     ShowProgress.deactivateProgressScreen('loading')
     VS.hideSplashScreen()