The Perfect Tower II – Auto-Cluster Miner

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 assign 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!


Be the first to comment

Leave a Reply

Your email address will not be published.


*