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:
fcc0982
)
Forward-porting to Python 2.6 exposed a bug.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 13 Sep 2010 15:58:55 +0000
(15:58 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 13 Sep 2010 15:58:55 +0000
(15:58 +0000)
src/sst.py
patch
|
blob
|
history
diff --git
a/src/sst.py
b/src/sst.py
index 9eaf77dc990a98fab700f7eb927dc613f1298a3c..143ca5363622f8776ee8b92f73e811b887216903 100644
(file)
--- a/
src/sst.py
+++ b/
src/sst.py
@@
-649,7
+649,7
@@
def movescom(iq, avoid):
game.state.kscmdr = iq
game.state.galaxy[game.state.kscmdr.i][game.state.kscmdr.j].klingons += 1
if game.state.kscmdr==game.quadrant:
game.state.kscmdr = iq
game.state.galaxy[game.state.kscmdr.i][game.state.kscmdr.j].klingons += 1
if game.state.kscmdr==game.quadrant:
- # SC has scooted,
R
emove him from current quadrant
+ # SC has scooted,
r
emove him from current quadrant
game.iscate=False
game.isatb=0
game.ientesc = False
game.iscate=False
game.isatb=0
game.ientesc = False
@@
-4458,7
+4458,7
@@
def usecrystals():
skip(1)
prouts(_("Scotty- \"Keep your fingers crossed, Sir!\""))
skip(1)
skip(1)
prouts(_("Scotty- \"Keep your fingers crossed, Sir!\""))
skip(1)
- if
with(game.cryprob)
:
+ if
random.random() > game.cryprob
:
prouts(_(" \"Activating now! - - No good! It's***"))
skip(2)
prouts(_("***RED ALERT! RED A*L********************************"))
prouts(_(" \"Activating now! - - No good! It's***"))
skip(2)
prouts(_("***RED ALERT! RED A*L********************************"))