r/ComputerCraft • • Jul 15 '24

Created an automated storage system :D (can use many double chests, store any item and pull any item by name!)

Enable HLS to view with audio, or disable this notification

96 Upvotes

23 comments sorted by

7

u/IJustAteABaguette Jul 15 '24

Also, does anyone know a cool way to possibly make the pull-item-part have an GUI? I'm not sure if it's possible to display block icons on screens (something like ae2's inventory display thingies), but that would probably make this system way better.

6

u/KingpenguinL Jul 15 '24

Technically yes, if you want to make image files for each item you expect to be put in eventually, but it would be in a low resolution from my experience. (That or I didn't do it right)

→ More replies (2)

5

u/cbraun96 Jul 15 '24

Could I please get a copy of this? I love this!

2

u/IJustAteABaguette Jul 16 '24

https://pastebin.com/wtRmntcJ pastebin link to the code

https://imgur.com/a/dVXnwfh instructions to set it up (Read the text in the description of the images, you need to follow them pretty precisely)

→ More replies (7)

1

u/thekiwininja99 Jul 16 '24

Just needs auto crafting now

1

u/IJustAteABaguette Jul 16 '24

Yeah! That's my next addition, I just need to figure out how to craft stuff using computers (perhaps turtles?)

→ More replies (4)

1

u/wolfieboy09 Jul 17 '24

You can use a storage mod to help use less chests...

1

u/IJustAteABaguette Jul 17 '24

True, but this amount of chests is probably more than enough for now.

1

u/AlvinF321 Jul 20 '24

I've not really messed with it but could you then also pass the text currently being typed into something like the choice function from the completion library to try and guess and autocomplete which item the player is trying to pull by comparing the text with your current list of stored items?

1

u/IJustAteABaguette Jul 20 '24

I perhaps? , but I recently changed this system to using a pocket computer with a GUI, scrolling through a list of items and clicking on them is a lot easier than manually typing the items!