Automachef

Automachef

View Stats:
Coldie May 30, 2020 @ 12:30am
Any way to premake food?
I'm on level 4 and just got access to the Storage Unit, is there any way to make 5 of each item and then wait for further orders to make more? That way, when orders start coming in I can just grab one from storage.
< >
Showing 1-12 of 12 comments
Pauliemunchkin May 31, 2020 @ 2:34pm 
Set your dispensers to pending order using an order reader and then set a smart robotic arm to collect food from storage. The time it takes the order to be delivered from your storage will be enough to restock the storage.
Eltia Jun 4, 2020 @ 9:33am 
Later on you will gain access to Counter machine that does exactly what you describe.
FirstGeekDanny Jun 7, 2020 @ 4:03pm 
I think what OP is asking is the same as I'd like to know... is there any way to make an order without an order pending... so you can pre-make exactly x amount of orders with a counter...

So you could start a level without any orders and have pre-orders made to spec based on a counter and then the counters will make exactly an order every time it's triggered
Coldie Jun 7, 2020 @ 6:19pm 
I'm further along in the game now and the Counter coupled with an AC-16 will do the trick perfectly. You can't just use the Counter for everything because you'll be dispensing ingredients uncontrollably, and there's no way to dispense just 5 things to start with. So, I have the Counter monitoring the Storage Unit where all my fully prepared items go, hooked up to everything BUT the dispensers, so everything will stay on until 5 items are prepared, at which point all power to the most power-hungry items will be cut.

The AC-16 controls the dispensers themselves. I have it set up to dispense 5 items immediately, and then dispense one more for each new order that comes in.

This way, exactly as many items are dispensed as are needed to get the Storage Unit full again with 5 items, and as soon as that happens the conveyor belt shuts down. Then, when an order comes in it can just get pulled out of the Storage Unit and fulfilled almost immediately, which triggers a new items to be made and the conveyor belt to get fired up again until it's at 5 items again.

Here's the AC-16 code:
cmp V3 1
jeq notFirst
add V0 750 V0
add V3 1 V3
notFirst:
mov 0 V2
add R0R V2 V2
add R0T V2 V2
cmp V2 0
jeq start
loop:
add V0 150 V0
dec V2
cmp V2 0
jne loop
start:
cmp V0 0
jeq off
dec V0
out O0 1
ret
off:
out O0 0
FirstGeekDanny Jun 7, 2020 @ 8:23pm 
Okay, I'm trying to figure out how the AC-16 computer works and the examples don't even work on the machine... is there an AC-16 for noobs guide somewhere?
FirstGeekDanny Jun 8, 2020 @ 3:45am 
Originally posted by Panterich:
https://www.automachef.com/downloads-docs/

I've read the docs... and after copying example 4 to the machine... it didn't work...

So some other explanation of how things work would be nice...
Panterich Jun 8, 2020 @ 3:51am 
I just got to that level you get your first computer and managed to solve it 100% without any. Haven`t tested it nor read the manual, so no help from me on that yet. Will get back to your question later if it stays relevant and i have something to say.
Coldie Jun 8, 2020 @ 7:36pm 
Originally posted by FirstGeekDanny:
Okay, I'm trying to figure out how the AC-16 computer works and the examples don't even work on the machine... is there an AC-16 for noobs guide somewhere?
Just use the visual editor that it provides. No need to look at code!
Panterich Jun 16, 2020 @ 8:47am 
Originally posted by FirstGeekDanny:
Originally posted by Panterich:
https://www.automachef.com/downloads-docs/

I've read the docs... and after copying example 4 to the machine... it didn't work...

So some other explanation of how things work would be nice...
I (still..) haven`t played with it in the actual game, but i have read the manual just now and example 4 seems legit. However that code will not work at all if more than 1 identical order arrive at the same time. It also looks to be designed for a dispensers set to 3 seconds - so a basic dispenser won`t work for more than 1 order.

How exactly "didn`t it work" for you? DId you take it from manual in english or another language?
FirstGeekDanny Jun 16, 2020 @ 5:12pm 
I setup the machine as the example described, copied the code line for line and when I started it up it started making food without orders...
Panterich Jun 16, 2020 @ 6:17pm 
The description of that example says "It also prewarms the dispensers for 2 seconds on startup". And that is exactly what it does. If your dispensers are setup for 2 seconds, they will produce an ingredient right away. If you set them to 3 seconds (like what this example is designed for) you will get your first ingrediens upon receiving the order.

I have just tested it out in game and haven`t found any problems.
< >
Showing 1-12 of 12 comments
Per page: 1530 50