Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Forever
-Go till storage is full
--Go till hands empty
---Find and chop trees
--Grab axe once hands empty
So basically your two repeats are backwards for it to work forever.

If you do it that way, bot will chop logs until axe breaks even if storage is full.  Right now, it will chop one tree each time storage empties and two other bots are basically always immediately putting a log in storage to fill it back up again.  Only, once the axe breaks - unless storage is full, it will not replace it with a new one.