Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Autonauts

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

How do i make a worker pick an axe after the one he has break?

A topic by Cibernero created Jul 19, 2017 Views: 951 Replies: 6
Viewing posts 1 to 3

I made a atomatic wood farm, but every time a robot chops a tree he picks a new axe and then chops another tree and so one, but i want to teach them so they use the axe until it brakes and then take a new axe. How can i do it? Help me please.

I don't know if its possible to set it up that way  easily wihtout setting the exact number of trees that the bot has to cut before picking up a new axe. Which that would take a lot of work. But it is the only way of doing that right now that I know of.  

Developer

One way to do this is to firstly teach the workerbot how to make an axe, then create a Repeat loop to chop trees until hands are empty - and then wrap that in a Forever loop; this means the bot makes a new axe when its hands are empty (ie: axe is broken).

I never thought of that lol

(2 edits)

When you set a repeat it should do somthing that cases the actions like the forever one. because i press repeat and nothing happend

You have to drag the repeat out into the table then put actions into the repeat. You dont just click it anymore

thx