Valves not working for power
SpaceToad opened this issue ยท 3 comments
I can't lock power request through valves. Regression from previous pre-releases.
Additional note - it's written as requiring an item as input. Doesn't make any sense.
Further investigation shows that the valves are not states. This makes it possible to close the whole pipe while just iterating over various valves directions. Changes that needs to happen:
- make valves "passive actions" or states.
- no parameter should be accepted and mean that the pipe is closed on all sides.
@SpaceToad - I don't think moving everything to /passive/ actions is that good an idea. Much rather, I'd like to see the active APIs be used and no exceptions be made to it so that there is a clear split of responsibilities (and we are sure other modders can do their own gates like that!)