62 location = Vector.Add (self.object.Position(),(
vsrandom.uniform(-10000,10000),
66 for i
in range(number):
70 self.
capital += [VS.launch(self.
names[self.
stage-1],shiptype,
'confed',
'unit',
'sitting_duck',1,1,pos,
'')]
77 for i
in range(number):
88 ship.SetTarget(self.
object)
91 ship.LoadAIScript(
"modules/ai_escortpatrol.py")
93 self.
timer = VS.GetGameTime()
98 if (self.
stage==10
and VS.GetGameTime()>self.
timer):
99 text =
"JUMP POINT BLOCKADE IN " + self.
system +
" SYSTEM\\\Intelligence has uncovered Aeran plans to invade Confederation space."
100 text +=
"As a preventive measure " +
str(self.
groups) +
" flight groups were dispatched and stationed near the Nethuuleil jump point. "
101 text +=
"Multiple capital vessels are guarding the jump point while a multitude of fighter escorts is patrolling nearby space."
103 self.
timer = VS.GetGameTime()+5
106 if (self.
stage==11
and VS.GetGameTime()>self.
timer):
111 while (numchatters<2):
113 if (self.
fighter[chatter].getFlightgroupName()==self.
names[flightgroup-1]):
114 chatters += [chatter]
123 self.
timer = VS.GetGameTime()+240
125 if (self.
stage==12
and VS.GetGameTime()>self.
timer):
130 while (numchatters<2):
132 if (self.
fighter[chatter].getFlightgroupName()==self.
names[flightgroup-1]):
133 chatters += [chatter]
144 VS.IOmessage (65,
unit.getUnitFullName(self.
fighter[chatters[0]]),
"all",self.
msgColor[0]+
"You think so? And what if you're not right? Will you take care of my 'lil sister if I die?")
146 VS.IOmessage (80,
unit.getUnitFullName(self.
fighter[chatters[1]]),
"all",self.
msgColor[1]+
"Just stick to your orders and by dinner time we'll have a big jar of Pilsner and a nice long talk.")
147 self.
timer = VS.GetGameTime()+300
159 if (
not VS.getSystemName()==self.
system):
169 quest.quest_factory.__init__ (self,
"quest_blockade")
171 return quest.findQuest (playernum,
"quest_blockade")
178 Director.Mission.__init__(self)
179 self.classes = classesToExecute
181 for c
in self.classes: