コード例 #1
0
 def __init__ (self):
     Director.Mission.__init__(self)
     self.campaign={("vega_sector/enyo",0):wc1_mis0.wc1_mis0(),
                    ("vega_sector/vega",0):wc1_mis1.wc1_mis1()}
     self.sector=save_util.loadStringList (0,"wc1sector")
     if (self.sector==[]):
         self.sector = "vega_sector/enyo";
     else:
         [self.sector]=self.sector
     self.curmission=0
     if (self.sector==""):
         self.sector="vega_sector/enyo"
     self.mission=Director.getSaveData(0,"wc1mission",0)
     self.carrier = launch.launch ("BengalClass","confed","fleetcarrier","default",1,1,(0,0,0))
     self.wfm=""
     self.StartMission(VS.getSystemFile(),self.sector,self.mission)
コード例 #2
0
 def recoverShipTypes (self):
     return save_util.loadStringList (self.playernum, "%s_wingships" % (self.faction));