Robo-cafe

Discussion in 'ComputerCraft Programming' started by sk89q, Sep 22, 2013.

  1. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    Here's the code for the Robo-Cafe at our base, which lets you order food from a stand.



    Code here: https://gist.github.com/sk89q/397c7597f9afe6e18bad

    It uses:
    • ComputerCraft for the logic and the screen
    • MiscPeripherals for text to speech, chat detection, AE interaction
    • ThaumCraft for golems
    • Applied Energistics for crafting, item networking
    • OpenCCSensors for player detection
    • BiblioCraft for the table (with an inventory)
    • UsefulFoods for the foods
    • MineFactory Reloaded for Liquicrafters (to make milk bottles)
    NOTE: A pressure plate activates the computer (for efficiency reasons).
     
  2. ghostpotato

    ghostpotato The Crimson King

    Joined:
    Jan 27, 2013
    Messages:
    92
    Likes Received:
    6
    This is awesome SK. I would love to use this at my bar, and eventually at my bar at the bazaar.
    With your permission OFC
     
  3. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    Use it for whatever.
     
  4. MadDionysus

    MadDionysus New Member

    Joined:
    Aug 2, 2013
    Messages:
    26
    Likes Received:
    1
    sk,
    any way you could post the code you use for your ME monitors you use? I'd like to do something similar, but I'm having issues with my limited coding knowledge.
    Thanks
     
  5. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    I'll try to post it tomorrow.
     
  6. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670
    See that awning I MADE THAT!
     
    punk_and_goth likes this.
  7. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
    I was trying to list items in an AE network using a ME Bridge, but I can't figure out how they incorporate data values into all that..

    I made a program to spit out all my items and amounts to a file, and I don't see anything separated by a colon in the list.

    I could find things out manually... by finding the amount of a certain item that I have, and searching for it in the text file. Whichever item ID has that amount is probably it... But that's annoying and time consuming. There must be some method to RichardG's way of spitting item IDs...

    Edit: It's tomorrow!~ You should post the code c:
     
  8. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    TOMORROW again
     
  9. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
    at least tell us how data values work on it xD
     
  10. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
  11. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
  12. MadDionysus

    MadDionysus New Member

    Joined:
    Aug 2, 2013
    Messages:
    26
    Likes Received:
    1
    Thanks SK. Hopefully I can figure out how to tailor it to what I want. :D