Skip to main content

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

I know this comment is old, but if you can respond, there is no way to make the robots, shortly after the item they were in their hands break, equip another as it is in his inventory?

Since your question doesn't have anything to do with the topic of "Beacon", you should have created a new topic instead of posting it here because other people that might have the same question in mind could then find it under that new topic.  You could have named the topic something like "How do we replace a bot's broken tool?"

Here is an answer to that question.  Below is a set of images that shows how to do this.  The first bot is named "Tree1" whose tasks are to get a Wooden Axe until its hands are full and then to chop down Pine Trees with it.  

It will repeat an empty loop and do nothing until it hears the second bot named "GoLog" shout "GoLog", after which it will repeat a second loop until it hears the third bot named "StopLog" shout "StopLog".  The command "Repeat until hear StopLog" has an arrow pointing down at its end, and that down arrow means that if there is a failure in that loop, the loop will end.  Inside that second loop is a third loop based on the command "Repeat until hands full" which also has a down arrow.  The third loop contains commands for the bot to "Move to Wooden Axe Storage" and "Take from Wooden Axe Storage".   That third loop will only be run if its hands are empty, either because it just started without an Axe or because its Axe just broke.  Once it has an Axe in its hands it will "Find nearest Pine Tree", "Move to Pine Tree", and "Use held item".

The second bot will simply monitor the "Log Storage" and will shout "GoLog" when that storage is not full.  Similarly, the third bot will simply monitor the "Log Storage" and will shout "StopLog" when that storage is full.  These two bots control the first bot so that it will only chop down trees when they are needed.

Three other bots that are not shown are responsible for making the Wooden Axes and putting them into the Wooden Axe Storage until it becomes full.  Those bots use similar commands based on shouts of "GoWoodenAxe" and "StopWoodenAxe".

thx and sorry about the wrong topic question