Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Autonauts

Make and teach robots to automate the world! · By Denki

can someone explain?

A topic by Deleted Account created Jun 19, 2019 Views: 360 Replies: 2
Viewing posts 1 to 2
Deleted post

If you have more than one bot putting objects into the same storage bin, you can often get those bins to contain more that 100% of their capacity.  Often bots are programmed to "Repeat until Cereal Seed Storage is full" with the repeated task being "Add to storage".  The condition "Repeat until … full" can be satisfied at only 95% full.  Similarly, the condition "Repeat until … not full" can be satisfied as soon as the storage drops below 95% full.  Thus, if several bots are doing a loop based on either "Repeat until … full" or "Repeat until … not full" and those loops contain other loops such as "Repeat until hands empty" containing "Add to storage" commands, all of those bots might have checked and found that the storage was below 95% full and then emptied their hands by adding to that storage, causing the storage to exceed 100%, just as shown above.

Deleted post