- self.quadrant = None # where we are in the large
- self.sector = None # where we are in the small
- self.tholian = None # Tholian enemy object
- self.base = None # position of base in current quadrant
- self.battle = None # base coordinates being attacked
- self.plnet = None # location of planet in quadrant
- self.gamewon = False # Finished!
- self.ididit = False # action taken -- allows enemy to attack
- self.alive = False # we are alive (not killed)
- self.justin = False # just entered quadrant
- self.shldup = False # shields are up
- self.shldchg = False # shield is changing (affects efficiency)
- self.iscate = False # super commander is here
- self.ientesc = False # attempted escape from supercommander
- self.resting = False # rest time
- self.icraft = False # Kirk in Galileo
- self.landed = False # party on planet (true), on ship (false)
- self.alldone = False # game is now finished
- self.neutz = False # Romulan Neutral Zone
- self.isarmed = False # probe is armed
- self.inorbit = False # orbiting a planet
- self.imine = False # mining
- self.icrystl = False # dilithium crystals aboard
- self.iseenit = False # seen base attack report
- self.thawed = False # thawed game
- self.condition = None # "green", "yellow", "red", "docked", "dead"
- self.iscraft = None # "onship", "offship", "removed"
- self.skill = None # Player skill level
- self.inkling = 0 # initial number of klingons
- self.inbase = 0 # initial number of bases
- self.incom = 0 # initial number of commanders
- self.inscom = 0 # initial number of commanders
- self.inrom = 0 # initial number of commanders
- self.instar = 0 # initial stars
- self.intorps = 0 # initial/max torpedoes
- self.torps = 0 # number of torpedoes
- self.ship = 0 # ship type -- 'E' is Enterprise
- self.abandoned = 0 # count of crew abandoned in space
- self.length = 0 # length of game
- self.klhere = 0 # klingons here
- self.casual = 0 # causalties
- self.nhelp = 0 # calls for help
- self.nkinks = 0 # count of energy-barrier crossings
- self.iplnet = None # planet # in quadrant
- self.inplan = 0 # initial planets
- self.irhere = 0 # Romulans in quadrant
- self.isatb = 0 # =2 if super commander is attacking base
- self.tourn = None # tournament number
- self.nprobes = 0 # number of probes available
- self.inresor = 0.0 # initial resources
- self.intime = 0.0 # initial time
- self.inenrg = 0.0 # initial/max energy
- self.inshld = 0.0 # initial/max shield
- self.inlsr = 0.0 # initial life support resources
- self.indate = 0.0 # initial date
- self.energy = 0.0 # energy level
- self.shield = 0.0 # shield level
- self.warpfac = 0.0 # warp speed
- self.lsupres = 0.0 # life support reserves
- self.optime = 0.0 # time taken by current operation
- self.damfac = 0.0 # damage factor
- self.lastchart = 0.0 # time star chart was last updated
- self.cryprob = 0.0 # probability that crystal will work
- self.probe = None # object holding probe course info
- self.height = 0.0 # height of orbit around planet
- self.score = 0.0 # overall score
- self.perdate = 0.0 # rate of kills
- self.idebug = False # Debugging instrumentation enabled?
+ self.quadrant = None # where we are in the large
+ self.sector = None # where we are in the small
+ self.tholian = None # Tholian enemy object
+ self.base = None # position of base in current quadrant
+ self.battle = None # base coordinates being attacked
+ self.plnet = None # location of planet in quadrant
+ self.gamewon = False # Finished!
+ self.ididit = False # action taken -- allows enemy to attack
+ self.alive = False # we are alive (not killed)
+ self.justin = False # just entered quadrant
+ self.shldup = False # shields are up
+ self.shldchg = False # shield is changing (affects efficiency)
+ self.iscate = False # super commander is here
+ self.ientesc = False # attempted escape from supercommander
+ self.resting = False # rest time
+ self.icraft = False # Kirk in Galileo
+ self.landed = False # party on planet (true), on ship (false)
+ self.alldone = False # game is now finished
+ self.neutz = False # Romulan Neutral Zone
+ self.isarmed = False # probe is armed
+ self.inorbit = False # orbiting a planet
+ self.imine = False # mining
+ self.icrystl = False # dilithium crystals aboard
+ self.iseenit = False # seen base attack report
+ self.thawed = False # thawed game
+ self.condition = None # "green", "yellow", "red", "docked", "dead"
+ self.iscraft = None # "onship", "offship", "removed"
+ self.skill = SKILL_NONE # Player skill level
+ self.inkling = 0 # initial number of klingons
+ self.inbase = 0 # initial number of bases
+ self.incom = 0 # initial number of commanders
+ self.inscom = 0 # initial number of commanders
+ self.inrom = 0 # initial number of commanders
+ self.instar = 0 # initial stars
+ self.intorps = 0 # initial/max torpedoes
+ self.torps = 0 # number of torpedoes
+ self.ship = 0 # ship type -- 'E' is Enterprise
+ self.abandoned = 0 # count of crew abandoned in space
+ self.length = 0 # length of game
+ self.klhere = 0 # klingons here
+ self.casual = 0 # causalties
+ self.nhelp = 0 # calls for help
+ self.nkinks = 0 # count of energy-barrier crossings
+ self.iplnet = None # planet # in quadrant
+ self.inplan = 0 # initial planets
+ self.irhere = 0 # Romulans in quadrant
+ self.isatb = 0 # =2 if super commander is attacking base
+ self.tourn = None # tournament number
+ self.nprobes = 0 # number of probes available
+ self.inresor = 0.0 # initial resources
+ self.intime = 0.0 # initial time
+ self.inenrg = 0.0 # initial/max energy
+ self.inshld = 0.0 # initial/max shield
+ self.inlsr = 0.0 # initial life support resources
+ self.indate = 0.0 # initial date
+ self.energy = 0.0 # energy level
+ self.shield = 0.0 # shield level
+ self.warpfac = 0.0 # warp speed
+ self.lsupres = 0.0 # life support reserves
+ self.optime = 0.0 # time taken by current operation
+ self.damfac = 0.0 # damage factor
+ self.lastchart = 0.0 # time star chart was last updated
+ self.cryprob = 0.0 # probability that crystal will work
+ self.probe = None # object holding probe course info
+ self.height = 0.0 # height of orbit around planet
+ self.score = 0.0 # overall score
+ self.perdate = 0.0 # rate of kills
+ self.idebug = False # Debugging instrumentation enabled?
+ self.cdebug = False # Debugging instrumentation for curses enabled?