-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aerial interface with openperipherals #362
Comments
If it can look into chests already (IInventory), it should also be able to look into the 'inventory' of the Aerial Interface..? |
If that's the case, that you are overriding it, maybe you can make it pneumaticMachine on top and openperipherals inventory on the other sides. But maybe that's not possible with the peripheral API... |
@MineMaarten There is a particular problem with ComputerCraft: If multiple Peripheral Providers provide peripherals for the same block, ComputerCraft will only call the one which was registered first. This means, if the Aerial Interface is an IPeripheral or you add an IPeripheral for the Interface, any peripheral added by OpenP will get ignored (as OpenP peripherals are always the last ones being registered). |
It would be because I'm overriding it yes... I'm trying your suggestion jilleJr. Now you can access the pneumaticMachine peripheral from the top/bottom, and I'm not for the sides. Please let me know if you can use the sides to get the inventory now :) |
…op/bottom now. Potential fix for not being able to access the inventory via OpenPeripherals. #362
Ahh sweet @MineMaarten you're my star. Now where can I get this version? Wait 'til it's publicly released, and in that case how much time would that take? |
not sure, when I decide to release :P. I'm thinking of tomorrow, but don't keep me to it :P |
Is it possible to get a small prerelease just to test it? :3 ? |
A new build is on curse (when approved). Have fun, and please report back if it fixes it :) |
As I didn't get any reports back I'm just going to assume it works fine :) |
👍 |
Wow I actually forgot about this, I never tested it 'til now. It does not seem like it fixed it, I still get the pneumaticcraft methods from the peripheral not a chest-like one from openperipherals... I will reply later when I can test further but for now I have to sleep :) EDIT: |
Not sure what I can do anymore about it though. I would think OpenPeripherals could try and look if they can make it side dependent on their side? |
Factorization got a temporary solution to this problem, as said on the other issue
|
That works perfectly for accessing the inventory but is there some way to access the "tank" of xp with computercraft? |
If there isn't then there should be a function for it, on the interface. Something like 'getXPLevel()' and 'getXPAmount()'. Catching my drift? |
i looked on the wiki and did not see any functions specific to the aerial interface. Only the ones related to pressure that all machines have. If i missed something i would be happy to be corrected. |
There is no method for it currently, no. But this is one I can (and will) add :). |
I looked at the wiki for the mod Computronics and don't see how this would help with accessing xp could you please explain. |
It does not help accessing the XP, that's on @MineMaarten's side to do. It would be a temporary solution for accessing both PneumaticCraft and Openperipheral functions from the same side, though (in case that's still an issue). |
Being able to see the content of the player's inventory with the Aerial interface via OpenPeripherals for ComputerCraft...
Idk if I should ask you or the creator of OpenPeripherals but would be nice if you could see the content of the players inventory, and check it out. Like for example would be cool if I could check if my pickaxe is out of power and if so it replaces it with a new one. Or have the terminal glasses display like what I have in my inventory. Fun stuff like that.
So would be great if you made it so we can check whats in the interface with OP or have your own custom functions, and in the case of your own functions you can spice it up with stuff like an event for when you pick up an item or maybe be able to read what's the currently selected slot.
With great computercraft integration comes great oppertunities 👍 :)
The text was updated successfully, but these errors were encountered: