43 if (self.
stage==1
and VS.GetGameTime()>=self.
timer):
44 if (self.shipyard.getSignificantDistance(self.
player) > 20000):
46 print "distance" +
str(self.shipyard.getSignificantDistance(self.
player))
50 pos = self.shipyard.Position()
51 size = 10*self.shipyard.rSize()
52 VS.playAnimation(
"explosion_orange.ani",pos,size)
53 pos = (pos[0]+.5*size,pos[1],pos[2])
54 VS.playAnimation(
"explosion_orange.ani",pos,size)
55 pos = (pos[0]-size,pos[1],pos[2])
56 VS.playAnimation(
"explosion_orange.ani",pos,size)
57 VS.playSound(
"explosion.wav",pos,(1,0,0))
58 self.shipyard.DealDamageToHull ((10,0,0),self.shipyard.GetHull()*.9)
59 self.
timer = VS.GetGameTime()+10
61 if (self.
stage==2
and VS.GetGameTime()>=self.
timer):
63 text =
"NAVAL SHIPYARDS HIT BY BOMB\\\Disaster struck the Confederate Naval Shipyards orbiting Alpha Centauri hours ago, when a powerful explosive device detonated, crippling a fleet carrier that was nearing completion. "
64 text +=
"At least a dozen casualties were reported with an unknown number of injured, and salvage crews are still working hard to clear the area of wreckage. "
65 text +=
"A team from the CSP (Confederate Security Police) arrived at the shipyards mere hours after the incident, and an investigation has been launched to determine who the perpetrators of this attack were, whether they were human terrorists or agents of an alien power."
68 if (self.
stage==99
and not VS.getSystemName()==self.
system):
71 self.
name =
"quest_shipyardbomb"
78 quest.quest_factory.__init__ (self,
"quest_shipyardbomb")
87 Director.Mission.__init__(self)
88 self.classes = classesToExecute
90 for c
in self.classes: