Closed Lemmmy closed 1 year ago
If my understanding is correct then this is not going to be trivial to fix:
InventoryMethods
is a GenericPeripheral, PrinterPeripheral
is an IPeripheralattach
/detach
events, which allow us to track computers to send 3d_printer_state
events toattach
/detach
events, or a list of computers that are attached to the peripheralThere are a few different approaches to this now:
But if i understand right you can still use IPeripheral
peripherals as targets for inventory methods right (it works with turtles)? So one could call chest.pushItems(Printername,1)
?
I believe so, but not because it's an IPeripheral, but rather because it's an Inventory (Container
in mojmap)
So.. would making printer a container solve/alleviate this issue? Is that even feasible without some bodge code?
It is a container
I guess there's two issues at play here then
The printer is not exposed as a generic inventory