Sfoglia il codice sorgente

ColoScript removed splitting colos.

david 5 anni fa
parent
commit
4bebda25f4
1 ha cambiato i file con 2 aggiunte e 10 eliminazioni
  1. 2 10
      flexible.py

+ 2 - 10
flexible.py

@@ -2519,8 +2519,6 @@ class ColoScript(object):
         self.planets = {}
         self.loops = 0
         self.maxloops = 0
-        # Split up colonist so we don't deposit all into fuel ore
-        self.nextCat = 1
         
         # Activate
         self.prompt = game.buffer
@@ -2719,16 +2717,10 @@ class ColoScript(object):
                 self.loops -= 1
                 if self.loops:
                     self.state = 3
-                    self.send2game("S\r\r{0}\rQ".format(self.nextCat))
-                    self.nextCat += 1
-                    if self.nextCat > 3:
-                        self.nextCat = 1
+                    self.send2game("S\r\r1\rQ")
                     # Jump to state 3 we are not done
                 else:
-                    self.send2game("S\r\r{0}\rQ".format(self.nextCat))
-                    self.nextCat += 1
-                    if self.nextCat > 3:
-                        self.nextCat = 1
+                    self.send2game("S\r\r1\rQ")
                     self.send2player("\r" + Boxes.alert("Completed ({0})".format(self.maxloops)))
                     self.deactivate(True)
                     # Ok we are done