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

TheTrue_DV

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Basically... I want to have my robot hover over to a chest, count how many occupied slots there are and do something based on that count. What I tried was: Assuming that "ic" is "component.inventory_controller" `ic.getAllStacks(sides.front)` I was assuming that would offer something along the lines of 'ic.getAllStacks(sides.front).slotsOccupied() which would return what I was looking for... I found 'ic.getAllStacks(sides.front).count()' which I thought would do exactly what I wanted! Then I found out that did the exact same thing as 'ic.getInventorySize()
  2. It's might be complaining about "term" not being recognised? You'd have to do "local term = require("term")" I believe
×
×
  • Create New...

Important Information

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