Browse Source

12/31/2022

BradDev
Joe DiPrima 3 years ago
parent
commit
c0fde49662
  1. 8
      qmutants.py

8
qmutants.py

@ -179,7 +179,7 @@ class mutant(QWidget):
self.clss = "Thief"
self.level = 0
self.riblet_thresh = 200000
self.ion_thresh = 2000000
self.ion_thresh = 4000000
self.present_year=player.start_year
self.no_action_cnt = 0
@ -823,6 +823,10 @@ class mutant(QWidget):
self.send_cmd("secure "+str(self.ions-self.ion_thresh)+"\r\n")
self.mqtt_str_quiet.emit(self.user," secured "+str(self.ions-self.ion_thresh)+" ions" )
self.ions = self.ion_thresh
if self.ions < self.ion_thresh:
self.send_cmd("unsecure "+str(self.ion_thresh-self.ions)+"\r\n")
self.mqtt_str_quiet.emit(self.user," unsecured "+str(self.ion_thresh-self.ions)+" ions" )
self.ions = self.ion_thresh
if function == "STOCK" and self.auto_farm:
self.stock_items()
@ -1204,7 +1208,7 @@ class mutant(QWidget):
self.index_area(result)
#deposit riblets
if self.riblets > (self.min_riblets + self.riblet_thresh) and self.path_step == 0 and self.wander and not self.in_combat:
if (self.riblets > (self.min_riblets + self.riblet_thresh) or self.ions < (self.ion_thresh/2)) and self.path_step == 0 and self.wander and not self.in_combat:
self.send_cmd("stat\r\n")
self.current_path = self.bank_list[self.selected_path][:]
self.path_step = 1

Loading…
Cancel
Save