mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-24 10:39:19 +02:00
added script for autcompletion of mydreamsetup achievement
This commit is contained in:
parent
58508e1d27
commit
8766ffb9a9
1 changed files with 30 additions and 0 deletions
30
mydreamsetup_achievements/mydreamsetup_placefurniture.py
Normal file
30
mydreamsetup_achievements/mydreamsetup_placefurniture.py
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import pyautogui
|
||||
import time
|
||||
|
||||
# Constant delay in seconds
|
||||
DELAY = 0.125
|
||||
DELAY = 0
|
||||
|
||||
# Define the main function to perform the clicks
|
||||
def perform_clicks():
|
||||
while True:
|
||||
# Click on pixel (300, 150)
|
||||
pyautogui.click(300, 150)
|
||||
time.sleep(DELAY)
|
||||
|
||||
# Click on pixel (960, 530)
|
||||
pyautogui.click(960, 530)
|
||||
time.sleep(DELAY)
|
||||
|
||||
# Click on pixel (960, 530) again
|
||||
pyautogui.click(960, 530)
|
||||
time.sleep(DELAY)
|
||||
|
||||
# Click on pixel (960, 555)
|
||||
pyautogui.click(960, 555)
|
||||
time.sleep(DELAY)
|
||||
|
||||
# Start the clicking loop
|
||||
if __name__ == "__main__":
|
||||
time.sleep(5)
|
||||
perform_clicks()
|
||||
Loading…
Add table
Add a link
Reference in a new issue