Applied Energistics 2 Wireless Terminals

Applied Energistics 2 Wireless Terminals

37M Downloads

Cannot place Powah! reactors with restocking enabled

Mithi83 opened this issue · 1 comments

commented

Powah and ae2wtlib have a weird interaction and I'm not sure which side is to blame. Since it does only happen if the restocking feature from ae2wtlib is enabled I'm coming here first. Feel free to discuss it with Technici4n. I've seen reports of this on our shared discord as well as experiencing it myself in ATM10 (1.21).

How to reproduce:

  • AE2 system with wireless universal terminal and some free storage space
  • Enable "Restock" in the wireless terminal settings
  • Take 36 Reactor (Nitro) into your hotbar
  • Observe the placement helper overlay from Powah!
  • Rightclick to start placing the reactor
  • Observe the error message from Powah! "Not enough Blocks! you need 4 more"
  • Observe that the hotbar only contains 32 reactors now and that 4 reactors have moved into AE2 storage

Disabling the "Restock" setting is a way to circumvent the problem.

€dit: It is important to have the 36 reactors in the hotbar. Splitting them between player inventory and hotbar does not trigger the bug if the hotbar is at 32 reactors or less.

commented

I see basically these options for fixing it:

  1. disable restocking for reactors (using a tag)
  2. make them restock to a full stack instead (tag)
  3. special compat with powah to do the restocking after the reactor is placed and not during placement

I don't really want to do special mod interactions for restock, at least not right now.

Restocking them to 64 would work (I tested it with higher stack size reactors, if it gets restocked to >= 36, it still works), but it is also useless, since you won't have enough reactors in your hand to place another one.

So always disabling restock for the reactor specifically seems like the best option for now.

I have some ideas for restocking everything to max stacksize, tho that will require changes elsewhere
(the reason it restocks to half is so you can pick up some blocks without them cluttering up the inventory)