|
|
|
@ -781,9 +781,14 @@ class mutant(QWidget): |
|
|
|
def parse_stat(self, result): |
|
|
|
if self.stat_parsed == False: |
|
|
|
self.status += result |
|
|
|
if result.find("(N)onstop") != -1 or result.find("(Q)uit") != -1 or result.find("(C)ontinue") != -1: |
|
|
|
self.status = "" |
|
|
|
self.stat_parsed = True |
|
|
|
|
|
|
|
if result.find(">") != -1: |
|
|
|
#Retally items, convert extras |
|
|
|
if not self.stat_parsed and self.status != "": |
|
|
|
print("status_length",str(len(self.status))) |
|
|
|
print(self.sell_list) |
|
|
|
print("deleted list") |
|
|
|
self.sell_list = [] |
|
|
|
@ -1129,7 +1134,7 @@ class mutant(QWidget): |
|
|
|
|
|
|
|
#scrapers |
|
|
|
if result.find("(N)onstop, (Q)uit, or (C)ontinue?") != -1: |
|
|
|
self.command_str.emit("C") |
|
|
|
self.command_str.emit("\r\n") |
|
|
|
|
|
|
|
#ion starvation |
|
|
|
if result.find("You're starving for IONS!") != -1: |
|
|
|
|