Example #1
0
"""ITOPOD Sniping script."""
import time
# Helper classes
from classes.features import Adventure, GoldDiggers, MoneyPit, Inventory
from classes.helper import Helper
from classes.stats import Tracker

import constants as const

Helper.init(True)
Helper.requirements()

tracker = Tracker(5)

while True:  # main loop
    titans = Adventure.check_titan_status()
    if titans:
        for titan in titans:
            Adventure.kill_titan(titan)
    Adventure.itopod_snipe(300)
    MoneyPit.pit()
    tracker.progress()
    GoldDiggers.gold_diggers(const.DEFAULT_DIGGER_ORDER)
    Inventory.boost_equipment(boost_cube=True)
    time.sleep(3)  # Need to wait for tooltip to disappear
Example #2
0
# Helper classes
from classes.features   import Adventure, Questing, GoldDiggers, MoneyPit
from classes.helper     import Helper

import coordinates as coords
import time

Helper.init(True)
Helper.requirements()

choice = ""
answers = {"y": True, "ye": True, "yes": True, "n": False, "no": False}
print("If you currently have an active quest that either is minor or has been subcontracted, consider skipping it before starting if you intend to use butter")
while choice not in answers:
    choice = input("Use butter for major quests? y/n: ").lower()

while True:  # main loop
    titans = Adventure.check_titan_status()
    if titans:
        Adventure.kill_titan(titans[0])
    text = Questing.get_quest_text()
    majors = Questing.get_available_majors()
    if majors == 0 and (coords.QUESTING_MINOR_QUEST in text.lower() or coords.QUESTING_NO_QUEST_ACTIVE in text.lower()):
        Questing.questing(force=3)
    else:
        Questing.set_use_majors()
        Questing.questing(butter=answers[choice])
    MoneyPit.pit()
    GoldDiggers.gold_diggers()
    time.sleep(3)