X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.py;h=a3455bfbf20e076b7c6439e1ecf5422cefadd0ec;hp=cfdfe383e254b43119b4b57a5a74f9b2b407969d;hb=6e10945fffe610c696959c102ca4ee0344e50df4;hpb=5536be658937986dcf78b0d076716923ccb11f61 diff --git a/src/sst.py b/src/sst.py index cfdfe38..a3455bf 100644 --- a/src/sst.py +++ b/src/sst.py @@ -1482,8 +1482,8 @@ def targetcheck(w): return None return delta.bearing() -def photon(): - "Launch photon torpedo." +def torps(): + "Launch photon torpedo salvo." course = [] game.ididit = False if damaged(DPHOTON): @@ -5898,8 +5898,8 @@ def makemoves(): 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