Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Jalopy43

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by Jalopy43

  1. it says on the wiki that the side back is what is used to access the robot's inventory with the inventory controller upgrade, but when i try to use the side i get an unsupported side error. i have an item in the first slot of the inventory and it seems to work using other sides. I was just wondering if there was a different way to get the robot's inventory info or if that isn't possible.

     

    my code is as follows:

     

    local robot = require("robot")
    local sides = require("sides")
    local component = require("component")
    local inv = component.inventory_controller
    local term = require("term")
    term.clear()

    print(inv.getStackInSlot(sides.back, 1)

     

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.