Redstone pros, I'm building an automated diner.

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
U

UnknownDobo

Guest
Hi guys,
As the name says I want to build an automated diner in my SF3 world. My factory has reached a point where items arrive in a refined storage where they are sorted and then travel to numerous other locations for processing. Armour from mob drops hit a repairer before going to a grinder, the grit automatically goes to a smelter and the ingots are stored, or passed on to become blocks if I have enough ingots. Ive collected all the chickens, all the mystical agricultural seeds and am now working on my gardening. Resources are not something I'm low on.

I want to build a diner which has all of the pams harvestcraft recipes available . The easy way would be a Rs grid with patterns for every item and a stock of the ingredients, pretty boring and not really a challenge.
So what I have in mind is a redstone circuit which has several inputs and a certain combination will give you a certain meal. Like a vending machine. Problem is how do I go about doing it? I can get a lot of variables by using tflipflops in sequence but that means cycling through a single input and if you go to far there is no going back.
The mechanics for getting the right ingredients mixed together are mind boggling but should be possible if I can get the input method correct.

Thanks folks
Dobo
 
C

Citron

Guest
I love challenges.

You haven't say how many recipes you wanted, so I went to an analog signal using Item Frame, a Dispense Button, and a non-compact torch selector.

2018-08-24_21.15.13.png

You wanted redstone, here you go.
You're playing in a modpack, so I assume you can change parts to make things lighter. Did this for fun anyway :þ

In the selector, place RS torches only the Dropper's item is needed.

EDIT: new world save, less blocks edition.
 

Attachments

  • New World.zip
    368.2 KB · Views: 78
Last edited:
  • Like
Reactions: UnknownDobo
U

UnknownDobo

Guest
Oooooo, there's definitely something I can use here. According to the harvestcraft wiki there are over 275 recipes.....if I add 2 more analogue selectors in sequence it should give me 512 possible outcomes, if my maths is correct. More than enough.
I'll have to work out a version without observers, sf3 runs on 1.10.2 so doesn't have them; and none of the mods add them. :(
Time to experiment.
Cheers Pal.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
another possibility is to use a mod like CC or OC instead of redstone (assuming that SF has it.). I believe both mods have a touch screen. (CC has for sure, OC I'm not sure about)

Otherwise you could have the user have to name a piece of paper and throw it in a hopper. Then just use sorting pipes to have it go to the correct chest and use a comparator to read where the paper wend (and thus what was written on it).

If SF3 does have computercraft but the touchscreens aren't an option you can replace the item sorter with a simple turtle that reads the item name. Again I'm pretty sure that OC also can do that but I don't know for certain.

The big benefit of this system is that it can be infinity expanded and the redstone logic itself is trivial, the downside of course being that if you go the sorting route that it will get pretty big.
 
C

Citron

Guest
In this setup, you can replace Button's Observers by Repeaters and Dispenser's ones with a Comparator+PulseCircuit. Repeaters are more laggy, tho.
You really want 256+ recipes in a Redstone Circuit? Look how many repeaters we need : 8 by ingredient * recipe amount. And I don't think you will actually use more than 8 food item, honestly :l

BTW, no-observer Edition, and less piston.
 

Attachments

  • New World.zip
    395.9 KB · Views: 94
U

UnknownDobo

Guest
another possibility is to use a mod like CC or OC instead of redstone (assuming that SF has it.). I believe both mods have a touch screen. (CC has for sure, OC I'm not sure about)

Otherwise you could have the user have to name a piece of paper and throw it in a hopper. Then just use sorting pipes to have it go to the correct chest and use a comparator to read where the paper wend (and thus what was written on it).

If SF3 does have computercraft but the touchscreens aren't an option you can replace the item sorter with a simple turtle that reads the item name. Again I'm pretty sure that OC also can do that but I don't know for certain.

The big benefit of this system is that it can be infinity expanded and the redstone logic itself is trivial, the downside of course being that if you go the sorting route that it will get pretty big.

I tried using OC before on something else, it is in SF3. Unfortunatly my LUA is not strong, i tried to make a basic system before and after hours got nowhere. Even when asking for help on the OC forums i couldn't get my head around it. I can use Java and HTML but LUA escapes me, it looks like CC uses the same code. :(

In this setup, you can replace Button's Observers by Repeaters and Dispenser's ones with a Comparator+PulseCircuit. Repeaters are more laggy, tho.
You really want 256+ recipes in a Redstone Circuit? Look how many repeaters we need : 8 by ingredient * recipe amount. And I don't think you will actually use more than 8 food item, honestly :l

BTW, no-observer Edition, and less piston.

Realistically i dont need the food, i have a storage container with 4k crumbstars in it. But being able to set up a diner with an extensive over the top menu is a cool project for me to be working on. Yeah the initial interface will be a pain but the fun is going to come from working out how each item of the recipe will get made once the correct signal is sent.
Being able to input the code for Seed Soup and having the machine make the stock then turn said stock into the soup is the ideal goal. Again, not because i need to do it, but because , like everything in minecraft, it's a project to aim for.

I am now considering that instead of making one huge circuit i might split i up, have drinks in one place, pancakes in another, fast food elsewhere. That way i won't need quite such a huge system.

Edit: I've just built this, it's got 64 outputs, no sorting system yet but that'll come later. I wonder whther i could use a similar comparitor setup to read the strength of the signal coming out of each input once the button is pressed, i have a feeling integrated dynamics does something like that and that's in the mod pack so i might be able to eliminate the logic gate mess with that instead. (I think i'll need 22 logic gates in total otherwise).

upload_2018-8-25_2-49-15.png

upload_2018-8-25_2-49-38.png
 
Last edited: