SirEdvin / UnlimitedPeripheralWorks

Extreme compact CC:R and CC:T mod that tries to make everything, that even possible a peripheral
MIT License
8 stars 3 forks source link

[1.18.2] AE2 integration, weird CPU Name #10

Closed MSandro closed 1 year ago

MSandro commented 1 year ago

I've tried to figure out how to set a specific CPU for scheduleCrafting, but was not able to do. Now I've found the weird name. image in addition I would like to suggest a craftingOutput Variable for CPUs if it is busy. I would like to create a crafting request script, and it would be really useful to know if a request for the item is already being processed.

MSandro commented 1 year ago

any help? even if I save the name in a variable, and provide the exact name string to scheduleCrafting, it returns

false
nil

can anyoine confirm this issue?

SirEdvin commented 1 year ago

This seems as a simple issues to fix, I will try to fix this in this week.

MSandro commented 1 year ago

thank you very much. Thanks for your good work, I like the mod very much.

SirEdvin commented 1 year ago

So ... this will be fixed with next release. You will get proper CPU name and specifing this name as parameter in scheduleCrafing also works fine. Also, there is new method getAvailableCraftings will be in place, that allow you to inspect current active craftings in your system.

MSandro commented 1 year ago

Great, thank you very much