Skip to main content

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

yeebuttny

2
Posts
3
Following
A member registered Nov 14, 2016

Recent community posts

Save/Load don't work for me

(1 edit)

My bots won't exit repeat loop or i'm just doing it wrong?!

Until bot has some tool like axe or shovel everything is OK.

forever {   
 repeat until hands full     { find nearest pine tree ; move to pine tree;  use held item }   
move to general storage
take from general storage
}

tool breaks = infinite loop


edit:

this loop:

forever {   
move to general storage 
take from general storage 
repeat until hands empty     { find nearest pine tree ; move to pine tree;  use held item }   
}

works like previous one should