Skip to main content

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

Snap

13
Posts
1
Topics
1
Following
A member registered Sep 01, 2017

Recent community posts

You're right, I don't know a way) to only do it when it's empty.

But the way "Full" works starts at like 95% full. And everything works pretty well when working with full storage.

"inefficient" is clearly objective. As I consider my set up to be fairly efficient, while using storage containing thousands of logs.

Bot's waiting at an empty log storage to grab a log to make the next thing (like planks) sounds inefficient to me. - But now, perhaps i'm the one missing something. :).

I was about to answer; but then I saw this post:

https://itch.io/t/142150/steambot-loop-example

Which goes into further detail.

Basically the main part you're after is the Until X Storage full > Wait. (Myself I add a move command, just cuz it's cool to have your workers standing in nice spots :D).

Check his post out; lmk if he covers it. The concept is to basically word your conditions backwards and put them inside your main loops.  (This is pretty common practice when programming)

I mean; you're having a bot / bots that's stalling your production. What's his code? And we can trouble shoot it. - if you'd like.

Well, until storage full/empty already exists.

What do you have now? Maybe I can help with the tools we have already.

Yeah, useful tip with filling their inventory. Thanks :).

- Is there a difference in fuel to bot uptime? I.E. Pole vs Log? And if not, is there suppose to be / going to be?

(1 edit)

I'm not against a IF statement, but in your case you just need to put those things in a 'do until hands full' and/or  'do until hands empty'.

I feel like a "Do Until Stuck" would be a far more useful and easier to implement solution to most of the examples of wanting an If statement.

Using Do Until Stuck you could plant apple seeds as long as there were holes for seeds; and then start putting them away. Without trying to craft a balance of bots re-planting apple seeds and bots stowing them.

You could actually use Do Until Stuck to emulate most IF statements you'd want to create. - Give me an example of an IF and i'll show you how :).

(This is actually a practice i made when programming IRL; in highly nested loops sometimes avoiding if statments to reduce processing is good.)

- Clarification: - Do Until Stuck would attempt to do the things inside; until the robot would put that timer over his head. Instead of putting the timer over his head; he'd skip the loop. Edit: It could also be called Do Until Waiting if that makes more sense :).

I feel like coal should be an option in there. Yeah?

Yuhp. Cool. 

I think you read:

"Autonauts_Version_10_Windows_32-bit.zip"

The "10" part goes with the Autonauts_Version, not with the Windows. If you know what i'm sayin ^_^.

Although, I actually haven't tested it; am i wrong?

Autonauts community · Created a new topic Objectives?

Obviously this game is going for an open-ended style. But I was curious; what types of challenges and objectives are planned?

Just staging X technology behind a requirement of X villagers happy (for X amount of time?) would be very compelling.

Multiplayer would be really fun to me. - The earlier you allow for it in code, the better off you are.

The fact that a different game has a multiplayer mod really doesn't apply at all... Don't shut down his reasonable suggestion! It's worth discussing!

You can't automate adding fertilizer ether :(. - Which would certainly mitigate the issues OP brings out.

(1 edit)

I've got a bot set to pick them up -> while hands empty, and wait; within a beacon. - after setting up a few beacons where people are, I set it to do that near a beacon. Then I trade with them; warping people across the map. Until the beacon area is empty, then move them to the next beacon, - all while staying at home; - And if he runs out of power i can send a recharge bot to that particular beacon fairly easily...

I feel like it's kind of an exploit to trade with bots across the map... But it gets tedious with the issues you mentioned :).