Omega Crafter – Useful Codes

Sorting Bot

So its not the full script since its over 100 lines, but basically its try this if it fails do this over and over for every single item you want stored away. At the end we put in a fail safe if something didnt get sorted with a multi chest.

Click to enlarge…

Collection Bot for Overcrowded Mines

Since it can often and quickly happen that several mines produce so much that the mining robots can’t keep up with stowing the ores, I have my own collector bot that collects the ores.

However, since the target container can fill up very quickly, especially overnight, here is an example of how you can prevent your containers from filling up and the collector from continuing to work.

If the attempt to place the ore in container 1 fails, it places it in container 2. You can extend this as you wish.

Chef Bot

It’s the code to have a single chef cooking all your food.

Cooker Bot

He checks if there is an item ready to pick up. If not he checks if the station is already cooking something and in this case waits until it’s done to store it.

If not then he adds products to start cooking and then immediately moves to the next station and another meal, doesn’t waste time at the station which just started cooking. Handles 3 meals and reports if the output chest is full.

Volodymyr Azimoff
About Volodymyr Azimoff 13578 Articles
I love games and I live games. Video games are my passion, my hobby and my job. My experience with games started back in 1994 with the Metal Mutant game on ZX Spectrum computer. And since then, I’ve been playing on anything from consoles, to mobile devices. My first official job in the game industry started back in 2005, and I'm still doing what I love to do.

Be the first to comment

Leave a Reply

Your email address will not be published.