
Basically makes a worker to refill the drill, quick scan, dig all clusters, claim treasures from all clusters. I made it for my own game and thought to include it here.
Note that this is for after you have unlocked Era and the second floor of the mine.
Explanation
This script runs as soon as you open the overlay (F4)
NOTE: It’s finetuned with turboexec. If you aren’t using turboexec, then change the wait_time variable to 1.
It uses the magenta group as default (the last one), you can also change that in the script.
Length: 15 lines
group: The group of workers that it will a*sign to perform the work. It’s set to magenta by default but you can change it to anything.
max_index: The maximum cluster it will work on minus 1. Basically, if you want it to mine 9 clusters, then this number should be 8 (which it is by default)
wait_time: The amount of time it will have to perform each command. Remember that this has to be fine-tuned with the worker’s speed. Just put it 2 times the worker’s speed (so at max speed (0.5 seconds) this should be 1 second) to ensure the worker has time to perform the work.
FOR TURBO EXEC: The wait_time is simply multiplied by 100. So 1 second wait time = 100 seconds with turbo exec.
So, have a worker, change the worker’s group (by pressing its color) and put the group you have in the script (magenta by default). Then press F4 and the worker will start:
1. Refill the drill
2. Dispose Clusters & Perform Quick Scan
3. Perform a dig on cluster 1
4. Claim treasures from cluster 1
Repeat until max cluster
Repeat the entire script
No need to have Mine open. Just open it up, play around, and it will do its work.
IF YOU WANT REGULAR SCAN: Just change line 7, option 0 to option 1. That’s all.
Import code
BW1pbmVyAQAAAAZ3YWtldXAAAAAADwAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAVncm91cAhjb25zdGFudAIFAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQECW1heF9pbmRleAhjb25zdGFudAIIAAAAEGxvY2FsLmRvdWJsZS5zZXQIY29uc3RhbnQECXdhaXRfdGltZQhjb25zdGFudAMAAAAAAABZQA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAVpbmRleAhjb25zdGFudAL/////FHdvcmtlcnMuYXNzaWduLmdyb3VwCGNvbnN0YW50BA90YXNrLm1pbmUuZHJpbGwIY29uc3RhbnQCAAAAAA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVncm91cAxnZW5lcmljLndhaXQQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQJd2FpdF90aW1lFHdvcmtlcnMuYXNzaWduLmdyb3VwCGNvbnN0YW50BBJ0YXNrLnNjYW4uYXN0ZXJvaWQIY29uc3RhbnQCAAAAAA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVncm91cAxnZW5lcmljLndhaXQQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQJd2FpdF90aW1lDWxvY2FsLmludC5zZXQIY29uc3RhbnQEBWluZGV4DmFyaXRobWV0aWMuaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBWluZGV4CGNvbnN0YW50BAErCGNvbnN0YW50AgEAAAAUd29ya2Vycy5hc3NpZ24uZ3JvdXAIY29uc3RhbnQEEnRhc2subWluZS5hc3Rlcm9pZA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVpbmRleA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVncm91cAxnZW5lcmljLndhaXQQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQJd2FpdF90aW1lFHdvcmtlcnMuYXNzaWduLmdyb3VwCGNvbnN0YW50BBN0YXNrLmNsYWltLmFzdGVyb2lkDWxvY2FsLmludC5nZXQIY29uc3RhbnQEBWluZGV4DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBWdyb3VwDGdlbmVyaWMud2FpdBBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAl3YWl0X3RpbWUOZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQCCQAAAA5jb21wYXJpc29uLmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVpbmRleAhjb25zdGFudAQBPA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAltYXhfaW5kZXgMZ2VuZXJpYy5nb3RvCGNvbnN0YW50AgQAAAA=
Conclusion
It’s a really simple script that simply gives orders to workers. You don’t really need a group, but I made it to use a group because I wanted to easily change which worker gets the instructions.
The thing is that all of these orders are only performed once, and then you have to wait. So a single worker can perform all of them. It works perfectly for me.
REMEMBER: If you’re NOT using turboexec, then change the wait_time to worker speed * 2 !!
The default values are meant to be for max worker speed AND turbo exec on!
I hope you enjoy the Auto-cluster miner – The Perfect Tower II guide. This is all for now! If you have something to add to this guide or forget to add some information, please let us know via comment! We check each comment manually!
- All The Perfect Tower II Posts List
Leave a Reply