commit 32472b2c725fed1f65d6a0c3a3bd2fccd0a29aa5
parent b8b6b9b07bafd0bc70683a3110fc6dce1c24da91
Author: Peter <peter@minskio.co.uk>
Date: Mon, 16 Nov 2026 15:25:58 +0000
Let's use that new function some more
Diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/inv-1-to-2.sh b/inv-1-to-2.sh
@@ -1,9 +1,5 @@
#!/usr/bin/env bash
-# variables
-inventory_1=(1745 793 22 20)
-inventory_2=(1787 796 24 14)
-
# include functions
source "$(dirname "${BASH_SOURCE[0]}")/functions.sh"
@@ -27,12 +23,10 @@ sleep 3
for ((i=count; i>0; i--)); do
printf '\r - Running script %d times' "$i"
- move_mouse "${inventory_1[@]}" # inventory 1
- msleep 100 150
+ inventory_slot 1
left_click
msleep 100 150
- move_mouse "${inventory_2[@]}" # inventory 2
- msleep 100 150
+ inventory_slot 2
left_click
done