projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ready to ship 2.6.
[super-star-trek.git]
/
sst.py
diff --git
a/sst.py
b/sst.py
index aa91753a9cb67f0c56bf9973c4499469b8c0a589..5e6d88ec3d130e41418523bed1d583246e056f65 100755
(executable)
--- a/
sst.py
+++ b/
sst.py
@@
-32,7
+32,7
@@
try:
except NameError:
my_input = input
except NameError:
my_input = input
-version = "2.
5
"
+version = "2.
6
"
docpath = (".", "doc/", "/usr/share/doc/sst/")
docpath = (".", "doc/", "/usr/share/doc/sst/")
@@
-2859,7
+2859,7
@@
def supernova(w):
for nq.i in range(GALSIZE):
for nq.j in range(GALSIZE):
nstars += game.state.galaxy[nq.i][nq.j].stars
for nq.i in range(GALSIZE):
for nq.j in range(GALSIZE):
nstars += game.state.galaxy[nq.i][nq.j].stars
- if stars == 0:
+ if
n
stars == 0:
return # nothing to supernova exists
num = rnd.integer(nstars) + 1
for nq.i in range(GALSIZE):
return # nothing to supernova exists
num = rnd.integer(nstars) + 1
for nq.i in range(GALSIZE):
@@
-5359,7
+5359,6
@@
def sectscan(goodScan, i, j):
'T':LIGHTRED,
'@':LIGHTGREEN,
'P':LIGHTGREEN,
'T':LIGHTRED,
'@':LIGHTGREEN,
'P':LIGHTGREEN,
- '?':MAGENTA,
}.get(game.quad[i][j], DEFAULT))
proutn("%c " % game.quad[i][j])
textcolor(DEFAULT)
}.get(game.quad[i][j], DEFAULT))
proutn("%c " % game.quad[i][j])
textcolor(DEFAULT)