Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm running into a problem with trying to automate the process between planting cereal and putting away the straw and seeds. First, the bot set to plant the cereal seeds only does so on three tiles in a line, leaving the vast majority of the soil unused. It's on a basic "get seeds from storage until hands are full, find soil and plant seeds until hands are empty" loop.

Second, bots who are responsible for processing the cereal into its products keep ending up with the wrong object in their hands. Here is the command order I'm using (broken down into general steps for convenience):

-Move to storage (cereal)
-Take from storage (cereal)
-Move to threshing machine
-Add (cereal) to threshing machine

-Find nearest cereal seed
-Move to cereal seed
-Pick up cereal seed
-Find nearest cereal seed
-Move to cereal seed
-Pick up cereal seed
-Move to storage (cereal seeds)
-Add to general storage (cereal seeds)
-Move to storage (cereal seeds)
-Add to storage (cereal seeds)

-Find nearest straw
-Move to straw
-Pick up straw
-Find nearest straw
-Move to straw
-Pick up straw
-Move to storage (straw)
-Add to storage (straw)
-Move to storage (straw)
-Add to storage (straw)

I have eight bots running with this code, so watching them go through the process and keeping track of one bot in particular is very difficult. The issue is that I frequently find bots stalled/waiting at a storage bin, trying to add the wrong item to the bin (almost always trying to put cereal into the cereal seeds storage). There's a few ways I can think of for this to go wrong (bot tries to add to a thresher that's already running, trying to grab an item at the same time as another bot, taking from a storage that's empty), but none of them seem to apply here (each bot has it's own thresher, and all of the storages have plenty in them at all times).

Currently, my solution is just to check for bots waiting at the storage bins and trade their items to my inventory, which puts them onto the next step. This isn't really efficient, though, and I was wondering if there was some obvious fix I was missing or an error in my commands.

On an unrelated note, the people names switch around and reset when a save is loaded. So if a player were to, hypothetically, spend a while finding every people on the map and house them alphabetically, the next time the game was loaded the names would all be different.

Thank you for all your work in making this amazing game even better!

(+1)

We've made a number of fixes related to Crops in Version 6 (which should be out some time today) which will help the problem of the bots not planting seeds. Hopefully it will also resolve the issue of the bots stalling. Oh and it will also fix the Folk names not saving :)

Thanks!

(1 edit)

My robots still place cereal seeds everywhere.

Looks like sometimes 3 seeds are generated instead of 2, and they hop into their hands, and... other magic stuff happens.

Possibly those robots that plant seeds sometimes can't plant them in time because of recharge, and then they drop their seeds they couldn't plant on the ground.