TeamPneumatic / pnc-repressurized

A port of PneumaticCraft to MC1.12+
Other
122 stars 49 forks source link

Expanded Redstone functionality #1138

Open AntonTakk opened 1 year ago

AntonTakk commented 1 year ago

Describe the feature

bring the redstone channels functionality of the redstone pipe modules to other PNC:R devices, like the pressure gauge tube module, compressors, and other machines that connect to the pipe network and can send/receive redstone

Reasons why it should be considered

this would allow cleaner redstone control of some machines and simplify some pipe networks by not having to route a pipe by a machine more than once to deliver a redstone signal that is being carried on the pipe already

Additional details

No response

desht commented 1 year ago

This might be harder than it seems, due to the way modules in general are implemented (would need a way for machines to appear like modules and be part of the module network, which would add a LOT of complexity to the existing code).

I have another idea, though: allow upgraded Redstone Modules to emit their signal in a configurable direction, not just the direction they're facing. Then it would be easy to put an output module on a tube beside a machine and control the machine with it.

I should also note that Redstone Modules in input mode do already take the signal from any tube modules on the same tube section, so you can put a Pressure Gauge on the same tube as a Redstone Module and it will work.