Example #1
0
nav.menu("inventory")
rt = feature.get_rebirth_time()
start_procedure(feature, rt)

while True:
    rt = feature.get_rebirth_time()
    feature.nuke()
    feature.gold_diggers([x for x in range(1, 13)])
    feature.merge_inventory(8)  # merge uneqipped guffs
    spells = feature.check_spells_ready()
    if spells:  # check if any spells are off CD
        feature.reclaim_ngu(True)  # take all magic from magic NGUs
        for spell in spells:
            feature.cast_spell(spell)
        feature.reclaim_bm()
        feature.assign_ngu(feature.get_idle_cap(True), [x for x in range(1, 8)], True)
        feature.toggle_auto_spells()  # retoggle autospells

    if rt.days > 0:  # rebirth is at >24 hours
        print(f"rebirthing at {rt}")  # debug
        feature.nuke()
        feature.spin()
        feature.deactivate_all_diggers()
        feature.ygg(equip=1)  # harvest with equipment set 1
        feature.ygg(eat_all=True)
        feature.level_diggers()  # level all diggers
        feature.do_rebirth()
        time.sleep(3)
        rt = feature.get_rebirth_time()
        start_procedure(feature, rt)
    else:
Example #2
0
nav.menu("inventory")
rt = feature.get_rebirth_time()
start_procedure(feature, rt)

while True:
    rt = feature.get_rebirth_time()
    feature.nuke()
    feature.gold_diggers([x for x in range(1, 13)])
    feature.merge_inventory(8)  # merge uneqipped guffs
    spells = feature.check_spells_ready()
    if spells:  # check if any spells are off CD
        feature.reclaim_ngu(True)  # take all magic from magic NGUs
        for spell in spells:
            feature.cast_spell(spell)
        feature.reclaim_bm()
        feature.assign_ngu(feature.get_idle_cap(True),
                           [x for x in range(1, 8)], True)
        feature.toggle_auto_spells()  # retoggle autospells

    if rt.days > 0:  # rebirth is at >24 hours
        print(f"rebirthing at {rt}")  # debug
        feature.nuke()
        feature.spin()
        feature.deactivate_all_diggers()
        feature.ygg(equip=1)  # harvest with equipment set 1
        feature.ygg(eat_all=True)
        feature.level_diggers()  # level all diggers
        feature.do_rebirth()
        time.sleep(3)
        rt = feature.get_rebirth_time()
        start_procedure(feature, rt)
Example #3
0
        feature.questing(major=True)
    else:
        if not feature.check_pixel_color(*coords.COLOR_QUESTING_USE_MAJOR):
            feature.click(*coords.QUESTING_USE_MAJOR)
        feature.questing(butter=answers[choice])
    feature.reclaim_ngu(magic=True)
    feature.reclaim_ngu()
    feature.pit()
    feature.loadout(3)
    feature.deactivate_all_diggers()
    feature.gold_diggers([9])
    feature.YGG_harvest_activate()
    feature.deactivate_all_diggers()
    feature.gold_diggers([1, 5, 6, 7, 8, 10])
    feature.loadout(4)
    idle_magic = feature.get_idle_cap(2)
    idle_energy = feature.get_idle_cap(1)
    while any([idle_magic, idle_energy]):
        print("Idle Caps not empty")
        idle_energy = feature.get_idle_cap(1)
        if idle_energy != 0:
            print("Reassign NGU Energy")
            feature.assign_ngu(idle_energy, [1, 2, 3, 4, 5, 6, 7])
        idle_magic = feature.get_idle_cap(2)
        if idle_magic != 0:
            print("Reassign NGU Magic")
            feature.assign_ngu(idle_magic, [6], magic=True)
        #            f.blood_magic(7, reverse=True)
        idle_magic = feature.get_idle_cap(2)
        idle_energy = feature.get_idle_cap(1)