Posted 04 September 2014 - 09:47 PM
It'd be a pretty simple API change. In IComputerAccess, there could be a method called getOtherPeripherals() that returns a Map with keys of the names of those peripherals, and values of all the IPeripheral objects on the same network as the peripheral calling the method. This would enable multiple peripherals to work together and do more elaborate things. For example you could have digital chests that have peripheral functions that let the user link them to each other and share inventory space.
Peripherals attached by cables would just have access to other peripherals attached by the same cable network, not every peripheral visible to the computer. The biggest issue I see is peripherals that are attached at the side of a computer instead of by a network cable. Would these peripherals be able to see all peripherals or would they just not see any?
Anyway I think it's a useful idea
Peripherals attached by cables would just have access to other peripherals attached by the same cable network, not every peripheral visible to the computer. The biggest issue I see is peripherals that are attached at the side of a computer instead of by a network cable. Would these peripherals be able to see all peripherals or would they just not see any?
Anyway I think it's a useful idea