dont spam the drop-log!
This commit is contained in:
@@ -56,21 +56,22 @@ class PickIt:
|
||||
mouse.click(button="left")
|
||||
time.sleep(0.5)
|
||||
|
||||
if self._config.general["send_drops_to_discord"]:
|
||||
send_discord_thread = threading.Thread(target=send_discord, args=(closest_item.name,))
|
||||
send_discord_thread.daemon = True
|
||||
send_discord_thread.start()
|
||||
if found_items and ("rune_" in closest_item.name or "tt_" in closest_item.name):
|
||||
if self._config.general["send_drops_to_discord"]:
|
||||
send_discord_thread = threading.Thread(target=send_discord, args=(closest_item.name,))
|
||||
send_discord_thread.daemon = True
|
||||
send_discord_thread.start()
|
||||
|
||||
if self._config.general["custom_discord_hook"] != "":
|
||||
send_discord_thread = threading.Thread(target=send_discord, args=(closest_item.name, self._config.general["custom_discord_hook"]))
|
||||
send_discord_thread.daemon = True
|
||||
send_discord_thread.start()
|
||||
if self._config.general["custom_discord_hook"] != "":
|
||||
send_discord_thread = threading.Thread(target=send_discord, args=(closest_item.name, self._config.general["custom_discord_hook"]))
|
||||
send_discord_thread.daemon = True
|
||||
send_discord_thread.start()
|
||||
|
||||
if self._ui_manager.is_overburdened():
|
||||
Logger.warning("Inventory full, skipping pickit!")
|
||||
# TODO: should go back to town and stash stuff then go back to picking up more stuff
|
||||
# but sm states are not fine enough for such a routine right now...
|
||||
break
|
||||
if self._ui_manager.is_overburdened():
|
||||
Logger.warning("Inventory full, skipping pickit!")
|
||||
# TODO: should go back to town and stash stuff then go back to picking up more stuff
|
||||
# but sm states are not fine enough for such a routine right now...
|
||||
break
|
||||
else:
|
||||
char.move((x_m, y_m))
|
||||
time.sleep(0.1)
|
||||
|
||||
Reference in New Issue
Block a user