Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Autonauts

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

help

A topic by stealth_squirrel created Aug 11, 2017 Views: 758 Replies: 5
Viewing posts 1 to 6

how do you make the cut trees but when the axe breakes they make another one ive tried almost everything and every time he just cuts down one tree and then the command says to make an axe idk how to make him cut until it breaks

try having one bot making axes and putting the axes into a storage box, then tell the wood chopper to chop 10 trees and have the bot try and pull out a new axe from the storage box where the axes are being stored. If the bot already has an axe, it will just ignore the 'grab a new axe' command and keep on chopping while if its axe broke then the bot will grab a new axe out of the storage.

i thought  it is better when the cutter bot itself build the axe and cut trees until hands empty

(+1)

Storing tools is not a great idea, if you want to make them making their own equipment use a code like this.


but i prefering an repeat inside the "repeat until hands empty

"

repeat until log storage is not full - cause if the log storage is nearly full and the tool broke the cutter will cut 1000 (i guess the durability of metal is 1000) trees more.

thank you!! :)