Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
jump_privateer.py
Go to the documentation of this file.
1 from trading import trading
2 from random_encounters import random_encounters
3 #print "done ran"
4 from difficulty import difficulty
5 import dynamic_universe
6 import total_jump
7 #print "difficulty begin"
8 #from garbage_collect import garbage_collect
9 import Director
10 #print "directing"
11 import Briefing
12 #print "briefd"
13 class jump_privateer (Director.Mission):
14  loops=()
15  def __init__ (self,sigdis, detectiondis, gendis, minships, genships, fighterprob, enemyprob, capprob, credits_to_maximize_difficulty, capdist):#negative garbage collect dist disables that feature
16 #print "initing direct"
17  Director.Mission.__init__(self)
18 #print "done direct"
19  self.loops=(difficulty (credits_to_maximize_difficulty),
20  random_encounters (sigdis, detectiondis, gendis, minships,genships,fighterprob,enemyprob,capprob,capdist),
21  trading (),
22  dynamic_universe,
24  # garbage_collect (),
25 
26  )
27 
28  def Execute(self): #this execute function should not need to be changed...
29  for i in self.loops:
30  i.Execute()
31  def initbriefing(self):
32  print "ending briefing"
33  def loopbriefing(self):
34  print "loop briefing"
35  Briefing.terminate();
36  def endbriefing(self):
37  print "ending briefing"
38 
39 #def initstarsystem():
40 # random_encounters.initstarsystem() #??? that isn't there