AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

Ability to insert and remove upgrades from Storage Drawers

Open Lupus590 opened this issue 3 years ago • 2 comments

Describe your idea

I would like to be able to use a computer to insert and remove upgrades from drawers.

Use Case: I'm investigating making a mod pack where turtles are the only things allowed on a server, which means that players are not able to configure any modded blocks.

Describe alternatives you've considered if you've any

There is a mod that add's crafting recipes to upgrade drawers, but it doesn't support all upgrades (specifically the one stack limit upgrade) and I don't know if it will allow removal of any upgrades.

Additional context

No response

Linked Issues

No response

Lupus590 avatar Nov 22 '21 11:11 Lupus590

Hm ... did you tried useOnBlock from weak automata core?

SirEdvin avatar Nov 22 '21 11:11 SirEdvin

I forgot about the automata core, will test. But that also won't fix the "can't remove" issue.

Edit: useOnBlock from the weak automata core successfully installs the upgrade. Still no way to remove them I believe.

Edit 2: The only way to remove that I know of is to open the drawer's GUI, which turtles can't do. I believe that you already change them as peripherals, so an extra couple of methods to add and remove upgrades doesn't seem like too much extra effort. That said, the upgrades have a bit of logic to them on install, the one stack limit upgrade won't install if it would cause the drawer to go overcapacity. The weak automata core does respect this limit though, it doesn't install the one stack limit upgrade in such a case.

Lupus590 avatar Nov 22 '21 12:11 Lupus590