projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54df409
)
Breadcrumb removal.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 Apr 2019 16:20:02 +0000
(12:20 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 24 Apr 2019 16:20:02 +0000
(12:20 -0400)
sst.py
patch
|
blob
|
history
diff --git
a/sst.py
b/sst.py
index fec64ec815c8793c23c046301674da5582bdebe8..925643bd70fde02a8cdacbd161da3d9cf4901312 100755
(executable)
--- a/
sst.py
+++ b/
sst.py
@@
-952,7
+952,6
@@
def movetholian():
game.tholian.move(None)
prout("***Internal error: Tholian in a bad spot.")
return
game.tholian.move(None)
prout("***Internal error: Tholian in a bad spot.")
return
- print("Tholian moving from %s to %s" % (game.tholian.location, tid))
# do nothing if we are blocked
if game.quad[tid.i][tid.j] not in ('.', '#'):
return
# do nothing if we are blocked
if game.quad[tid.i][tid.j] not in ('.', '#'):
return
@@
-2074,7
+2073,6
@@
def phasers():
prout(_("Manual-fire-must-be-used"))
skip(1)
elif automode == "MANUAL":
prout(_("Manual-fire-must-be-used"))
skip(1)
elif automode == "MANUAL":
- print("****HERE WE ARE*** %d" % len(game.enemies))
rpow = 0.0
for k in range(len(game.enemies)):
aim = game.enemies[k].location
rpow = 0.0
for k in range(len(game.enemies)):
aim = game.enemies[k].location
@@
-2119,7
+2117,6
@@
def phasers():
# abort out
scanner.chew()
return
# abort out
scanner.chew()
return
- print("k is %d" % k)
hits.append(scanner.real)
rpow += scanner.real
# If total requested is too much, inform and start over
hits.append(scanner.real)
rpow += scanner.real
# If total requested is too much, inform and start over
@@
-3883,7
+3880,7
@@
def imove(icourse=None, noattack=False):
newquadrant(noattack)
break
elif check_collision(w):
newquadrant(noattack)
break
elif check_collision(w):
- pr
int("Collision detected"
)
+ pr
out(_("Collision detected")
)
break
else:
game.sector = w
break
else:
game.sector = w