TeamPneumatic/pnc-repressurized

Some Better Infrastructure-Building Functionality for Drones

Opened this issue · 0 comments

Describe the feature

I love using drones to build bases. I've built some very complex stuff over the last two years. On-demand forward operating bases, 5x5 modular building system where I instruct a drone to build X structure module at Y position, and even a self-expanding sprawling beauty of dirwolf 9x9x9 cubes everywhere all the time. It's been fun. However, these have all been structural only - there's always a point at which I have to manually intervene and that's infrastructure. Every base I build has a lot of repeating pressure infrastructure that I want to automate with drones, but I can't, because drones just aren't capable of performing the actions necessary to set that infrastructure up.

For example, a drone cannot right click a Pressure Tube face with a Pneumatic Wrench to lock it, even though a player can. Nor can a drone right click a Redstone Tube Module with a Pneumatic Wrench to toggle between input/output mode the same way a player can. A drone also cannot right click any Tube Module with a Module Expansion Card to upgrade it in the same way that a player can.

It doesn't matter if the right-click widget is in block or item mode, nor does it matter if the program is being executed by a Programmable Controller or a regular programmable Drone. I've tried every permutation of the above to get this to work, and it seems it isn't supported by PNC.

I've put together a video demonstration of a PC attempting to run the following program (which I also tried with a regular drone):

  1. Empty all items in inventory into chest
  2. Import 1 pressure tube from chest
  3. Place the pressure tube
  4. Import 1 pneumatic wrench from chest
  5. right click all 4 cardinal sides of the pressure tube with the pneumatic wrench
  6. Export the pneumatic wrench to chest
  7. Import 2 Redstone Modules from chest
  8. Place 1 Redstone Module on the Up face of the pressure tube (using right click widget)
  9. Place 1 Redstone Module on the Down face of the pressure tube (using right click widget)
  10. Import 1 pneumatic wrench from chest
  11. Right click the Down face of the Pressure Tube (has Redstone Module) with the Pneumatic Wrench
  12. Export the pneumatic wrench to chest
  13. Import 1 Module Expansion Card from chest
  14. Right click the Up face of the Pressure tube (has Redstone Module) with the Module Expansion card

image

As you may notice from the video, steps 5, 11 and 14 fail.

I think Drones should be capable of performing these actions. In addition, it would be really cool if the Logistics Configurator could be used to cycle between the modes of an upgraded Redstone Module, the same way a Pneumatic Wrench can be used by a player to cycle between input/output modes - that'd be a nice bit of QoL for the player, but it'd also be really awesome if Drones could make use of it as well.

In summary, my proposed changes are:

  • Make Drones perform the same action as a player when right clicking a Pressure Tube with a Pneumatic Wrench
  • Make Drones perform the same action as a player when right clicking a Tube Module with a Pneumatic Wrench
  • Make Drones perform the same action as a player when right clicking a Tube Module with a Module Expansion Card
  • Give the Logistics Configurator new Right-Click functionality on upgraded Redstone Modules, which cycles their redstone mode
  • Make Drones perform the same action as a player when right clicking a Tube Module with a Logistics Configurator

Reasons why it should be considered

This would allow drones to be used for automatic pneumatic infrastructure building, which is not presently possible in the mod.

Additional details

I'm totally ok with this feature suggestion being closed/rejected and am aware it is a little feature-creepy. I feel like I'm the only person who'd ever use it, but at the same time it feels like it really belongs in the mod.