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

Thermal expansion machines

Question

Hi everyone

I'm new on the forum and i've just started to learn how to use OpenComputer.

Is there any drivers for thermal expansion machines ? When I place an adapter next to a pulverizer, i only see an energy_device on the computer.

Is there any way to manage the input/output of the machine ?

Thanks fo your help

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Ok, did some testing:

You can see whats going on in a TE machine by using an adapter with an inventory controller inside, but you can not push items in/pull items out.

For i/o interaction you have to use an robot equipped with an inventory controller. Then you can transfer items in and out of the machine using the robots inventory as a buffer.

local component = require'component'
local inv = component.inventory_controller
local side = x -- #side where your inventory is attached

-- #i/o stuff
inv.suckFromSlot(side, slot, itemCount)
inv.dropIntoSlot(side, slot, itemCount)

-- #inventory checking
inv.getStackInSlot(side, slot)
inv.getInventorySize(side)

Btw, the machine's side facing the robot/adapter must be set to the grey i/o configuration, in order to get access to all slots of the machine.

Share this post


Link to post
Share on other sites
  • 0

You might be able to manage i/o with an adapter. Just place the adapter next to the machine and put an invetory controller inside the adapter. With this you should be able to interact with the item slots in the machine. You still can not access the mashine directly, you call functions on the controller. I‘ll try it later and let you know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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