projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Follow through on a command name change.
[super-star-trek.git]
/
src
/
sst.py
diff --git
a/src/sst.py
b/src/sst.py
index cfdfe383e254b43119b4b57a5a74f9b2b407969d..a3455bfbf20e076b7c6439e1ecf5422cefadd0ec 100644
(file)
--- a/
src/sst.py
+++ b/
src/sst.py
@@
-1482,8
+1482,8
@@
def targetcheck(w):
return None
return delta.bearing()
return None
return delta.bearing()
-def
photon
():
- "Launch photon torpedo."
+def
torps
():
+ "Launch photon torpedo
salvo
."
course = []
game.ididit = False
if damaged(DPHOTON):
course = []
game.ididit = False
if damaged(DPHOTON):
@@
-5898,8
+5898,8
@@
def makemoves():
phasers()
if game.ididit:
hitme = True
phasers()
if game.ididit:
hitme = True
- elif cmd
== "TORPEDO":
# photon torpedos
-
photon
()
+ elif cmd
in ("TORPEDO", "PHOTONS"):
# photon torpedos
+
torps
()
if game.ididit:
hitme = True
elif cmd == "MOVE": # move under warp
if game.ididit:
hitme = True
elif cmd == "MOVE": # move under warp