Esempio n. 1
0
 def __init__(self, game):
     self.iso8 = routines.Iso8(game)
     super().__init__(game, "ISO-8: UPGRADE", self.iso8.upgrade_iso8)
     self.mode_settings.append(
         Action.ModeSetting(
             setting_type=Action.ModeSetting.Spinbox,
             setting_key="times_for_each_upgrade",
             text="Select how many time to upgrade each of ISO-8 type",
             min=0,
             max=99,
             initial_value=0))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="iso_to_upgrade",
                            values_dict=self.iso_to_upgrade))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="iso_to_use",
                            values_dict=self.iso_to_use,
                            add_to_next_column=True))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="stars_to_use",
                            values_dict=self.stars_to_use,
                            add_to_next_column=True))
Esempio n. 2
0
 def __init__(self, game):
     self.iso8 = routines.Iso8(game)
     super().__init__(game, "ISO-8: LOCK", self.iso8.lock_iso8)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="iso_to_lock",
                            values_dict=self.iso_to_lock))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="options_to_lock",
                            values_dict=self.options_to_lock,
                            add_to_next_column=True))
Esempio n. 3
0
 def __init__(self, game):
     self.alliance = routines.Alliance(game)
     super().__init__(game, "ALLIANCE: COLLECT ENERGY FROM CHALLENGES",
                      self.alliance.collect_energy_from_challenges)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="collect_daily",
                            text="Collect daily Challenges energy"))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="collect_weekly",
                            text="Collect weekly Challenges energy"))
Esempio n. 4
0
 def __init__(self, game):
     self.alliance = routines.Alliance(game)
     super().__init__(game, "ALLIANCE: DONATE",
                      self.alliance.donate_resources)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="donate_gold",
                            text="Donate Gold"))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="donate_memento",
                            text="Donate Alliance Memento"))
Esempio n. 5
0
 def __init__(self, game):
     self.alliance = routines.Alliance(game)
     super().__init__(game, "ALLIANCE: BUY ITEMS FROM STORE",
                      self.alliance.buy_items_from_store)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="items",
                            values_dict=self.items))
     self.mode_settings.append(
         Action.ModeSetting(
             setting_type=Action.ModeSetting.Checkbox,
             setting_key="buy_all_available",
             text="Buy all available copies of item for today"))
Esempio n. 6
0
 def __init__(self, game):
     self.world_boss = missions.WorldBoss(game)
     super().__init__(game, "RESET TODAY'S WORLD BOSS",
                      self.world_boss.change_world_boss_of_the_day)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Spinbox,
                            setting_key="max_resets",
                            text="Max times of resets",
                            min=0,
                            max=99,
                            initial_value=99))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="world_boss",
                            values_dict=self.world_bosses))
Esempio n. 7
0
 def __init__(self, game):
     self.iso8 = routines.Iso8(game)
     super().__init__(game, "ISO-8: COMBINE", self.iso8.combine_iso8)
     self.mode_settings.append(
         Action.ModeSetting(
             setting_type=Action.ModeSetting.Spinbox,
             setting_key="times_for_each_combine",
             text="Select how many time to combine each of ISO-8 type",
             min=0,
             max=99,
             initial_value=0))
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="iso_to_combine",
                            values_dict=self.iso_to_combine))
Esempio n. 8
0
 def __init__(self, game):
     self.support_shop = routines.SupportShop(game)
     super().__init__(game, "SUPPORT SHOP: BUY MATERIALS",
                      self.support_shop.buy_materials)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="materials_list",
                            values_dict=self.material_list))
Esempio n. 9
0
 def __init__(self, game):
     self.custom_gear = routines.CustomGear(game)
     super().__init__(game, "CUSTOM GEAR: UPGRADE",
                      self.custom_gear.quick_upgrade_gear)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Spinbox,
                            setting_key="times",
                            text="Select how many time to upgrade"))
Esempio n. 10
0
 def __init__(self, game):
     self.store = routines.Artifact(game)
     super().__init__(game, "ARTIFACT: DISMANTLE",
                      self.store.dismantle_artifacts)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="artifact_stars",
                            values_dict=self.stars_to_dismantle))
Esempio n. 11
0
 def __init__(self, game):
     self.store = routines.EnergyStore(game)
     super().__init__(game, "ENERGY: COLLECT VIA ASSEMBLE POINTS",
                      self.store.collect_energy_via_assemble_points)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="use_all_points",
                            text="Use all available Assemble Points"))
Esempio n. 12
0
 def __init__(self, game):
     self.store = routines.ArtifactStore(game)
     super().__init__(game, "STORE: BUY ARTIFACT CHEST",
                      self.store.buy_artifact_chest)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.MultiCheckbox,
                            setting_key="chests_to_buy",
                            values_dict=self.artifact_chest))
Esempio n. 13
0
 def __init__(self, game):
     super().__init__(game, "RUN QUEUE", lambda queue_index: None)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Spinbox,
                            setting_key="queue_index",
                            text="Index of queue to run",
                            initial_value=1,
                            min=1,
                            max=4))
Esempio n. 14
0
 def __init__(self, game):
     self.alliance = routines.Alliance(game)
     super().__init__(game, "ALLIANCE: REQUEST SUPPORT",
                      self.alliance.request_support_item)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Combobox,
                            setting_key="support_item",
                            text="Select item to request",
                            values_dict=self.support_items))
Esempio n. 15
0
 def __init__(self, game):
     self.inbox = routines.Inbox(game)
     super().__init__(game, "INBOX - GIFTS: ACQUIRE ALL",
                      self.inbox.acquire_all_gifts)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Checkbox,
                            setting_key="acquire_energy",
                            text="Acquire energy",
                            initial_state=False))
Esempio n. 16
0
 def __init__(self, game):
     self.wait_until = routines.WaitUntil(game)
     super().__init__(game, "WAIT FOR BOOST POINTS",
                      self.wait_until.wait_until_boost_points)
     self.mode_settings.append(
         Action.ModeSetting(
             setting_type=Action.ModeSetting.Spinbox,
             setting_key="value",
             text="Wait until boost points value is equal or greater than",
             initial_value=100,
             max=9999))
Esempio n. 17
0
 def __init__(self, game):
     self.wait_until = routines.WaitUntil(game)
     super().__init__(game, "WAIT FOR ENERGY",
                      self.wait_until.wait_until_energy)
     self.mode_settings.append(
         Action.ModeSetting(
             setting_type=Action.ModeSetting.Spinbox,
             setting_key="value",
             text="Wait until energy value is equal or greater than",
             initial_value=120,
             max=9999))
Esempio n. 18
0
 def __init__(self, game):
     self.wait_until = routines.WaitUntil(game)
     super().__init__(game, "WAIT DAILY RESET",
                      self.wait_until.wait_until_daily_reset)
     self.mode_settings.append(
         Action.ModeSetting(setting_type=Action.ModeSetting.Spinbox,
                            setting_key="hour_offset",
                            text="Offset in hours before daily reset",
                            initial_value=0,
                            min=0,
                            max=24))