ソースを参照

Terror Warp

Transwarp now should be handled when using the Terror script!
david 5 年 前
コミット
8174fd9147
1 ファイル変更4 行追加2 行削除
  1. 4 2
      flexible.py

+ 4 - 2
flexible.py

@@ -1976,7 +1976,9 @@ class ScriptTerror(object):
             if prompt.startswith('Do you want to engage the TransWarp drive? '):
                 self.queue_player.put("N")
         elif self.state == 2:
-            if prompt.startswith('Engage the Autopilot? (Y/N/Single step/Express) [Y]'):
+            if prompt.startswith('Do you want to engage the TransWarp drive? '):
+                self.queue_player.put("N")
+            elif prompt.startswith('Engage the Autopilot? (Y/N/Single step/Express) [Y]'):
                 self.queue_player.put("E")
             elif prompt.startswith('Stop in this sector (Y,N,E,I,R,S,D,P,?) (?=Help) [N] ?'):
                 self.queue_player.put("N")
@@ -2659,7 +2661,7 @@ class ColoScript2(object):
             if len(self.planets) == 0:
                 # Ok, this is easy.
                 self.queue_game.put(self.nl + Boxes.alert("You don't have any planets?  You poor, poor dear.", base="red"))
-                self.deactivate()
+                self.deactivate(True)
                 return
 
             # I need this to know if I can just land, or need to move to the planet.