X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.py;h=b34801ab34dbb71a21e2ee7fa43ad6c48336ffeb;hp=9b30f22197e3c959431932933aa6018b650b26ce;hb=c52b8d636f9dc61df87759d1b0e772de4ae621d3;hpb=77fcb4a6dfb5405717d172c6604098168c808b81 diff --git a/sst.py b/sst.py index 9b30f22..b34801a 100755 --- a/sst.py +++ b/sst.py @@ -5875,38 +5875,38 @@ commands = [ ("TORPEDO", 0), ("PHOTONS", 0), ("MOVE", 0), - ("SHIELDS", 0), + ("SHIELDS", 0), ("DOCK", 0), - ("DAMAGES", 0), + ("DAMAGES", 0), ("CHART", 0), ("IMPULSE", 0), ("REST", 0), ("WARP", 0), ("SCORE", 0), ("SENSORS", OPTION_PLANETS), - ("ORBIT", OPTION_PLANETS), + ("ORBIT", OPTION_PLANETS), ("TRANSPORT", OPTION_PLANETS), - ("MINE", OPTION_PLANETS), - ("CRYSTALS", OPTION_PLANETS), + ("MINE", OPTION_PLANETS), + ("CRYSTALS", OPTION_PLANETS), ("SHUTTLE", OPTION_PLANETS), ("PLANETS", OPTION_PLANETS), ("REPORT", 0), ("COMPUTER", 0), ("COMMANDS", 0), - ("EMEXIT", 0), - ("PROBE", OPTION_PROBE), - ("SAVE", 0), - ("FREEZE", 0), # Synonym for SAVE + ("EMEXIT", 0), + ("PROBE", OPTION_PROBE), + ("SAVE", 0), + ("FREEZE", 0), # Synonym for SAVE ("ABANDON", 0), ("DESTRUCT", 0), ("DEATHRAY", 0), ("DEBUG", 0), - ("MAYDAY", 0), - ("SOS", 0), # Synonym for MAYDAY - ("CALL", 0), # Synonym for MAYDAY - ("QUIT", 0), - ("HELP", 0), - ("", 0), + ("MAYDAY", 0), + ("SOS", 0), # Synonym for MAYDAY + ("CALL", 0), # Synonym for MAYDAY + ("QUIT", 0), + ("HELP", 0), + ("", 0), ] def listCommands(): @@ -6007,6 +6007,8 @@ def makemoves(): if cmd == "": listCommands() continue + elif opt and not (opt & game.options): + huh() else: break if cmd == "SRSCAN": # srscan